Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

THIS PACKAGE HAS BEEN DEPRECATED — Easily generate files and classes from stubs.

License

Notifications You must be signed in to change notification settings

sebastiaanluca/php-stub-generator

Repository files navigation

PHP Stub Generator

Latest Version on Packagist Software License Build Status Total Downloads

Follow me on Twitter Share this package on Twitter

Easily generate files and classes from stubs. Ideal for e.g. additional Laravel make commands!

Install

Via Composer:

composer require sebastiaanluca/php-stub-generator

Usage

$stub = new StubGenerator(
    __DIR__ . '/stubs/migration.stub',
    $target
);

$stub->render([
    ':CLASS_NAME:' => 'CreateUsersTable',
    ':TABLE_NAME:' => 'users',
]);

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

composer install
composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

About

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]!

License

The MIT License (MIT). Please see License File for more information.

About

THIS PACKAGE HAS BEEN DEPRECATED — Easily generate files and classes from stubs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages