Laravel video tutorial references

This is a collection of references for our upcoming Laravel 5.2 video tutorial for beginner!

Bootstrap 3 comments thread layout

http://bootsnipp.com/snippets/featured/comment-posts-layout

Laravel 5 custom helper

http://stackoverflow.com/a/32772686

Eloquent get HasMany realtionship last record

http://alexkaye.co.uk/2015/01/04/eloquent-get-first-last-related-row/

Eloquent HasMany count efficiently

https://softonsofa.com/tweaking-eloquent-relations-how-to-get-hasmany-relation-count-efficiently/

Eloquent relationship

https://daylerees.com/codebright-eloquent-relationships/

Eloquent relationship confusion?

http://laravel-tricks.com/tricks/correctly-using-eloquent-relationships

Eloquent cheat sheet

https://gist.github.com/msurguy/5654552

https://gist.github.com/hassansin/2fb9d72b51860d454316

Laravel Tips Tricks

http://laraveltnt.com/

Laravel Collection Tricks

http://codebyjeff.com/blog/2015/05/stupid-collection-tricks-in-laravel

Reduce repetitive code using Trait

http://stackoverflow.com/a/30365349/417899

Laravel Design Pattern using Service Class and Repository

http://stackoverflow.com/a/18992000

http://lukefair.com/create-a-mailer-service-with-laravel-and-a-basic-working-example-of-dependency-injection/

http://stackoverflow.com/a/37015564

Laravel Eloquent tips tricks

http://goodheads.io/2015/11/06/laravel-eloquent-for-days-crud-mass-assignment-aggregates-eager-loading/

http://laragems.com/post/eloquent-cheat-sheet

http://laraveltnt.com/conditional-eloquent-clauses/#more-120

http://terryharvey.co.uk/5-laravel-eloquent-tips-tricks/

http://valentinvannay.com/2016/03/23/laravel-5-useful-tips-notes/

http://webnifier.com/laravel-eloquent-tips-and-tricks/

https://www.ibm.com/developerworks/library/os-php-7oohabits/