Posts by Rogério Adris • 36 points
2 posts
-
0
votes3
answers1872
viewsA: Error running Composer update while trying to install package scafold in Laravel 5.1
Seems to be a connection error. Try removing the vendor folder and the Composer.lock file and then install again.
-
2
votes2
answers253
viewsA: Get counter of objects associated with Laravel 5.x
Your model should look like this. class Projeto extends Model { public function pecas() { # Veja mais detalhes no manual # http://laravel.com/docs/master/eloquent-relationships#one-to-many return…