PHPackages                             usdol/govdatasdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. usdol/govdatasdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

usdol/govdatasdk
================

Composer package port for the U.S. Department of Labor's PHP SDK

09PHP

Since Oct 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/CristianHG2/PHP_DOLDataSDK)[ Packagist](https://packagist.org/packages/usdol/govdatasdk)[ RSS](/packages/usdol-govdatasdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP\_DOLDataSDK for Quarry API
==============================

[](#php_doldatasdk-for-quarry-api)

PHP SDK to ease access to DOL's and other federal agencies' APIs. For a list of APIs that this SDK has been tested against, please see the wiki. For documentation, please see the readme. For sample code, please visit .

NEWS
----

[](#news)

APIv1 and Quarry API are dually supported in this release.

Instructions
------------

[](#instructions)

To contribute samples, it is recommended to have some background on Git and GitHub.

Required files
--------------

[](#required-files)

GOVDataSDK.php is the SDK that contains the following classes:

1. GOVDataContext.php: The contextual class that assembles the configuration information based on the api (V1 or Quarry)
2. GOVDataRequest.php: Formats the curl request based on the context information

sample.php is the test script for GOVDataSDK

Usage
-----

[](#usage)

For APIv1
=========

[](#for-apiv1)

1. Go to [https://github.com/USDepartmentofLabor/PHP\_DOLDataSDK.git](https://github.com/USDepartmentofLabor/PHP_DOLDataSDK.git) and either GIT clone or download the zip repository
2. Open the folder PHP\_DOLDataSK-master and edit “sample.php”
3. To edit APIv1
4. Comment out the APIv2-Quarry $context variable
5. Uncomment //APIv1 $context variable and replace ADD\_YOUR\_API\_KEY\_HERE with your active APIv1 key
6. Enter your array arguments at line 27. (An example has been provided)
7. Save and run sample.php for the output

For Quarry API
==============

[](#for-quarry-api)

1. Go to [https://github.com/USDepartmentofLabor/PHP\_DOLDataSDK.git](https://github.com/USDepartmentofLabor/PHP_DOLDataSDK.git) and either GIT clone or download the zip repository
2. Open the folder PHP\_DOLDataSK-master and edit “sample.php”
3. To edit Quarry APIV2
4. Go to sample.php
5. Comment out //APIv1 $context variable
6. Uncomment //APIv2-Quarry $context variable
7. Enter your array arguments at line 37 (An example has been provided)
8. Save and run sample.php

Known Bugs
----------

[](#known-bugs)

N/A

AUTHORS and Contact
-------------------

[](#authors-and-contact)

Licenses
--------

[](#licenses)

All of the code in this repository is public domain software.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/94c3c286f59366c2c026802c5bd9ebb963affa818afed9d63f8b16991552b481?d=identicon)[CristianHG](/maintainers/CristianHG)

---

Top Contributors

[![Supreet7](https://avatars.githubusercontent.com/u/18743275?v=4)](https://github.com/Supreet7 "Supreet7 (13 commits)")[![johnsonpatrickk](https://avatars.githubusercontent.com/u/3799764?v=4)](https://github.com/johnsonpatrickk "johnsonpatrickk (9 commits)")[![MikePulsiferDOL](https://avatars.githubusercontent.com/u/1970829?v=4)](https://github.com/MikePulsiferDOL "MikePulsiferDOL (3 commits)")[![jeanniton](https://avatars.githubusercontent.com/u/8385748?v=4)](https://github.com/jeanniton "jeanniton (2 commits)")[![giridhar](https://avatars.githubusercontent.com/u/57400?v=4)](https://github.com/giridhar "giridhar (1 commits)")

### Embed Badge

![Health badge](/badges/usdol-govdatasdk/health.svg)

```
[![Health](https://phpackages.com/badges/usdol-govdatasdk/health.svg)](https://phpackages.com/packages/usdol-govdatasdk)
```

###  Alternatives

[hidehalo/emoji

filtes emoji symbols for you

31154.7k](/packages/hidehalo-emoji)[pantheon-systems/wordpress-composer

WordPress for Pantheon with a composer.json file.

13127.3k7](/packages/pantheon-systems-wordpress-composer)[jackbayliss/livewire-select2

Simple to use Livewire component for Select2

162.5k](/packages/jackbayliss-livewire-select2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
