Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/znframework/package-authentication
- Owner: znframework
- License: mit
- Created: 2018-01-16T14:40:41.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-28T22:19:01.000Z (about 2 years ago)
- Last Synced: 2024-10-31T05:23:55.509Z (2 months ago)
- Language: PHP
- Size: 86.9 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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());
}
```