Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/znframework/package-authentication

ZN Framework Authentication Package
https://github.com/znframework/package-authentication

Last synced: about 2 months ago
JSON representation

ZN Framework Authentication Package

Awesome Lists containing this project

README

        










ZN Framework Authentication Package



Follow the steps below for installation and use.

Installation



You only need to run the following code for the installation.

```
composer require znframework/package-authentication
```

Documentation



Click for documentation of your library.

Example Usage



Basic level usage is shown below.

```php
Post::username(),
'password' => Post::password(),
'usermail' => Post::email(),
'address' => Post::address(),
'phone' => Post::mobilePhone()
],
'users/login'
);

Output::display(User::error());
```
```php
use ZN\Request\Post;

$status = User::login(Post::username(), Post::password(), Post::rememberMe());

if( $status === false )
{
redirect(URL::prev());
}
```