Slim boilerplate to bootstrap applications in no time.
- Application logic will be
/appdirectory. - All configurations file should be under
/configdirectory. - Logs and other files will be under
storage. - Extended views can be implemented with 'Slim views'.
- Shared contents can be under
/publicor/storage. .htaccessfile in place to remove.phpextension from the url.SLIM_MODEfromserver.jsonis not being used. The one that is being used is fromconfig/app.php'sdebugvariable.
In order to remove public from url, httpd.conf need to be updated.
Start application with builtin PHP server php -S 127.0.0.1:{$port} -t public
- Implement loading application configuration from environment file.
- Utility to connect to database.
- unit testing.
Any comments/issues/improvements are welcomed. :)
Feel free to modify.
Happy coding.