Download the PHP package denysloshkarev/laravel-api without Composer
On this page you can find all versions of the php package denysloshkarev/laravel-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download denysloshkarev/laravel-api
More information about denysloshkarev/laravel-api
Files in denysloshkarev/laravel-api
Download denysloshkarev/laravel-api
More information about denysloshkarev/laravel-api
Files in denysloshkarev/laravel-api
Vendor denysloshkarev
Package laravel-api
Short Description The Laravel Api Module.
License MIT
Homepage https://github.com/dskripchenko/laravel-api
Package laravel-api
Short Description The Laravel Api Module.
License MIT
Homepage https://github.com/dskripchenko/laravel-api
Please rate this library. Is it a good library?
Informations about the package laravel-api
Installation
or add
to the section of your composer.json file.
Usage
See
- make
ApiModuleextended fromDskripchenko\LaravelApi\Components\BaseModule - make
Apiextended fromDskripchenko\LaravelApi\Components\BaseApi - define
getMethodsmethod - override
getApiVersionListinApiModule, return array of['version' => Api::class] - make
ApiServiceProviderextended fromDskripchenko\LaravelApi\ApiServiceProvider - override
getApiModulein newApiServiceProvider - register
ApiServiceProvider
Api methods template
AutoDoc comments to swagger
Available types
Facades
- ApiRequest
- getApiVersion
- getApiMethod
- getApiControllerKey
- getApiActionKey
- ApiModule
- getApiPrefix
- getAvailableApiMethods
- getApiUriPattern
- getControllerNamespace
- getApiMiddleware
- getApiVersionList
- makeApi
- ApiErrorHandler
- addErrorHandler
- handle
Helpers
- ApiResponseHelper
- say
- sayError
- ArrayMergeHelper
- merge //deep array merge
Example
- register
Dskripchenko\LaravelApiExample\ExampleApiServiceProvider - run
php artisan vendor:publish - run
php artisan storage:link - open
/api/doc
All versions of laravel-api with dependencies
PHP Build Version
Package Version
The package denysloshkarev/laravel-api contains the following files
Loading the files please wait ...