This package is abandoned and no longer maintained. No replacement package was suggested.

Simplest framework

Installs: 147

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project


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