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.
20
20
21
21
## Available functions
22
22
23
+ - [Artisan](#artisan)
24
+ - [call_in_background](#call_in_background)
25
+
23
26
- [Database](#database)
24
27
- [db_is_mysql](#db_is_mysql)
25
28
- [db_mysql_now](#db_mysql_now)
@@ -43,6 +46,17 @@ Provides Laravel-specific and pure PHP helper functions.
43
46
- [str_lower](#str_lower)
44
47
- [str_upper](#str_upper)
45
48
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
+
46
60
## Database
47
61
48
62
#### `db_is_mysql()`
You can’t perform that action at this time.
0 commit comments