You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 17, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: readme.md
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,13 @@ If you enable `eval(tinker())` and see an error about mkdir, please start Larave
19
19
20
20
Now, your project is flying and listening to port 9501. Enjoy yourself.
21
21
22
-
Every time LaravelFly starts, it makes a config cache file `laravelfly_ps_map.php` or `laravelfly_ps_simple.php` located `bootstrap/cache`, you can run
if config file `config/laravelfly.php` changed frequently.
22
+
Every time LaravelFly starts, it makes a config cache file laravelfly_ps_map.php or laravelfly_ps_simple.php located bootstrap/cache, so if config file `config/laravelfly.php` changed frequently you can run
23
+
```
24
+
alias ff='php artisan config:clear && php vendor/scil/laravel-fly/bin/fly start'
25
+
26
+
ff
27
+
```
28
+
25
29
26
30
## Doc
27
31
@@ -75,6 +79,16 @@ The nginx conf [swoole_fallback_to_phpfpm.conf](config/swoole_fallback_to_phpfpm
75
79
76
80
Another nginx conf [use_swoole_or_fpm_depending_on_clients](config/use_swoole_or_fpm_depending_on_clients.conf) allows us use query string `?useserver=<swoole|fpm|...` to select the server between swoole or fpm. That's wonderful for test, such as to use eval(tinker()) as a online debugger for your fpm-supported projects.
77
81
82
+
## Todo Abut Avoiding Data Pollution
83
+
84
+
-[x] Application.
85
+
-[x] Base Services: Dispatcher/app('event'), Router/app('router') and UrlGenerator/app('url').
86
+
-[x] Other Service Providers. configurable in config/laravel.php
87
+
-[x] Facade.
88
+
-[x] Laravel Config. configurable by the 'config' key of LARAVELFLY_SERVICES in fly.conf.php
89
+
-[ ] Php Config. It's not supported in the near future. Tow reasons:
90
+
1. It's related with php internal function ini_set.
91
+
2. It's useless in 99% of cases where all of the php internal configs are same across multile requests.
78
92
79
93
## Todo
80
94
@@ -84,8 +98,6 @@ Another nginx conf [use_swoole_or_fpm_depending_on_clients](config/use_swoole_or
84
98
-[x] watch code changes and hot reload
85
99
-[x] watch maintenance mode using swoole_event_add
86
100
-[x] mysql coroutine
87
-
-[x] handle laravel config in Mode Simple and Mode Map
88
-
-[ ] handle php config like Zend?
89
101
-[ ] add tests about auth SessionGuard: Illuminate/Auth/SessionGuard.php with uses Request::createFromGlobals
90
102
-[ ] add tests about uploaded file, related symfony/http-foundation files: File/UploadedFile.php and FileBag.php(fixPhpFilesArray)
0 commit comments