Laravel Community Tools by Tighten

Popular tricks

458 tricks
Laravel is a web application framework with expressive, elegant syntax.The PHP Framework for Web Artisans,freeing you to create without sweating the small things. CRUD Operation With Server Side.
pakainfo-c... 5 years ago 5948
Dialog to Confirm before delete
jtmaingi 7 years ago 5897
This is how you get the list of databases using Laravel.
harlekoy 8 years ago 5776
As I will cover this Post with live Working example to develop laravel 5.8 get validation errors ajax, so the this.validate is not a function react native is used for this example is following below. https://www.pakainfo.com/validate-is-not-a-function-in-laravel/
pakainfo-c... 5 years ago 5567
How to disable any ip from accessing your laravel app? Here is the solution. 1) Create Middleware "IPRestrictMiddleware". 2) Paste the code inside handle function. 3) Register the middleware in kernel function. 4) add the registered middleware in routes in order to restrict the access.
decipher 8 years ago 5395
First you create a file called Cors.php in app/Http/Middleware, then you register the middleware in the app/Http/Kernel.php file. If you want, you can change the default values adding the keys CORS_ALLOW_METHODS, CORS_ALLOW_ORIGINS, CORS_ALLOW_HEADERS and CORS_MAX_AGE to your .env file. Simple as that! This class is based on spatie/laravel-cors package.
lcdss 8 years ago 5355
I originally published this trick on Medium: https://medium.com/@simondepelchin/how-to-use-font-awesome-5-svgs-with-laravel-blade-a5dc93743cd0
webartisan 8 years ago 5317
This helper will helps you to serve the assets which is last updated by the server. The Main aim of this helper to eliminate the cache of the assets we updated in server.
decipher 8 years ago 5298