PHP Classes

PHP REST API Boiler Plate: Provide API with user access management functions

Recommend this page to a friend!
  Info   View files Documentation   View files View files (112)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-05-15 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 58 This week: 58All time: 9,710 This week: 6Up
Version License PHP version Categories
api-boiler-plate 1.0The PHP License7User Management, Web services, PHP 7, T...
Description Author

This package can provide API with user access management functions.

It provides the basis of implementation of a REST API that already have API functions that can be user to manipulate records of users that may have access to user accounts. Currently it provides functions for:

- User authentication functions like login, register, verify email, password recovery, password reset
- User account create, retrieve, update and delete
- User account role create, retrieve, update, delete and permission assignment
- User account permissions create, retrieve, update and delete

  Performance   Level  

 

Details

About Rapido Api Boiler Plate

This is a complete api boiler plate that allows you to easily set up and get your development work going without any hassle. The boiler plate is built on Laravel, one of PHP's most popular framework. It is developed by rheedwahn. The boiler plate has the following implementation out of the box

  • User Authentication using laravel passport for token management
  • User Registration
  • Roles Management
  • Permissions Management
  • Role Based Access Level Control (This can be modified to permission based for granular control)
  • Profile Management

Api Endpoints

To download the postman collection, please click on this link. The endpoints has the following folder structure

  • Auth - Login Request - Register Request - Verify Email Request - Temporary Login Request - Forgot Password Request - Reset Password Request
  • User - Me Request - Update Request - Store Request - Update User by Admin Request - Delete Request - List Request
  • Roles - List Request - Store Request - Update Request - Delete Request - Assing Permissions to Role Request
  • Permissions - List Request - Store request - Update Request - Delete Request

Installation

Setting up this boiler plate is easy especially for those familiar with the laravel ecosystem. The following steps are required to get this up and running

  • Clone the project
  • Run composer install to install dependency
  • Copy the .env.example to .env file
  • Set up the database credentials to suit your configuration
  • Run php artisan migrate to migrate the tables into your database
  • Run php artisan passport:install to get your personal access client and grant created
  • Run php artisan db:seed to seed an initial user to your users table
  • Download the postman collection from the link above
  • Import the downloaded collection
  • Serve the application on any port of your choice

Todo

  • Implement Unit and feature tests on all the functionalities

Contributing

For anyone willing to contribute to this boiler plate, please dont hesitate to open a PR with your contributions

Security Vulnerabilities

If you discover a security vulnerability within this boiler plate, please open a PR with your fixes.

License

Rapido Api boiler plate is open-sourced software licensed under the MIT license.

  Files folder image Files  
File Role Description
Files folder imageapp (12 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (15 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (3 files)
Files folder imageresources (4 directories)
Files folder imageroutes (4 files)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file package-lock.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:58
This week:58
All time:9,710
This week:6Up

For more information send a message to info at phpclasses dot org.