承接 laravel-enso/control-panel-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

laravel-enso/control-panel-api

最新稳定版本:3.6.1

Composer 安装命令:

composer require laravel-enso/control-panel-api

包简介

Control Panel API for Laravel Enso

README 文档

README

Control Panel API

Codacy Badge StyleCI License Total Downloads Latest Stable Version

The package depends on the Laravel/Passport official package.

Installation

Follow the next steps for completing the Passport package install:

  • run composer require laravel-enso/ControlPanelApi
  • run php artisan migrate
  • run php artisan passport:install
  • set 'driver' => 'passport', inside config/auth.php for the api guard.
  • publish the laravel passport FE components: php artisan vendor:publish --tag=passport-components
  • register the components in resources/js/app.js
    • Vue.component('passport-clients', require('./components/passport/Clients.vue'));
    • Vue.component('passport-authorized-clients', require('./components/passport/AuthorizedClients.vue'));
    • Vue.component('passport-personal-access-tokens', require('./components/passport/PersonalAccessTokens.vue'));
  • compile the js assets npm run dev, gulp, etc.
  • include the component <passport-clients></passport-clients> where desired. Optionally, you may use the manage-oauth-tokens permission to allow just admins to manage the clients.

Next steps are required for this package:

  • Use the FE to define an OAuth client, and take note of the ID and the secret (you'll need these in the client that consumes the services)

Note The packages comes with the manage-oauth-tokens policy that allows you to only show the passport-clients VueJS component to admins.

Contributions

are welcome. Pull requests are great, but issues are good too.

License

This package is released under the MIT license.

统计信息

  • 总下载量: 41.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固