edwinhoksberg / slim-framework-skeleton
A skeleton framework with built-in features, made with Slim Framework 2.0
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 3
Type:project
Requires
- j4mie/paris: ^1.5
- slim/logger: 0.1.*
- slim/slim: ~2.0
- slim/views: ^0.1.3
- slimcontroller/slimcontroller: 0.4.3
- twig/twig: ~1.0
- vlucas/phpdotenv: ^2.0
- zeuxisoo/slim-whoops: 0.3.0
This package is auto-updated.
Last update: 2021-06-20 03:08:31 UTC
README
This app includes:
- A full MVC model
- Model: j4mie/paris
- View: slimphp/Slim-Views
- Controller: https://github.com/fortrabbit/slimcontroller
- vlucas/phpdotenv for environment settings and variables
- Logging with codeguy/Slim-Logger
- Error reporting with zeuxisoo/php-slim-whoops
- Bootstrap SASS
- jQuery
Installation
- Run
composer create-project edwinhoksberg/slim-framework-skeleton
in the directory you want to install this app. - Navigate to your project url and you should see a 'Hello World' message.
To use CSS and JavaScript, run npm install
for the build dependencies.
You can then use gulp
to compile CSS and JavaScript at the same time, or gulp css
and gulp js
to run them separately.
With the command gulp watch
, you can watch any changes on the css and js folders for changes, and it will automatically compile them.
License
MIT