syedarifiqbal/fleetcart-api

There is no license information available for the latest version (dev-main) of this package.

dev-main 2021-02-11 15:50 UTC

This package is auto-updated.

Last update: 2024-04-11 22:35:54 UTC


README

First install the package with the following command.

composer require arif/fleetcart-api

After that you have to open your User Model and add this Trait HasApiToken

Open Modules\Core\Providers\CoreServiceProvider.php and go to $middleware array and replace the namespace of auth middleware with this \Arif\FleetCartApi\Http\Middleware\Authenticate::class