a custom slim 3 framework application skeleton.

inhere 7277bd8318 remove some files 3 years ago
bin 247b94fa88 update.. 3 years ago
bootstrap 247b94fa88 update.. 3 years ago
config 7277bd8318 remove some files 3 years ago
resources 247b94fa88 update.. 3 years ago
src 247b94fa88 update.. 3 years ago
temp 218bd1cd4c update readme 3 years ago
web 247b94fa88 update.. 3 years ago
.editorconfig 247b94fa88 update.. 3 years ago
.gitignore 56e2795d8d update 3 years ago
LICENSE 3c3cf1be6f Initial commit 3 years ago
README.md 218bd1cd4c update readme 3 years ago
composer.json 247b94fa88 update.. 3 years ago
phinx.example.yml c24b738e8b init project structure 3 years ago

README.md

slim skeleton

a slim framework skeleton.

run project on local

required install php at local, and add to PATH.

at windows (usage php server)

  • auto run server

    double-click bin/loclaRun.bat file.

  • manual run server

    open a cmd window at current directory, write command: php -S 127.0.0.42:80 -t public, open a browser (e.g. chrome) visit http://127.0.0.42

at linux (usage php server)

  • auto run server

    $ ./bin/loclaRun

  • manual run server

    open a terminal window jump to current directory, run command: php -S 127.0.0.42:80 -t www, open a browser (e.g. chrome) visit http://127.0.0.42

run with nginx service

please copy the file temp/backup/example.nginx.conf to nginx config directory, and rename it. reload nginx service.