{"__v":0,"_id":"575676128749830e00681ea9","category":{"version":"575676128749830e00681e82","project":"55a4d5531a5f991700a9409e","_id":"575676128749830e00681e8b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-05T08:52:46.805Z","from_sync":false,"order":6,"slug":"software-development-kit-sdk","title":"Software Development Kits"},"parentDoc":null,"project":"55a4d5531a5f991700a9409e","user":"55a4d483dad9d00d0071fd74","version":{"__v":2,"_id":"575676128749830e00681e82","project":"55a4d5531a5f991700a9409e","createdAt":"2016-06-07T07:21:54.005Z","releaseDate":"2016-06-07T07:21:54.005Z","categories":["575676128749830e00681e83","575676128749830e00681e84","575676128749830e00681e85","575676128749830e00681e86","575676128749830e00681e87","575676128749830e00681e88","575676128749830e00681e89","575676128749830e00681e8a","575676128749830e00681e8b","580c5ff36c35230f003d3b49"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-05T09:12:31.846Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"#Pre-requirements\n\n***Important**: PHP 5.4 added support for enc_type parameter. \nThis is required to get the HMAC authorisation to work with Base64 encoded HMACSHA256 key.\n\n#Getting Started\n\n1. Check out the files from urb-it repository.\n2. Add urb-it SDK (and dependencies) to your project.\n3. Do the initial configuration steps with your urb-it provided credentials and keys\n4. Try out the samples\n\n#Download\n##GitHub - Manual\nInformation how to download and make a copy of the urb-it GitHub repository/repo\n\nGitHub - Repo location\nhttps://github.com/urbitassociates/urbitphp\n\nClick the \"Download ZIP\" Button\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"git clone https://github.com/urbitassociates/urbitphp.git\",\n      \"language\": \"text\",\n      \"name\": \"Command\"\n    }\n  ]\n}\n[/block]\n##Composer - Packaged\n\nTBD: http://www.nuget.org/packages/urb-it ????\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"//Sample of a Composer.json file\\n{\\n    \\\"require\\\": {\\n        \\\"urbitphp/php-sdk\\\" : \\\"1.2.*\\\"\\n    }\\n}\\n\\n// then run\\ncomposer install\\n\\n//then in your php script - add\\nrequire 'vendor/urbitphpload.php';\\n\",\n      \"language\": \"text\",\n      \"name\": \"Command\"\n    }\n  ]\n}\n[/block]\nhttps://packagist.org/ ????\n\nInstallation\n\nConfiguration\n\n\n#Versioning\n##Upgrading\n\n\n#Step by step\n\n#Examples\n\n\n#Support","excerpt":"Getting Started with PHP","slug":"php","type":"basic","title":"PHP"}

PHP

Getting Started with PHP

#Pre-requirements ***Important**: PHP 5.4 added support for enc_type parameter. This is required to get the HMAC authorisation to work with Base64 encoded HMACSHA256 key. #Getting Started 1. Check out the files from urb-it repository. 2. Add urb-it SDK (and dependencies) to your project. 3. Do the initial configuration steps with your urb-it provided credentials and keys 4. Try out the samples #Download ##GitHub – Manual Information how to download and make a copy of the urb-it GitHub repository/repo GitHub – Repo location https://github.com/urbitassociates/urbitphp Click the "Download ZIP" Button [block:code] { "codes": [ { "code": "git clone https://github.com/urbitassociates/urbitphp.git", "language": "text", "name": "Command" } ] } [/block] ##Composer – Packaged TBD: http://www.nuget.org/packages/urb-it ???? [block:code] { "codes": [ { "code": "//Sample of a Composer.json file\n{\n \"require\": {\n \"urbitphp/php-sdk\" : \"1.2.*\"\n }\n}\n\n// then run\ncomposer install\n\n//then in your php script – add\nrequire ‘vendor/urbitphpload.php’;\n", "language": "text", "name": "Command" } ] } [/block] https://packagist.org/ ???? Installation Configuration #Versioning ##Upgrading #Step by step #Examples #Support