Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2024-08-09 (Yesterday) | | Not yet rated by the users | | Total: 14 This week: 14 | | All time: 11,337 This week: 6 |
|
Description | | Author |
This package provides an example application based on a MVC framework.
It provides a base framework to process HTTP requests using a router class that can forward the processing to controller classes.
The package also provides an example application that uses the framework to implement a simple site with pages and registered users. | |
|
|
Innovation award
Nominee: 7x |
|
Example
<?php
require 'vendor/autoload.php';
require 'core/bootstrap.php';
use App\Core\Router;
use App\Core\Request;
Router::load('app/routes.php')
->direct(Request::uri(), Request::method());
|
Details
simplex
The Simplex Framework is very simple and easy. It will be very helpful for the developers who are the beginner in PHP and want to learn Framework
Installation
Server Requirements
The Simplex framework has a few system requirements.You will need to make sure your server meets the following requirements:
-
PHP >= 7.0
-
PDO PHP Extension
Installing Simplex
Run the command
composer create-project nahidulhasan/simplex YOUR_PROJECT_NAME
Run the Project
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, Follow the steps described in below:
-
Go to your project directory:
cd YOUR_PROJECT_NAME
php -S 127.0.0.1:4321
http://127.0.0.1:4321
Run the project using Docker:
Now run the following command from your terminal one by one. Running the commands be sure that you have installed docker.You will get install instructions from this link
docker-compose build
docker-compose up -d
Now browse project
http://localhost:9003
License
Simplex is open-sourced software licensed under the MIT license
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.