Laravel Community Tools by Tighten

decipher

Joined: 8 years ago
Total tricks: 4
Last trick: 7 years ago

Submitted tricks

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 5357
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 5258
Hello there! How to do Excel file validation in laravel? In Laravel you can use validate the file upload with extension using After Hooks. Read more from https://laravel.com/docs/5.5/validation#after-validation-hook
decipher 8 years ago 13272
Sometimes you need to want tables columns as array while you editing the data, this will return a columns as array.
decipher 7 years ago 4398