Download the PHP package lhsazevedo/slim-restatic-skeleton without Composer
On this page you can find all versions of the php package lhsazevedo/slim-restatic-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lhsazevedo/slim-restatic-skeleton
More information about lhsazevedo/slim-restatic-skeleton
Files in lhsazevedo/slim-restatic-skeleton
Package slim-restatic-skeleton
Short Description A Slim Framework skeleton application with Laravel like facades
License MIT
Homepage http://github.com/lhsazevedo/Slim-ReStatic-Skeleton
Informations about the package slim-restatic-skeleton
Slim Framework 3 Skeleton Application with Facades
Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application with Facades.
This skeleton application was built for Composer. This makes setting up a new Slim Framework application quick and easy.
Install the Application
Run this command from the directory in which you want to install your new Slim Framework application.
php composer.phar create-project lhsazevedo/slim-restatic-skeleton [my-app-name]
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
logs/
is web writeable.
To run the application in development, you can run these commands
cd [my-app-name]
php composer.phar start
Run this command in the application directory to run the test suite
php composer.phar test
Create Facades
Add some dependency to src/dependencies.php
:
Create an facade for your new dependency:
Use it in your controllers:
That's it! Now go build something cool.
All versions of slim-restatic-skeleton with dependencies
slim/slim Version ^3.1
slim/php-view Version ^2.0
monolog/monolog Version ^1.17
lhsazevedo/restatic Version ^1.0