My attempt at creating an optional helper.
UPDATE: I’ve made this plugin a package.
npm install --save bookshelf-simplepaginate
If you google around you’ll find plenty of examples on how-to create a custom authorizer for serverless lambda events.
I used this example when I was building mine:
// Return an IAM policy document for…
We all use Laravels Validation feature to ensure we have the required input and it matches some sort of rule. The available rules cover plenty of situations but they fail to cover one of the most important rules, input Sanitization.
Laravels Soft Deleting allows you to retain deleted records in your database so they can be used or restored at a later point. Restoring deleted records is great if a mistake is made and you need to revert and retaining deleted data can often be useful in the event…