Download the PHP package paneedesign/api-bundle without Composer
On this page you can find all versions of the php package paneedesign/api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download paneedesign/api-bundle
More information about paneedesign/api-bundle
Files in paneedesign/api-bundle
Package api-bundle
Short Description Api management for Symfony3 projects.
License proprietary
Homepage http://www.paneedesign.com/
Informations about the package api-bundle
Pane e Design - Api Bundle
Api management for Symfony3 projects.
Installation
Step 1: Download the Bundle
Pane&Design repository is private so, add to composer.json
this vcs
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Step 3: Configurations
Add parameters
Add configuration
Implement API
Generate client
Upgrade from 2.x to 3.x
- rename getApiKeyAccessToken in getOAuthToken
- change signature of
throwRefreshTokenJsonException
fromprotected function throwRefreshTokenJsonException(JsonException $jsonException, $expiredAt)
toprotected function throwRefreshTokenJsonException(\OAuth2\OAuth2ServerException $oAuthException)
- change signature of
refreshTokenResponse
fromprotected function refreshTokenResponse(User $user, $accessToken)
toprotected function refreshTokenResponse(User $user, array $oAuthToken)
- remove
api_access_token_expire_at
andapi_refresh_token_expire_at
from parameters - add
api_client_id
andapi_client_secret
to parameters
All versions of api-bundle with dependencies
symfony/framework-bundle Version ^3.2
friendsofsymfony/oauth-server-bundle Version ^1.6
adoy/oauth2 Version ^1.3
nelmio/api-doc-bundle Version ^3.1
friendsofsymfony/rest-bundle Version ^2.3
jms/serializer-bundle Version ^2.0