Download the PHP package smartbox/api-bundle without Composer
On this page you can find all versions of the php package smartbox/api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package api-bundle
API bundle
The API bundle allows you to create REST and SOAP APIs in a seamless way. It also auto generates documentation for both APIs
Installation and usage
To install the bundle, you just need to:
-
Add the repository to composer as:
-
Add it to your AppKernel.php file
-
Add to your config.yml file: imports:
- { resource: "@SmartboxApiBundle/Resources/config/config.yml" }
-
Ammend the previous config.yml file to determine your endpoints. You can see the output by running:
-
Add to your routing.yml file:
-
Create your own bundle
- Create a controller class extending from APIController like:
Tools
smartbox:api:generateSDK
Generate SDK for a given API.
Usage:
smartbox:api:export-list
Exports api and flows list into csv files. By default will be exported to /tmp
Usage:
Examples:
smartbox:api:generate-soapui
Generate a sample SoapUI project for a flow, using the api defined in a YAML test file.
Usage:
Examples:
smartbox:api:dumpPrintable
Dump the api documentation as a printable html file.
Usage:
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Tests
Check out the small test app within Tests/Fixtures/
History
v0.1.0: fixed small bug in ApiConfigurator v0.1.1: fixed small typo in template folder name for documentation v0.1.2: improvement for the documentation template for SOAP calls v0.1.3: added missing entity Ok v0.1.4: Improved support for arrays of entities as attribute of another entity v0.1.5: Readme.md file creation v0.1.6: Added WSI compliance v0.1.7: Removed exception handling for non rest calls v0.1.8: Added throttling v0.1.9: Added header propagation to SOAP
Contributors
Jose Rufino, Marcin Skurski, Luciano Mammino, Alberto Rodrigo
All versions of api-bundle with dependencies
symfony/symfony Version ~2.8 || ~3.4
symfony/assetic-bundle Version ~2.3
symfony/monolog-bundle Version ~2.4
sensio/distribution-bundle Version ^4.0 || ^5.0
sensio/framework-extra-bundle Version ^3.0
friendsofsymfony/rest-bundle Version ^1.7
nelmio/api-doc-bundle Version ^2.11.2
noxlogic/ratelimit-bundle Version ^1.5
snc/redis-bundle Version ~1.1 || ~2.1
predis/predis Version ^1.0
nikic/php-parser Version ^2.0@dev
psr/cache Version ^1.0
smartbox/core-bundle Version ~1.4
jms/serializer-bundle Version ^2.4
smartbox/besimple-soap Version ^1.3