Download the PHP package helllomatt/aspen-user-api without Composer
On this page you can find all versions of the php package helllomatt/aspen-user-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download helllomatt/aspen-user-api
More information about helllomatt/aspen-user-api
Files in helllomatt/aspen-user-api
Download helllomatt/aspen-user-api
More information about helllomatt/aspen-user-api
Files in helllomatt/aspen-user-api
Vendor helllomatt
Package aspen-user-api
Short Description API module for the ASPEN framework to manage users and authentication.
License MIT
Package aspen-user-api
Short Description API module for the ASPEN framework to manage users and authentication.
License MIT
Please rate this library. Is it a good library?
Informations about the package aspen-user-api
ASPEN User API
This is an API used to allow for user management using the ASPEN framework. Users can:
- Register new accounts
- Activate accounts
- Reset passwords via request
- Log in via OAuth2 or Session
- Update information (when logged in)
- Change their password (when logged in)
How to install
There's two parts: firstly install the package, secondly set up the database.
Installing the package:
Setting up the database:
- Navigate to the package
.../vendor/helllomatt/aspen-user-api
- In the root folder you'll find
db.sql
- Import
db.sql
into your database
Code updates
In your index.php
file there are two changes that need to be made.
- Add
session_start()
underrequire 'vendor/autoload.php'
(if you plan to use session based auth) - Add
vendor/helllomatt/aspen-user-api
to the manager'sload()
array
After that, you're ready to use the API.
Running tests
Tests require an actual database connection.
Modify the phpunit.xml
file to reflect your database setup for running tests.
All versions of aspen-user-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
helllomatt/double Version ^1.1
helllomatt/basically Version ^0.3
bshaffer/oauth2-server-php Version ~1.8
helllomatt/double Version ^1.1
helllomatt/basically Version ^0.3
bshaffer/oauth2-server-php Version ~1.8
The package helllomatt/aspen-user-api contains the following files
Loading the files please wait ....