2017 © Pedro Peláez
 

library slim-plus

A Slim Framework skeleton application for rapid development

image

z-rosenthal/slim-plus

A Slim Framework skeleton application for rapid development

  • Tuesday, October 20, 2015
  • by zRosenthal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Slim Framework Skeleton Application + Eloquent ORM + Controllers (in the works)

Use this skeleton application to quickly setup and start working on a new Slim Framework application. This application uses the latest Slim and Slim-Views repositories. It also uses Sensio Labs' Twig template library., (*1)

This skeleton application was built for Composer. This makes setting up a new Slim Framework application quick and easy., (*2)

Install Composer

If you have not installed Composer, do that now. I prefer to install Composer globally in /usr/local/bin, but you may also install Composer locally in your current working directory. For this tutorial, I assume you have installed Composer locally., (*3)

http://getcomposer.org/doc/00-intro.md#installation, (*4)

Install the Application

After you install Composer, run this command from the directory in which you want to install your new Slim Framework application., (*5)

php composer.phar create-project z-rosenthal/slim-plus [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/ and templates/cache are web writeable., (*6)

That's it! Now go build something cool., (*7)

Note:

For Eloquent ORM You will need to install mysql, (*8)

sudo apt-get install mysql-server

You will also need to install the php5-mysql package, (*9)

sudo apt-get install php5-mysql

Then restart apache, (*10)

sudo /etc/init.d/apache2 restart

The mysql connection info is located in index.php at the top, (*11)

A user model has been created in the app/models directory, (*12)

The Versions

20/10 2015

dev-master

9999999-dev http://github.com/zRosenthal/slimPlus

A Slim Framework skeleton application for rapid development

  Sources   Download

MIT

The Requires

 

by Zachary Rosenthal

rest eloquent microframework router