-
-
Notifications
You must be signed in to change notification settings - Fork 13
Installation
Vladimir Jimenez edited this page Oct 14, 2015
·
5 revisions
Using PhpSoda in your project couldn't get easier.
One way to start using PhpSoda in your project is by using Composer and requiring the php-soda
package.
php composer.phar require allejo/php-soda
Using an autoloader isn't always the simplest solution when Composer isn't being used. The second official method of using PhpSoda is using the Phar file provided on the Releases page. Simply download the Phar file and include or require it in your PHP script and it can be used as easily as soda-php.
<?php
include "phpsoda.phar";
use allejo\Socrata\SodaClient;
$sc = new SodaClient("opendata.socrata.com");
Found an issue? Something not clear? Submit an issue to let us know!