https://github.com/arielmejiadev/json-api-auth
Laravel package to add authentication scaffold for Json APIs.
https://github.com/arielmejiadev/json-api-auth
authentication jwt laravel passport php restful-api sanctum
Last synced: 7 months ago
JSON representation
Laravel package to add authentication scaffold for Json APIs.
- Host: GitHub
- URL: https://github.com/arielmejiadev/json-api-auth
- Owner: ArielMejiaDev
- License: mit
- Created: 2021-01-21T04:36:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T17:10:31.000Z (almost 3 years ago)
- Last Synced: 2025-06-24T23:47:48.913Z (8 months ago)
- Topics: authentication, jwt, laravel, passport, php, restful-api, sanctum
- Language: PHP
- Homepage: https://json-api-auth.netlify.app/
- Size: 70.3 KB
- Stars: 26
- Watchers: 2
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README

# 🔐 Authentication scaffold for Json Apis.
[](https://packagist.org/packages/arielmejiadev/json-api-auth)
[](https://packagist.org/packages/arielmejiadev/json-api-auth)
It adds all the scaffold to get register, login, logout, forgot password, password verify and verify email account features for Apis.
It plays well with both authentication official packages Laravel Passport or Sanctum.
To learn all about it, head over to the extensive documentation.
## 👨💻 Installation
You can install the package via composer:
```bash
composer require arielmejiadev/json-api-auth --dev
```
## 📦 Usage
``` php
php artisan json-api-auth:install
```
### 🔬 Testing
``` bash
php artisan test
```
### 📚 Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## 👍 Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### 🔒 Security
If you discover any security related issues, please email arielmejiadev@gmail.com instead of using the issue tracker.
## 💎 Credits
- [Ariel Mejia Dev](https://github.com/arielmejiadev)
- [All Contributors](../../contributors)
## 📓 License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Support the project
Hey 👋 thanks for considering making a donation, with these donations I can continue working to contribute to opensource projects.