fyre / make
A collection of commands for generating files.
v2.0.1
2024-12-10 09:02 UTC
Requires
- fyre/auth: ^3.0
- fyre/command: ^6.0
- fyre/config: ^4.0
- fyre/console: ^4.0
- fyre/lang: ^5.0
- fyre/loader: ^3.0
- fyre/middleware: ^6.0
- fyre/migration: ^5.0
- fyre/orm: ^10.0
- fyre/path: ^2.0
- fyre/queue: ^3.0
- fyre/view: ^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.59
- fyre/filesystem: ^2.0
- fyre/php-cs-fixer-config: ^1.0
- phpunit/phpunit: ^11
README
FyreMake is a free, open-source collection of commands for generating files for FyrePHP.
Table Of Contents
Installation
Using Composer
composer require fyre/make
In PHP:
$runner = $container->use(CommandRunner::class); $runner->addNamespace('\Fyre\Make\Commands');
Commands
Make Behavior
Generate a new Behavior.
$runner->run('make:behavior', ['Example']);
Make Cell
Generate a new Cell.
$runner->run('make:cell', ['Example']);
Make Cell Template
Generate a new cell template.
$runner->run('make:cell_template', ['Example.display']);
Make Command
Generate a new Command.
$runner->run('make:command', ['Example']);
Make Config
Generate a new Config file.
$runner->run('make:config', ['example']);
Make Controller
Generate a new controller.
$runner->run('make:controller', ['Example']);
Make Element
Generate a new element.
$runner->run('make:element', ['example']);
Make Entity
Generate a new Entity.
$runner->run('make:entity', ['Example']);
Make Helper
Generate a new Helper.
$runner->run('make:helper', ['Example']);
Make Job
Generate a new queue Job.
$runner->run('make:job', ['Example']);
Make Lang
Generate a new language file.
$runner->run('make:lang', ['Example']);
Make Layout
Generate a new view layout template.
$runner->run('make:layout', ['default']);
Make Middleware
Generate a new Middleware.
$runner->run('make:middleware', ['Example']);
Make Migration
Generate a new Migration.
$runner->run('make:migration');
Make Model
Generate a new Model.
$runner->run('make:model', ['Example']);
Make Policy
Generate a new Policy.
$runner->run('make:policy', ['Example']);
Make Template
Generate a new view template.
$runner->run('make:template', ['Example.index']);