File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,7 +232,17 @@ php warvil key:generate
232232## 🖥️ Command Line Interface
233233WarvilPHP comes with a command-line tool called warvil for scaffolding components:
234234
235- Available Commands
235+ #### Development
236+ ``` sh
237+ # Start development server
238+ php warvil serve
239+ # OR with custom host and port
240+ php warvil serve localhost 3000
241+
242+ # Show help
243+ php warvil help
244+ ```
245+ #### Generator Commands
236246``` sh
237247# Create a controller
238248php warvil make:controller UserController
@@ -261,14 +271,30 @@ php warvil make:layout admin
261271# Create a database table schema
262272php warvil make:table Users
263273
264- # Run a migration
274+ ```
275+ #### Database Commands
276+ ``` sh
265277php warvil migration:run User:up
278+ ```
266279
280+ #### Utility Commands
281+ ``` sh
267282# Generate an application key
268283php warvil key:generate
269284
270- # Show help
271- php warvil help
285+ # Release new versions
286+ php warvil release # General release command
287+ php warvil release:patch # Release a patch version (0.1.0 → 0.1.1)
288+ php warvil release:minor # Release a minor version (0.1.0 → 0.2.0)
289+ php warvil release:major # Release a major version (0.1.0 → 1.0.0)
290+ php warvil release:help # Show release command help
291+ ```
292+
293+
294+ #### Utility Commands
295+ ``` sh
296+ # Generate an application key
297+ php warvil key:generate
272298```
273299
274300## 🌐 Routing System
You can’t perform that action at this time.
0 commit comments