定制 alimwa/api-auth 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alimwa/api-auth

最新稳定版本:v1.0.6

Composer 安装命令:

composer require alimwa/api-auth

包简介

A simple package that exposes endpoints for Token Based API authentication.

README 文档

README

Latest Version on Packagist Total Downloads GitHub Actions

Thanks to Taylor the majority of use who handle API based authentication and authorisation now have it easy and through the sanctum package. However, the package only allows for the management of access tokens and the permissions on them which is why after implementing authentication endpoints based of off sanctum I have decided like any other dev to create my own package that I aim to use throughout all my APIs.

I am to start by supporting the latest version of Laravel and then creating other version to add support for more. I will be following the PSR12 standard for those who wish to contribute and help maintain this package.

Installation

You can install the package via composer:

composer require alimwa/api-auth

Configuration

Once the package is installed you may run the following command to publish Sanctum bases resources.

php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"

Then migrate the database if it hasn't been already.

php artisan migrate

Usage

Once the package is installed you may run the following command view your new routes that you can access from SPAs and Mobile Apps.

php artisan route:list

Migrate

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

SecurityApp

If you discover any security related issues, please email lensig13@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

统计信息

  • 总下载量: 56
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固