i implement custom pivot like this http://laravel.com/docs/master/eloquent#working-with-pivot-tables...
laravel4 app/models/User.php not exist namespace so php artisan tinker > (new User); is worked l...
http://laravel.com/api/master/Illuminate/Database/Eloquent/Model.html "where()" method is...
i am using laravel 5.0 develop version class User extends Model implements UserContract, RemindableC...
http://laravel.com/docs/eloquent class User extends Eloquent { public function phone(){ ret...
TerrePorter said: #I found autoload solution i add composer.json "app" string "clas...
TerrePorter said: You could add in an alias in the app.php... 'aliases' => [ 'User' => '...
usm4n said: When you call the where method on an Eloquent/Model instance the Model class delegates...
raimckenzie said: You need to add ->get(), ->first(), etc. at the end. my question is "...
The Laravel portal for problem solving, knowledge sharing and community building.
The community