lucid-arch / laravel-console
The Command Line Interface for the Lucid Architecture
Installs: 75 060
Dependents: 2
Suggesters: 0
Security: 0
Stars: 28
Watchers: 16
Forks: 19
Open Issues: 0
Requires
- phploc/phploc: ^6.0
- symfony/console: ^5.0
- symfony/filesystem: ^5.0
- symfony/finder: ^5.0
- symfony/process: ^5.0
- dev-master
- v7.0.0
- 6.0.x-dev
- v6.0.1
- v6.0.0
- 5.8.x-dev
- v5.8.0
- 5.7.x-dev
- v5.7.1
- v5.7.0
- 5.6.x-dev
- v5.6.1
- v5.6.0
- 5.5.x-dev
- v5.5.1
- v5.5.0
- 5.1.x-dev
- v5.1.0
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.2
- v0.1.1
- v0.1.0
- dev-dev
- dev-remove-log-reader
- dev-revert-16-master
- dev-operations
- dev-queueable_jobs
- dev-metrics
- dev-ui-material
- dev-ui
This package is auto-updated.
Last update: 2024-04-16 07:19:28 UTC
README
The Console companion for the Lucid Architecture.
Command Line Interface
The console ships with a command line interface called lucid
that you can find in vendor/bin/lucid
and use as
lucid make:feature ListUsers Api
To be able to address the
lucid
cli directly you need to have./vendor/bin
as part of your$PATH
. To do that, put this in your shell profile (~/.bash_profile, ~/.zshrc, ~/bashrc)export PATH="$PATH:./vendor/bin
"
Available Commands
help
Displays help for a commandlist
Lists commands- make
make:controller
Create a new resource Controller class in a servicemake:feature
Create a new Feature in a servicemake:migration
Create a new Migration in a servicemake:operation
Create a new Operation in a servicemake:job
Create a new Job in a domainmake:service
Create a new Servicemake:model
Create a new Modelmake:request
Create a new Request in a servicemake:policy
Create a new Policy
- list
list:features
List the features.list:services
List the services in this project.
- delete
delete:feature
Delete an existing Feature in a servicedelete:operation
Delete an existing Operation in a servicedelete:job
Delete an existing Job in a domaindelete:service
Delete an existing Servicedelete:model
Delete an existing Modeldelete:request
Delete an existing Request in a servicedelete:policy
Delete an existing Policy
- src
src:name
Set the source directory namespace.
Commands Usage
Make
make:controller <controller> [<service>]
make:migration <migration> <service>
make:feature <feature> [<service>]
make:job <job> <domain> [--queue]
make:service <name>
make:model <model>
make:request <request> [<service>]
make:policy <policy>
List
list:services
list:features [<service>]
Delete
delete:service <name>
delete:feature <feature> [<service>]
delete:job <job> <domain>
delete:model <model>
delete:request <request> [<service>]
delete:policy <policy>
Set Source Namespace
src:name <name>