reSlim is Lightweight, Fast, Secure, Simple, Scalable, Flexible and Powerful rest api framework.
reSlim is based on Slim Framework version 3.
- User management system
- File management system
- Pages management system
- Backup management system
- Package management system
- Token and API Key management system
- Auto log and trace error message
- Pagination json response
- Support Multi Language
- Server Side Caching to handle high traffic
- Scalable architecture with modular concept
- Easy horizontal scale because cache support multiserver
- Load Balancer with multiple database server (master to master or master to slave)
- Etc
-
Modules
Here is the available modules created by reSlim author >> reSlim-modules. -
UI Boilerplate
Here is the basic UI template for production use with reSlim >> reSlim-ui-boilerplate.
- PHP 5.5 or newer (last tested on PHP7.3)
- MySQL 5.6 or MariaDB
- Web server with URL rewriting
- Apache or NGINX Server
-
Get or download the project
-
Extract then rename folder reSlim-master to reslim
-
Open shell or CMD then go to src folder
cd reslim/src
-
Install it using Composer
composer install
-
Done
-
Create Database name reSlim in your MySQL/MariaDB
-
Execute or restore reSlim.sql which is located at resources/database/ folder
-
Edit config.php which is located at src/ folder
Just only this part,$config['db']['host'] = 'localhost'; $config['db']['user'] = 'root'; $config['db']['pass'] = 'root'; $config['db']['dbname'] = 'reSlim';
You can set the rest config later
-
Done
- Open your browser and visit >> http://localhost:1337/reslim/src/api/
Note: - My apache server is run on port 1337.
How to create new app or modules?
You can learn from documentation here >> Tutorial Create Module.
Or learn directly from this very simple project on Github.com.
- Upload all files inside folder src to your server
- Backup local database and then restore to your server database online
- Done
reSlim documentation is available on Wiki.
- Fork the reSlim repository
- Create a new branch for each feature or improvement
- Send a pull request from each feature branch to the develop branch