Machine helps you create php classes, interfaces and more
composer global require clarkeash/machine
This package requires that you have psr-4 autoloading enabled in your composer.json file, as this is how it calculates the namespace for the classes you create.
The machine command should be ran from the root directory, where the composer.json lives.
Create a basic class
machine make:class Example
Create an abstract class
machine make:class Example --abstract
Create an interface
machine make:interface ExampleInterface
Create a trait
machine make:trait ExampleTrait
./vendor/bin/phpunit
##License
This package is released under the MIT license. Please see the License File for more information.