https://github.com/wintercms/wn-passport-plugin
Laravel Passport integration for Winter CMS
https://github.com/wintercms/wn-passport-plugin
hacktoberfest
Last synced: 2 months ago
JSON representation
Laravel Passport integration for Winter CMS
- Host: GitHub
- URL: https://github.com/wintercms/wn-passport-plugin
- Owner: wintercms
- License: mit
- Created: 2017-11-16T02:43:59.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-20T07:23:59.000Z (9 months ago)
- Last Synced: 2025-05-06T23:23:57.765Z (2 months ago)
- Topics: hacktoberfest
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 12
- Watchers: 6
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wintercms - Winter.Passport - Laravel Passport integration. (Uncategorized / Uncategorized)
README
# Passport Plugin
[](https://github.com/wintercms/wn-passport-plugin/blob/main/LICENSE)
Laravel Passport integration for WinterCMS.
## Installation
This plugin is available for installation via [Composer](http://getcomposer.org/).
**NOTE:** This is a WORK-IN-PROGRESS BETA plugin for integrating Laravel Passport with WinterCMS. It is not complete, and no guarantees are made in regards to it's working condition. Please test out and offer improvements / bug reports.
```bash
composer require winter/wn-passport-plugin
```After installing the plugin you will need to run the migrations and (if you are using a [public folder](https://wintercms.com/docs/develop/docs/setup/configuration#using-a-public-folder)) [republish your public directory](https://wintercms.com/docs/develop/docs/console/setup-maintenance#mirror-public-files).
```bash
php artisan migrate
```Following https://laravel.com/docs/10.x/passport#installation would have you run `php artisan passport:install`. Read https://laravel.com/docs/10.x/passport for more information on using Passport.
**NOTE:** The default backend user model is extended to work with Passport via the `Winter\Passport\Models\BackendUser` model, use that instead of `Backend\Models\User` when working with Passport.