Categorie: Technology

Laravel Route bindings

Laravel allows you to explicitely and implicitely bind parameters in the route to models in your controller methods. This includes all kinds of scoping and configuration, but this only works if your route can determine the base model of the route parameter. There are basically two ways of configuring this base model. The first one…
Lees meer


2023-06-30 0

Laravel Resource Routes

And not just regular routes, but routes with modified resource names. So, by default you create a standard resource route using a standard resource using the simple construct: e.g.: This will create a slew of default routes for the resource linked to the indicated controller. In the constructor of the controller, you can link authorization…
Lees meer


2020-05-30 0

Laravel Soft Deletes

While investigating the Laravel framework I ran into the following problem: I have a model for which I enabled Soft Deletes. I want to allow the user to restore those models as well, using Soft Delete as a view-filtering option. Usually, the model should remain invisible from the overview and is only retained, because it…
Lees meer


2020-05-13 0

COmanage enrollment using auth_mod_mellon

Welcome in the world of SAML federation and Single Sign On. COmanage is a work-in-progress revolving around the use-case of managing groups of people (entities?) in a virtual organisation. While this use case has been solved a million times in the technological domain, it is somewhat more complex if you have to work with less…
Lees meer


2017-11-30 0