Download the PHP package originphp/user_authentication without Composer
On this page you can find all versions of the php package originphp/user_authentication. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download originphp/user_authentication
More information about originphp/user_authentication
Files in originphp/user_authentication
Package user_authentication
Short Description User Authentication Plugin for OriginPHP
License MIT
Informations about the package user_authentication
User Authentication Plugin
The User Authentication plugin, provides user registration, sending a welcome emails, changing passwords, verifying user email addresses using email notifications. This plugin takes less than 2 minutes to add to your application and provides you with everything you need to get started.
Installation
Install the the UserAuthentication
plugin
Setup
Load the AuthComponent
in the AppController
initialize method.
Load database schema for the User (you can change this later)
Load the Queue schema, which use for sending reset password and email verification notices.
Set the App.name
value in your config/application.php
Usage
To signup
To login
This will take you to the
loginRedirect
setting you setup in your AppController
To start the password reset process
http://localhost:8000/forgot_password
To view or edit your user profile
To view the API token
If you are not going to be using API tokens then you can remove the route from
config/routes.php
Creating App Source
To install the source into your app, and rename the namespaces, type in
Copy and paste the routes from plugins/user_authentication/config/routes.php
to the config/routes.php
Copy the database schema from plugins/user_authentication/database/schema.php
either into your existing schema file database/schema.php
or into a new file.
Uninstall the Plugin
What Next
Now its all working fine, it is time to copy the schema for the User Authentication plugin and the queues into your application/schema.php
.
Testing The Plugin
The controller integration test requires your AppController
loads the AuthComponent
, but other tests will run fine without this.
Load the schema for the UserAuthentication
plugin and queues into the test database
All versions of user_authentication with dependencies
originphp/filesystem Version ^2.0|^3.0
originphp/plugin-installer Version ^1.3|^2.0