mercredi 11 octobre 2017

Change php artisan make:controller resource layout

so when we use php artisan make:controller --resource, unicorns fly and a controller with basic functions are created.

I wanna change this code, to add more functions that all controllers will use.

How to change de default resource code?

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire