A template repository for Slim PHP Framework 4 with user authentication.
To install and configure the application for local testing and development, use the following instructions.
Windows
Details on installing and configuring php for windows can be found on the PHP website. If you have already installed XAMP, there is no need to install PHP manually. If you use another, similar service, please check their documentation to see whether or not PHP is included.
Ubuntu
# apt install php
RHEL/CentOS
# yum install php
Windows
Download Git from the official Git website
Ubuntu
# apt install git
RHEL/CentOS
# yum install git
Windows
To install Composer on windows, please follow the documentation on the official Composer website
Ubuntu
# apt install composer
RHEL/CentOS
# yum install composer
To install the application, navigate to the folder within which you wish to clone the repository and execute the following shell commands:
$ git clone https://github.com/JoshuaFlood/slim-php-template.git
$ cd slim-php-template
$ composer install
Once the application is published, visit the homepage to see the welcome message, or visit example.domain.com/hello/[insert_your_name_here]
to see the application in action.
For instructions on deployment to a production environment please refer to the official Slim PHP Framework's documentation, the official Composer documentation and the documentation of any third-party dependencies or frameworks included in your project. Step-by-step instruction exceeds the scope of this documentation.
- Slim PHP Framework 4 - Router framework
- Slim PSR7 - Implementation of PSR7 standard
- Slim PHP-View - PHP view renderer
- PHP-DI - Dependency injection
- Monolog - Log management
- PHPDotEnv - Environment variable management
- Joshua Flood - Initial work - Joshua Flood
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.