Download the PHP package cgdsoftware/control-panel-api without Composer
On this page you can find all versions of the php package cgdsoftware/control-panel-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cgdsoftware/control-panel-api
More information about cgdsoftware/control-panel-api
Files in cgdsoftware/control-panel-api
Download cgdsoftware/control-panel-api
More information about cgdsoftware/control-panel-api
Files in cgdsoftware/control-panel-api
Vendor cgdsoftware
Package control-panel-api
Short Description Control Panel API for Laravel Enso
License MIT
Package control-panel-api
Short Description Control Panel API for Laravel Enso
License MIT
Please rate this library. Is it a good library?
Informations about the package control-panel-api
Control Panel API
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',
insideconfig/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 themanage-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.
All versions of control-panel-api with dependencies
PHP Build Version
Package Version
Requires
cgdsoftware/api Version
^1.2
cgdsoftware/core Version ^8.0
cgdsoftware/enums Version ^2.0
cgdsoftware/helpers Version ^2.0
cgdsoftware/logs Version ^4.0
cgdsoftware/action-logger Version ^3.1
cgdsoftware/control-panel-common Version ^2.0
cgdsoftware/core Version ^8.0
cgdsoftware/enums Version ^2.0
cgdsoftware/helpers Version ^2.0
cgdsoftware/logs Version ^4.0
cgdsoftware/action-logger Version ^3.1
cgdsoftware/control-panel-common Version ^2.0
The package cgdsoftware/control-panel-api contains the following files
Loading the files please wait ....