Easily generate files and classes from stubs. Ideal for e.g. additional Laravel make commands!
Via Composer:
composer require sebastiaanluca/php-stub-generator
$stub = new StubGenerator(
__DIR__ . '/stubs/migration.stub',
$target
);
$stub->render([
':CLASS_NAME:' => 'CreateUsersTable',
':TABLE_NAME:' => 'users',
]);
Please see CHANGELOG for more information on what has changed recently.
composer install
composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email security@sebastiaanluca.com instead of using the issue tracker.
My name is Sebastiaan and I'm a freelance back-end developer specializing in building high-end, custom Laravel applications. Check out my portfolio for more information and my other packages to kick-start your next project. Have a project that could use some guidance? Send me an e-mail at hello@sebastiaanluca.com!
The MIT License (MIT). Please see License File for more information.