Download the PHP package burtscherflorian/slimphp-rest-starter without Composer
On this page you can find all versions of the php package burtscherflorian/slimphp-rest-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download burtscherflorian/slimphp-rest-starter
More information about burtscherflorian/slimphp-rest-starter
Files in burtscherflorian/slimphp-rest-starter
Package slimphp-rest-starter
Short Description Starter REST-Application in PHP with Slim 3 Framework
License MIT
Homepage https://github.com/burtscherflorian/slimphp-REST-starter
Informations about the package slimphp-rest-starter
slimphp-REST-starter
Starter REST-Application written in PHP with the Slim 3 Framework
Prerequisites
PHP
- Minimum: PHP version 5.6
- Recommended: PHP version 7.1
Composer
Composer is a dependencies manager for PHP on a per-project basis.
Get Composer from their website. Follow the installation guide in the "Getting Started" section. For further information about what composer is, please read the docs on their page.
After installation, for commands, you can use either the composer.phar file in the project directory - if composer not globally installed - , or you can work directly with composer - if globally installed on your machine.
Globally installed on system:
or downloaded composer.phar file
In the following instructions we will use composer globally installed!
Installation
Once you`ve installed composer, the starter project can be downloaded over composer.
Root to the directory where you want to install the project
Install the starter project with following command:
Replace [your-application-name] with the desired directory name for your new application.
Root to the directory [your-application-name] and run composer install, to require all dependencies inside your slim application
To the end you have to generate the autoload files with this command:
Now you are ready for REST!