Are you sure you need entrust or laravel-permission to implement your authorization?

Written by - - Aggregated on Wednesday November 7, 2018

Some solid advice from Adel Faiz: do not use a package for authorization unless you really need its functionalities. Laravel's default authorization capabilities are good enough for most use cases.

I don't want to say these packages are useless. They can be useful for projects which needs complicated authorization system, which should be customizable by customer later. Also some projects need dynamic permissions. For all other projects it's too heavy solution. Better to use simple code-based authorization.

« Using v-model on Nested Vue Components - - Get to Know Framer X: The React UI … »