Easily generate files and classes from stubs. Ideal for e.g. additional Laravel make commands!
I invest a lot of resources into creating best in class open source packages. You can support me by buying one of my paid products.
I highly appreciate you sending us a postcard from your hometown, mentioning which of my prpjects you are using. You'll find my address on my contact page. I publish all received postcards on my virtual postcard wall.
This section is inspired by my friends at Spatie.
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 [email protected] 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 [email protected]!
The MIT License (MIT). Please see License File for more information.