Download the PHP package aldozumaran/laravel-quasar-init without Composer
On this page you can find all versions of the php package aldozumaran/laravel-quasar-init. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aldozumaran/laravel-quasar-init
More information about aldozumaran/laravel-quasar-init
Files in aldozumaran/laravel-quasar-init
Download aldozumaran/laravel-quasar-init
More information about aldozumaran/laravel-quasar-init
Files in aldozumaran/laravel-quasar-init
Vendor aldozumaran
Package laravel-quasar-init
Short Description Laravel and Quasar JWT auth
License MIT
Package laravel-quasar-init
Short Description Laravel and Quasar JWT auth
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-quasar-init
Laravel & Quasar JWT Auth
Backend
- Quasar 0.17 - branch 1.0
-
Quasar 1.0 - branch master
composer require aldozumaran/laravel-quasar-init
php artisan vendor:publish --provider="Mz2p\LaravelQuasarInit\LaravelQuasarInitServiceProvider"
php artisan jwt:secret
Edit app/Exceptions/Handler.php
<?php
namespace App\Exceptions;
use Mz2p\LaravelQuasarInit\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
}
Add middleware in app/Http/Kernel.php
'jwt' => \Mz2p\LaravelQuasarInit\Http\Middleware\JWT::class,
Change auth api driver
'guards' => [
'api' => [
'driver' => 'jwt',
'provider' => 'users',
],
],
Add in routes/api.php
LaravelQuasar::routes();
Edit User model:
<?php
namespace App;
use Mz2p\LaravelQuasarInit\Models\User as JwtUser;
class User extends JwtUser
{
}
And run server
php artisan serve
Frontend
cd resources/modules/admin
npm install
quasar dev
License
This package is open-sourced software licensed under the MIT license.
All versions of laravel-quasar-init with dependencies
PHP Build Version
Package Version
The package aldozumaran/laravel-quasar-init contains the following files
Loading the files please wait ....