PHP code example of techlify-inc / laravel-user-management
1. Go to this page and download the library: Download techlify-inc/laravel-user-management library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
techlify-inc / laravel-user-management example snippets
// Get the set of users
GET api/users
// Get a single user
GET api/users/{id}
// Add a new user
POST api/users
// Update a user record
PATCH api/users/{id}
// Delete a user record
DELETE api/users/{id}
// Change the current user password
POST api/user/current/update-password {current_password, new_password}
// Log out the currently logged in user
POST api/user/logout
// Get the User record of the currently logged in user
GET api/user/current
$ php artisan migrate