File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ Provides Laravel-specific and pure PHP helper functions.
2020
2121## Available functions
2222
23+ - [Artisan](#artisan)
24+ - [call_in_background](#call_in_background)
25+
2326- [Database](#database)
2427 - [db_is_mysql](#db_is_mysql)
2528 - [db_mysql_now](#db_mysql_now)
@@ -43,6 +46,17 @@ Provides Laravel-specific and pure PHP helper functions.
4346 - [str_lower](#str_lower)
4447 - [str_upper](#str_upper)
4548
49+ ## Artisan
50+
51+ #### `call_in_background()`
52+
53+ Calls artisan console command in background, with optional `before` and `after` sub-commands:
54+ ```php
55+ call_in_background("foo:bar baz", ' sleep 0.3' );
56+
57+ // "sleep 0.3 && php artisan foo:bar baz" would be called in background
58+ ```
59+
4660## Database
4761
4862#### `db_is_mysql()`
You can’t perform that action at this time.
0 commit comments