PHP code example of adamthehutt / propublica-php
1. Go to this page and download the library: Download adamthehutt/propublica-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
adamthehutt / propublica-php example snippets
use AdamTheHutt\ProPublica\NonprofitExplorer\Organizations\Request;
$propublica = new Request();
$valid = $propublica->validEin("123456789");
\\ false because that's not real organization's EIN
$response = $propublica->get("53-0196605");
\\ $response->organization->name ... American National Red Cross
\\ $response->organization->nteeCode ... P210
bash
composer