forked from DonAlkens/boilerphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
boiler-commands.txt
34 lines (20 loc) · 1021 Bytes
/
boiler-commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Creating and generating app files.
php manage create [app | controller | model | migration | notification | socket ] <name>
flags:
--d to create migration for a model
php manage create model <Name> --d
--c to create a controller for a model or migration
php manage create model <Name> --c
--s to create socket for any create action name
php manage create [controller | model | migration | notification ] <Name> --s
--a to create all including migration, model, controller
php manage create [controller | model | migration | notification ] <Name> --a
# Database management, migration and seeding tables.
** Run migrations
php manage db migrate
flags:
--new to drop tables and run fresh migration
# Third-party library and websocket management, activation and disabling.
php manage activate [websocket | third-party-library]
php manage disable [websocket | third-party-library]
--if socket has been enable you'll be able to use [php socket <SocketName>] to run socket