anzubko/swf

Simplest framework

Maintainers

Details

github.com/anzubko/swf

Source

Issues

Installs: 146

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

0.0.138 2024-11-02 22:08 UTC

README

For reference only, because the project is under development.

Installation

composer create-project anzubko/swf

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;
}