Console file is bin/tray-digita
app:check Check & validate application.
app:db [app:database] Check & validate database.
app:generate:checksums [generate-checksums] Create list of core file checksums.
app:generate:command [generate-command] Generate command class.
app:generate:controller [generate-controller] Generate controller class.
app:generate:database-event [generate-database-event] Generate database event class.
app:generate:entity [generate-entity] Generate entity class.
app:generate:middleware [generate-middleware] Generate middleware class.
app:generate:module [generate-module] Generate module class.
app:generate:scheduler [generate-scheduler] Generate scheduler class.
app:scheduler [run-scheduler] List or run scheduler.
app:server [server] Create temporary php builtin web server.
Create / Start temporary builtin web server
php bin/tray-digita app:server
Check about application runtime
php bin/tray-digita app:check
Check database configurations & available entities
php bin/tray-digita app:db
Check the database schema entity
php bin/tray-digita app:db --schema
Print / Show SQL query changed schema to console
php bin/tray-digita app:db --schema --print
Print / Show SQL query created schema entities table to console
php bin/tray-digita app:db --schema --print --dump
Optimize table on database (MySQL Platform Only)
php bin/tray-digita app:db --schema --optimize
Controller Generator
Generate controller (placed into app/Controllers
)
php bin/tray-digita app:generate:controller
Entity Generator
Generate entity (placed into app/Entities
)
php bin/tray-digita app:generate:entity
Command Generator
Generate Command (placed into app/Commands
)
php bin/tray-digita app:generate:command
Middleware Generator
Generate middleware (placed into app/Middlewares
)
php bin/tray-digita app:generate:middleware
Scheduler Generator
Generate scheduler (placed into app/Schedulers
)
php bin/tray-digita app:generate:scheduler
Module Generator
Generate module (placed into app/Modules
)
php bin/tray-digita app:generate:module
Database Event Generator
Generate database event (placed into app/DatabaseEvents
)
php bin/tray-digita app:generate:database-event
File Checksums Generator
Generate list of integrity / checksums files (placed into checksums/
)
php bin/tray-digita app:generate:checksums
Scheduler
List the queued / skipped tasks
php bin/tray-digita app:scheduler
Run the tasks
php bin/tray-digita app:scheduler --run