You are viewing documentation for an outdated version. It is no longer supported!
Setup
Register Service Provider
Register ApiResourceServiceProvider
inside your config/app.php
.
return [
// ... previous not shown ... //
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
*/
'providers' => [
\Aedart\Http\Api\Providers\ApiResourceServiceProvider::class
// ... remaining services not shown ... //
],
];
Publish Assets
Run vendor:publish
to publish this package's assets.
php artisan vendor:publish
After the command has completed, you should see the following configuration file in your /configs
directory:
api-resources.php
Publish Assets for Athenaeum Core Application
If you are using the Athenaeum Core Application, then run the following command to publish assets:
php {your-cli-app} vendor:publish-all