fyre/make

A collection of commands for generating files.

v2.0.1 2024-12-10 09:02 UTC

This package is auto-updated.

Last update: 2024-12-10 09:02:50 UTC


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']);