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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

Latest Stable Version Minimum PHP Version Build Status

Installation and usage

To install the bundle, you just need to:

  1. Add the repository to composer as:

  2. Add it to your AppKernel.php file

  3. Add to your config.yml file: imports:

    • { resource: "@SmartboxApiBundle/Resources/config/config.yml" }
  4. Ammend the previous config.yml file to determine your endpoints. You can see the output by running:

  5. Add to your routing.yml file:

  6. Create your own bundle

  7. 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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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

PHP Build Version
Package Version
Requires php Version >=7.0
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package smartbox/api-bundle contains the following files

Loading the files please wait ....