- Start LaraGram Development Server
If you are working on a local host, it is better to use this web server. Otherwise, Apache, Nginx, etc. web servers are a better option.
php laragram serve
- Start Local Api Server
php laragram start:apiserver
- Start OpenSwoole Server
php laragram serve --openswoole
- Set Webhook
php laragram webhook:set
- Delete Webhook
php laragram webhook:delete
- Drop Pending Updates
php laragram webhook:drop
- Show Webhook info
php laragram webhook:info
- Install Eloquent
php laragram install:eloqunet
- Remove Eloquent
php laragram remove:eloqunet
- Install OpenSwoole
php laragram install:openswoole
- Remove OpenSwoole
php laragram remove:openswoole
- Clean Vendor
- Remove all extra dependencies
php laragram clear:vendor
- Create Resource
php laragram make:resource my-resource
- Create Api Controller
php laragram make:api ApiName
- Create MySQL Model
php laragram make:model User
- Create Json Model
php laragram make:json-model User
- Create MySQL migration for create table
php laragram make:migration {migration_name} --create={table_name}
- Create MySQL migration for edit table
php laragram make:migration {migration_name} --table={table_name}
- Create Json migration for create table
php laragram make:json-migration {migration_name} --create={table_name}
- Create Json migration for edit table
php laragram make:json-migration {migration_name} --table={table_name}
- Migrate MySQL migrations
php laragram migrate
- Migrate Json migrations
php laragram json-migrate
- Create MySQL factory
php laragram make:factory {factory_name}
- Create MySQL seeder
php laragram make:seeder {seeder_name}
- Create service provicer
php laragram make:provider {provider_name}
- Create Command
php laragram make:command {command_name}