Support the ongoing development of Laravel.io →

dbwhddn10

Joined 25 Aug 2014

Statistics

Threads 7
Replies 5
Solutions 1
Articles 0
posted 9 years ago

how can i fire event in pivot model

i implement custom pivot like this http://laravel.com/docs/master/eloquent#working-with-pivot-tables...

0 Likes
0 Replies
posted 9 years ago

How Can I Use User class without namespace like laravel4 in laravel5(develop branch)

laravel4 app/models/User.php not exist namespace so php artisan tinker > (new User); is worked l...

0 Likes
6 Replies
Solved
posted 9 years ago

where is "where" method in Eloquent(Model) Class

http://laravel.com/api/master/Illuminate/Database/Eloquent/Model.html "where()" method is...

0 Likes
5 Replies
Solved
posted 9 years ago

simple relationship sql query

i am using laravel 5.0 develop version class User extends Model implements UserContract, RemindableC...

0 Likes
0 Replies
posted 9 years ago

join table when hasOne relationship

http://laravel.com/docs/eloquent class User extends Eloquent { public function phone(){ ret...

0 Likes
1 Replies
Solved
replied 9 years ago

How Can I Use User class without namespace like laravel4 in laravel5(develop branch)

TerrePorter said: #I found autoload solution i add composer.json "app" string "clas...

0 Likes
replied 9 years ago

How Can I Use User class without namespace like laravel4 in laravel5(develop branch)

TerrePorter said: You could add in an alias in the app.php... 'aliases' => [ 'User' => '...

0 Likes
Solved
replied 9 years ago

where is "where" method in Eloquent(Model) Class

usm4n said: When you call the where method on an Eloquent/Model instance the Model class delegates...

0 Likes
replied 9 years ago

where is "where" method in Eloquent(Model) Class

raimckenzie said: You need to add ->get(), ->first(), etc. at the end. my question is "...

0 Likes
replied 9 years ago
0 Likes

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.