Laravel Community Tools by Tighten

Tag "4.2" tricks

24 tricks
One file for all routes is bad idea. For simplify this, look this snippets.
sr2ds 7 years ago 7525
4.2
Instead of always having to include the button to open the modal, create the modal and all its contents, you can dynamically create the modal and load the route of the content you want to open in a very simple way. This allows you to still display the ever updated data without much effort in editing cases.
sr2ds 7 years ago 14734
Laravel Installation, how to laravel latest version
dave 8 years ago 6568
Laravel Load More Data on Page Scroll – Laravel 5
dave 8 years ago 8987
View composers are nice but they have some problems accocsiated with them. 1- you never know where the data is coming from when you look at your html 2- They offer no easy way of caching the result. You can use the "widget pattern" to have much better performance and structure in your apps + many more bonuses ! :)
imanghafoo... 8 years ago 6423
It's a bit tricky to figure out exactly where to put a breakpoint to quickly check your final sql statement before execution. This is for 4.2 but may be similar in
sgelbart 9 years ago 12021
I want to use function attempt for login authenticate but i don't want send variable password * If i run code this it will show error "Undefined index: password" and this below vendor\laravel\framework\src\Illuminate\Auth\EloquentUserProvider.php public function validateCredentials(UserInterface $user, array $credentials) { $plain = $credentials['password']; return $this->hasher->check($plain, $user->getAuthPassword()); How can i do that . pls thank you
userhuman 9 years ago 9133
Hi, I have 3 tables USER, ALBUMS, PHOTOS USER has one to many relation with ALBUMS, ALBUMS has one to many relation with photos. My relation mapping as follows
ajeeeunni 10 years ago 13437
You can see SQL Query of your DB table on Laravel App, by Event listener.
ahaneef29 10 years ago 8216