Support the ongoing development of Laravel.io →
posted 10 years ago

Help with relation query

Hello, My query is returning the wrong product. My Order.php has a relation of public function items...

0 Likes
2 Replies
Solved
posted 10 years ago

Unhash password and API grasping problems?

How do i unhash a password I want to display the password in a textfield inside my app? I uses Hash:...

0 Likes
2 Replies
Solved

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

These are my models User public function posts() { return $this->hasMany('Post'); } P...

0 Likes
5 Replies
Solved

Is there a reason for using URL Helpers?

Lets start with three examples: <link rel="stylesheet" href="assets/css/app.css&qu...

0 Likes
3 Replies
Solved
posted 10 years ago

Cant see why my class wont work: Error: Class 'Acme\Something\Awesome' not found

Pastbin is always easier, see http://laravel.io/bin/dm73 For some reason it doesnt find the class, i...

0 Likes
4 Replies
Solved

Combining two query (WhereIn with Where) x 2

$userCollection = DB::table('collections') ->whereIn('user_id', array())...

0 Likes
3 Replies
Solved
posted 10 years ago

Modify files from php

Is there any fast method to change values into files like language files (php) or json files?

0 Likes
2 Replies
Solved

Cannot find records using ->where() and booleans

Hi, I'm having a problem. Using migrations I create the following field: $table->boolean('is_clos...

0 Likes
1 Replies
Solved

Show only 'courses' that 'user' has created

Hey, I'm trying to build a query where I want only courses that belong to a user_id are displayed. H...

0 Likes
4 Replies
Solved

Issues with Eager Load With Limit & Variable

The following would give me collection without Items. $collectionList = Collection::where('user_id',...

0 Likes
7 Replies
Solved

Visible, Hidden, Fillable & Guarded with Foreign Keys

Hi, First question: What options should foreign keys use? Guarded? I have an Article object that has...

0 Likes
3 Replies
Solved

Migrations from 3rd party packages

Hi, What would be the best method to set up a script/command to run through general migrations as we...

0 Likes
2 Replies
Solved

Store data in memcached

Hi, Q1, Is there anyway i can see how Memcache works? with laravel? What does Laravel set in the Key...

0 Likes
3 Replies
Solved

jquery mobile simple form route does not work

I have this view code (hello.php) <!DOCTYPE html> <html> <head> <meta name=&quo...

0 Likes
3 Replies
Solved

SQLSTATE[HY000] [2002] Connection refused

i have moved my website from hosting to server .. i modified the database.php with the new infos .....

0 Likes
4 Replies
Solved

Limit Relationships in Eloquent

Hello All, I have a self project. I am trying to create an application that can track my financial s...

0 Likes
1 Replies
Solved
posted 10 years ago

L 4.1.21 - query whereIn array not working?

I've tried 3 different versions but without any success. What am I doing wrong? Controller $user...

0 Likes
2 Replies
Solved

hasManyThough return wrong ID

Hi Every body, my code is here http://laravel.io/bin/NmmV Categoria -> Fisrt Model, parent of the...

0 Likes
2 Replies
Solved
posted 10 years ago

I'm getting 'ReflectionException Class User does not exist' when going to xxxxx.dev/users route.

Hi, I'm fairly new to Laravel and I'm trying to use efficiently/authority controller package. So I f...

0 Likes
4 Replies
Solved

Is there a way to safely remove custom artisan commands?

I created a "test" class for my artisan command, but now I want to delete it completely,...

0 Likes
1 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.