Aug 11, 2018
68 Views
0 0

PHP User Manager

Written by

LIVE PREVIEWBUY FOR $25

User Manager PHP Application

The program performs user and roles management and helps support the Single Sign On (SSO) concept for your PHP applications without having to create user administration application over and over for each new site. You can also use the same application and database with different domains using another configuration that can be linked to a specific domain

forums
documents
Frequently asked questions

Demo sites

The package contains three web applications: User Roller Manager and two sample websites that demonstrate how to use it. Just drop the contents of the User Roller Manager folder to your Apache site, run it in broswer and use the setup wizard to configure all parameters.

Client's website

You have the opportunity to use the User Manager as a single sign of solution with different client sites. The following client sites are supported:

  • Free-standing PHP pages (an example is included)
  • Codeigner 3.1 frame pages (an example is included)
  • Laravel 5.3 frame pages (an example is included)

Cross domain authentication

1. Add domain to domain management page
2. Add user that will be used for server for server API calls
3. Create the API Token for that user
3. Include security.php file for your project from UserRolesManager.Example.Client.Simple
5. Copy and paste user email and token (as you created) to security.php



define (& # 39; APP_API_AUTHENTICATION & # 39; true); // <- true
define (& # 39; APP_API_ENDPOINT & # 39 ;, & # 39; http: // userappdomain / api & # 39;);
define (& # 39; APP_API_USER & # 39 ;, & # 39; your monkey user & # 39;);
define (& # 39; APP_API_TOKEN & # 39 ;, & # 39; you use the API Token & # 39;);

and do not forget to set your user administration app URL:



define (& # 39; APP_USER_MANAGEMENT_URL & # 39; URL_PROTOCOL. & us; username domain & # 39;);

6. Add the following code next to your page

Then, if the user is not authenticated, he or she will be redirected to the user's login page. After the approval process, the user is redirected back to your page.

The steps above can be used for all of your sites without the development of the authentication program whenever you need it, so you want users and roles centralized workshop.

The security.php file contains a feature for user roles, so you can limit the visibility of the content to these roles.

Changelog



v1.0.1 - september 09, 2016 (update)
- Laravel client sample application has been added
1. Change .env file
SESSION_DOMAIN = .localhost.com (or .dindomain.com if you have a domain)
2. You must create a user.
3. Click Edit User -> API tab, click Generate API Token & Secret Key
4. Open /appSSO/Libraries/security.php file
5. Copy and paste user email and token:
define (& # 39; APP_API_AUTHENTICATION & # 39; true); // <- true
            define('APP_API_ENDPOINT', 'http://userappdomain/api');
            define('APP_API_USER', 'user email');
            define('APP_API_TOKEN', 'token');

v1.0.1 - August 28, 2016 (update)
- Codeigniter client example application has been added;

    User Roles Manager App:
        1. You need to create a user.
        2. Click on Edit User ->The API tab click Generate API Token & Secret Key
3. Open programs / libraries / security.php file
4. Copy and paste user email and token:
(Do not forget to set the correct API Endpoint URL)
define (& # 39; APP_API_AUTHENTICATION & # 39; true); // <- true
            define('APP_API_ENDPOINT', 'http://userappdomain/api');
            define('APP_API_USER', 'user email');
            define('APP_API_TOKEN', 'token');

v1.0.1 - August 15, 2016
 - Twitter bootstrap & schemes update to 3.3.7
 - Sub directory installation (Multiple installation in a subdirectory)
 - Cross domain authentication simple implementation

      User Roles Manager App:
        1. You need to create a user.
        2. Click on Edit User ->The API tab click Generate API Token & Secret Key

Advance Example:
1. Open  application  modules  Configuration  Config.php
2. Copy and paste user email and token:
define (& # 39; APP_API_AUTHENTICATION & # 39; true); // <- true:
define (& # 39; APP_API_ENDPOINT & # 39 ;, & # 39; http: // userappdomain / api & # 39;);
define (& # 39; APP_API_USER & # 39 ;, & # 39; use email & # 39;);
define (& # 39; APP_API_TOKEN & # 39 ;, & # 39; token & # 39;);

Simple example:
1. Open the security.php file
2. Copy and paste user email and token:
define (& # 39; APP_API_AUTHENTICATION & # 39; true); // <- true
define (& # 39; APP_API_ENDPOINT & # 39 ;, & #;; http: // http: // userappdomain / api & # 39;);
define (& # 39; APP_API_USER & # 39 ;, & # 39; use email & # 39;);
define (& # 39; APP_API_TOKEN & # 39 ;, & # 39; token & # 39;);

v1.0.0 - August 4, 2016
- First release

installation wizard


Protect existing PHP pages

Simply copy / paste 5 lines of code and it will protect any PHP page.

Sub-directory installation support

You can also install the root directory and multiple subfolders.

Bootstrap-powered

Designed with multi-purpose Bootstrap-powered HTML templates, it will look the same in all modern popular browsers. For free boots watch themes are included.

Fat-free

The application is based on extremely light micro frames without the use of heavy components. Standard modules and features have only been used.

Multisite Support

Multi-site and multi-configuration support. Use the same site instance to control different sites and their users and roles.

Author's support

You are welcome to the author's technical support forums Ask questions and leave your wishes and ideas and wishes.

Source

Article Tags:
Article Categories:
Php Scripts
ThemeForest best selling themes

Jaeho Park completed a Master in Fine Arts at the Hongik University in 1999, followed by a Master in Photographic Studies at the University of Westminster in 2012. After working for many years as a university professor, designer and curator in South Korea.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.