Download the PHP package creativados/slim-skeleton without Composer
On this page you can find all versions of the php package creativados/slim-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download creativados/slim-skeleton
More information about creativados/slim-skeleton
Files in creativados/slim-skeleton
Package slim-skeleton
Short Description A Slim Framework skeleton application for rapid development
License MIT
Homepage https://github.com/vampireJSV/slim-skeleton
Informations about the package slim-skeleton
Slim Framework 3 Skeleton Application
Use this skeleton application for the slim 3 micro-framework with some pre configured dependencies and structures:
- Twig as View engine
- Monolog for logging
- PHP DI for dependency injection
- Silly CLI micro-framework for CLI Commands
- vlucas/phpdotenv to load environment configuration from ".env" file
- dtkahl/php-simple-config for simple access to configuration files
- dtkahl/php-file-cache as simple file cache
- Webpack to bundle assets and build SCSS
- Flash Messages to Flash sessions messages
- PHPMailer to send Emails
- Session to management sessions
- Gettext for languages support
- Parsedown for markdown support in translations
- Twig Compress compress twig output
- Controller, Middleware and Factory classes
- Exception handling
- Maintenance mode
If you don't need all of this, you should just use slimphp/Slim-Skeleton which I forked and extended with this features.
Requirements
- PHP >= 7.0
- Composer
- NodeJS (for Webpack)
Node, Javascript and webpack libraries support
Javascript and client
Node
Webpack
Install the Application
Run this command from the directory in which you want to install your new Slim Framework application.
Replace [my-app-name]
with the desired directory name for your new application. You'll want to:
- Point your virtual host document root to your new application's
public/
directory. - Ensure
storage/
is web writeable. - create a copy ".env" of the file ".env.example" an set up your configuration
Install NodeJS dependencies:
Development
for development you can use the PHP built-in webserver:
Generate favicon for resources/assets/img/logo.png:
And let webpack bundle your assets live:
On Production
Make sure to bundle your assets after clone/update your assets on production by running:
All versions of slim-skeleton with dependencies
slim/slim Version ^3.1
monolog/monolog Version ^1.17
slim/twig-view Version ^2.2
twig/extensions Version ^1.4.1
vlucas/phpdotenv Version ^2.4
dtkahl/php-simple-config Version ^1.1
mnapoli/silly Version 1.5.*
mnapoli/silly-php-di Version ^1.1
php-di/slim-bridge Version ^1.0
dtkahl/php-file-cache Version ^1.3
slim/flash Version ^0.1.0
phpmailer/phpmailer Version ~5.2
bryanjhv/slim-session Version ~3.0
gettext/gettext Version ^4.1
nochso/html-compress-twig Version ^2.0
erusev/parsedown Version ^1.6