Download the PHP package aalfiann/slim-skeleton without Composer
On this page you can find all versions of the php package aalfiann/slim-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package slim-skeleton
Slim-Skeleton
This is a very simple, fast and secure of slim-skeleton.
This skeleton is secured with CSRF, fast, simple and modular architecture.
Dependencies
- CSRF Guard >> slim/csrf
- TWIG Template >> slim/twig-view
- HTTP Cache >> slim/http-cache
- Flash Messages >> slim/flash
- Logger >> monolog/monolog
Installation
Install this package via Composer.
Getting Started
How to create new application
- Go to modules directory
- Create new folder
my-app
- To create routes, you should follow this pattern >>
*.router.php
- Put the view template to
templates/default
directory - Done
How to activate CSRF
CSRF is already integrated in this skeleton :
-
Create same two routes, GET and POST
-
Put hidden input value in contact form HTML
- Done
Note:
- Documentation about
Slim
is available on slimframework.com. - This is a forked version from the original slimphp/Slim-Skeleton.
- There is swift project based from this skeleton which is already integrated with Flat-File, User Session, Authorization, Validation, etc.
All versions of slim-skeleton with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
slim/slim Version ^3.1
slim/csrf Version ^0.8.3
slim/flash Version ^0.4.0
slim/twig-view Version ^2.1
slim/http-cache Version ^0.4.0
monolog/monolog Version ^1.22
twig/twig Version ~2.0
slim/slim Version ^3.1
slim/csrf Version ^0.8.3
slim/flash Version ^0.4.0
slim/twig-view Version ^2.1
slim/http-cache Version ^0.4.0
monolog/monolog Version ^1.22
twig/twig Version ~2.0
The package aalfiann/slim-skeleton contains the following files
Loading the files please wait ....