Download the PHP package ikoene/marvel-api-bundle without Composer
On this page you can find all versions of the php package ikoene/marvel-api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ikoene/marvel-api-bundle
More information about ikoene/marvel-api-bundle
Files in ikoene/marvel-api-bundle
Package marvel-api-bundle
Short Description A Symfony bundle that provides a Marvel API client service.
License MIT
Informations about the package marvel-api-bundle
Marvel API bundle
The Marvel Comics API allows developers everywhere to access information about Marvel's vast library of comics—from what's coming up, to 70 years ago. This Marvel API bundle helps you explore the Marvel universe with great ease.
Requirements
- PHP 7.1.0
- Marvel API key
- Love for Marvel
Installation
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
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: Configure the Bundle
Usage
Endpoints
You can call every endpoint with an explicitly defined method. So if you, for example, want a list of comics containing a specific character, you can call getComicsForCharacter()
.
Optional filters
It's also possible to add optional filters to the calls. Let's get all comics for 'Spider-Man' which title starts with 'Age of Ultron' and order the results by 'title'.
Pretty easy, right?