Skip to content

Instantly share code, notes, and snippets.

Avatar

Essemme essemme

View GitHub Profile
@essemme
essemme / controller.stub.php
Last active Jun 15, 2017
Gists for post "Saving time with a CRUD generator for Laravel" on my blog https://stefanomanfredini.info/en/2017/06/saving-time-crud-generator-laravel/
View controller.stub.php
<?php
namespace [% namespace %];
use Session;
[% use_command_placeholder %]
use Illuminate\Support\Str;
class [% controller_name %] [% controller_extends %]
{