andrianzubko / sfw
This package is abandoned and no longer maintained.
No replacement package was suggested.
Simplest framework
0.0.130
2023-11-15 20:48 UTC
Requires
- php: ^8.2
- ext-curl: *
- ext-gd: *
- ext-intl: *
- ext-mbstring: *
- ext-zlib: *
- andrianzubko/sfw-core: ^0
Requires (Dev)
- phpunit/phpunit: ^10.2
This package is auto-updated.
Last update: 2024-02-18 14:56:11 UTC
README
For reference only, because the project is under development.
Installation
composer create-project andrianzubko/sfw
Apache/mod_php
DocumentRoot {SITE_ROOT}/public <Directory {SITE_ROOT}/public> FallbackResource /.bin/index.php </Directory>
Nginx/PHP-FPM
root {SITE_ROOT}/public; location / { try_files $uri /.bin/index.php$is_args$args; } location /.bin { fastcgi_pass {PHP_FPM_URL}:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }