-
-
Notifications
You must be signed in to change notification settings - Fork 396
Migration Guides
Darius Matulionis edited this page Sep 11, 2020
·
1 revision
- Remove
config/l5-swagger.php
file (make a copy if needed) - Remove
resources/views/vendor/l5-swagger
directory - Run
php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
to publish new swagger-ui view and configuration - Edit your
config/l5-swagger.php
file
- Remove
config/l5-swagger.php
file (make a copy if needed) - Remove
public/vendor/l5-swagger
directory - Remove
resources/views/vendor/l5-swagger
directory - Run
l5-swagger:publish
to publish new swagger-ui view and configuration - Edit your
config/l5-swagger.php
file
- Replace
$this->app->register('\Darkaonline\L5Swagger\L5SwaggerServiceProvider');
with$this->app->register(\L5Swagger\L5SwaggerServiceProvider::class);
in yourAppServiceProvider
or add\L5Swagger\L5SwaggerServiceProvider::class
line in yourconfig/app.php
file - Run
l5-swagger:publish-config
to publish new config and make your changes if needed - Remove
public/vendor/l5-swagger
directory - Remove
resources/views/vendor/l5-swagger
directory - Run
l5-swagger:publish-assets
to publish new swagger-ui assets - Run
l5-swagger:publish-views
to publish new views