├── LICENSE └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Keith Casey 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | The Unofficial Marvel PHP Library 3 | ========== 4 | 5 | This is a helper library for the Marvel Comics API - http://developer.marvel.com/ 6 | 7 | All characters - no matter how awesome they are - are owned by Marvel Comics. Also, if you use this library, make sure you follow their attribution rules: http://developer.marvel.com/documentation/attribution 8 | 9 | ## Ongoing Development 10 | 11 | This PHP library is no longer maintained here. You can still download and install it via Composer as described below. 12 | 13 | If you want to make requests, changes, or have suggestions, visit this repository on Gitlab: 14 | 15 | https://gitlab.com/CaseySoftware/marvel-php 16 | 17 | ### Installing via Composer 18 | 19 | The recommended way to install the Marvel library is through [Composer](http://getcomposer.org). 20 | 21 | ```bash 22 | # Install Composer 23 | curl -sS https://getcomposer.org/installer | php 24 | 25 | # Add the library as a dependency 26 | php composer.phar require caseysoftware/marvel-helper ~2.0 27 | ``` 28 | 29 | or alternatively, you can add it directly to your `composer.json` file. 30 | 31 | ```json 32 | { 33 | "require": { 34 | "caseysoftware/marvel-helper": "~2.0" 35 | } 36 | } 37 | ``` 38 | 39 | Then install via Composer: 40 | 41 | ```bash 42 | composer install 43 | ``` 44 | 45 | Finally, require Composer's autoloader in your PHP script: 46 | 47 | ```php 48 | require __DIR__.'/vendor/autoload.php'; 49 | ``` --------------------------------------------------------------------------------