CLI Reference
Reference for common Glueful CLI commands
This reference focuses on commands that exist in the current framework and starter app.
Basics
php glueful
php glueful help serve
php glueful list
Setup
php glueful install
php glueful generate:key
php glueful doctor
php glueful system:check
Development Server
php glueful serve
php glueful serve --host=0.0.0.0 --port=9000
php glueful serve --watch
Database
php glueful migrate:create CreateUsersTable
php glueful migrate:run
php glueful migrate:rollback
php glueful migrate:status
php glueful db:status
php glueful db:profile
php glueful db:reset
php glueful db:seed
Scaffolding
php glueful scaffold:controller UserController
php glueful scaffold:model User
php glueful scaffold:request CreateUserRequest
php glueful scaffold:middleware EnsureAdmin
php glueful scaffold:job SendWelcomeEmail
php glueful scaffold:test UserControllerTest
php glueful scaffold:factory UserFactory
php glueful scaffold:seeder UserSeeder
php glueful scaffold:resource UserResource
php glueful scaffold:rule StrongPassword
php glueful scaffold:filter UserFilter
Cache
php glueful cache:get some:key
php glueful cache:set some:key "value" --ttl=3600
php glueful cache:delete some:key
php glueful cache:expire some:key 120
php glueful cache:ttl some:key
php glueful cache:inspect some:key
php glueful cache:status
php glueful cache:clear
php glueful cache:purge
php glueful cache:maintenance
Queue
php glueful queue:work
php glueful queue:autoscale
php glueful queue:scheduler
OpenAPI / Docs
php glueful generate:openapi
Routing / Container
php glueful route:debug
php glueful route:cache:status
php glueful route:cache:clear
php glueful di:container:debug
php glueful di:container:validate
php glueful di:container:compile
php glueful di:container:map
php glueful di:lazy:status
Extensions
php glueful create:extension Billing
php glueful extensions:list
php glueful extensions:info billing
php glueful extensions:enable billing
php glueful extensions:disable billing
php glueful extensions:cache
php glueful extensions:clear
php glueful extensions:summary
php glueful extensions:why Some\\Provider\\Class
php glueful extensions:diagnose
Security / Auth
php glueful security:check
php glueful security:scan
php glueful security:report
php glueful security:vulnerabilities
php glueful security:lockdown
php glueful security:reset-password
php glueful security:revoke-tokens
Other Useful Commands
php glueful webhook:list
php glueful webhook:test
php glueful webhook:retry
php glueful api:version:list
php glueful api:version:deprecate
php glueful notifications:process-retries
php glueful archive:manage
php glueful test:watch
php glueful version
Notes
- Older command names such as
generate:controller,generate:api-definitions, andgenerate:api-docsshould not be used unless they exist in your installed version. - For most new app code generation, prefer the
scaffold:*commands.