Skip to content

Commit

Permalink
Fixed namespace issue for autoload dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chirag Chudasama committed May 1, 2020
1 parent 02d989c commit 1cd2812
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 15 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"name": "zgetro/php-i-tunes-api",
"description": "just a wrapper of itune open api.",
"description": "just a wrapper of itune open api. https://github.com/ijanerik/PHP-iTunes-API",
"keywords": ["A super simple API for reading the iTunes content.", "iTunes content", "iTunes lookup","iTunes search"],
"authors": [
{
"name": "Chirag Chudasama",
"email": "[email protected]"
}
],
"require": {}
"license": "MIT License",
"minimum-stability": "stable",
"require": {
"php": ">=5.3.0"
},
"autoload":{
"psr-0": {
"zgetro\\PHPiTunesAPI\\" : "src/"
},
"psr-4": {
"zgetro\\PHPiTunesAPI\\" : "src/"
}
}
}
4 changes: 4 additions & 0 deletions classes/itunes.php → src/itunes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php


/**
* iTunes class.
*
Expand All @@ -12,6 +13,9 @@
*
* @see http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.htm For more information about the configuration
*/

namespace zgetro\PHPiTunesAPI;

class itunes
{
const API_LOOKUP = 'http://itunes.apple.com/lookup?';
Expand Down

0 comments on commit 1cd2812

Please sign in to comment.