Laravel Community Tools by Tighten

Recent tricks

459 tricks
Learn how to power your Laravel application so that you are using ajax alongside Laravel pagination to fetch new content ( posts or whatever entity you need to display ), without refreshing the page. Video tutorial -> https://www.youtube.com/watch?v=3cmbkEQG8is
Novica89 10 years ago 10364
When you have a model with unique value column and tries seeder your table using a big amout, sometimes the QueryException is thrown, because Faker doesn't know what values was previously generated and the number of combinations is limited.
lcdss 10 years ago 16482
simple paginate using table from database and displaying in blade
PunnaRao 10 years ago 7996
5.0
storing cache date using file driver in 5.1
PunnaRao 10 years ago 6847
5.0
gmail sending using smtp in laravel
PunnaRao 10 years ago 7058
I made a filter for Laravel 5.0 , you can redirect non-www URLs to www URL and you don't need to write any difficult htaccess codes . Just put the filter in routes.php and use it for any Routes you want them to be with WWW . This snipped code is made by www.larabook.ir
hpakdaman 10 years ago 16918
Encryption
test1 10 years ago 7461
1. create two route files routes.web.php and routes.api.php. 2. edit the RouteServiceProvider.php file to look like the code below: (Note: you can add as many routes as you want, just follow the same logic.)
Mahmoudz 10 years ago 43021
5.0
Get a List of Recent queries that have been run on your app
unicodevel... 10 years ago 7338