PHPackages                             linkorb/infra-sdk - 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. linkorb/infra-sdk

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

linkorb/infra-sdk
=================

Infra SDK: Utils for your custom PHP-based infra scripts

v1.1.0(6y ago)01931MITPHPPHP &gt;=5.3.0CI failing

Since Mar 19Pushed 6y ago2 watchersCompare

[ Source](https://github.com/linkorb/infra-sdk-php)[ Packagist](https://packagist.org/packages/linkorb/infra-sdk)[ Docs](http://www.github.com/linkorb/infra-sdk-php)[ RSS](/packages/linkorb-infra-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (1)

infra-sdk
=========

[](#infra-sdk)

A set of practical utilities to use in your custom PHP-based [infra](https://github.com/linkorb/infra) scripts.

### query

[](#query)

```
$data = \Infra\Sdk\Utils::query($graphql); // executes `infra query` and returns the response as an array
```

### getArguments

[](#getarguments)

You can let Infra SDK parse your command line arguments against a [docopt](http://docopt.org/) definition.

Simply include a file with the exact same name as your script, but with a ".md" file extension, and Infra SDK will extract the docopt definition and parse your command line arguments.

```
$arguments = \Infra\Sdk\Utils::getArguments();
```

License
-------

[](#license)

MIT. Please refer to the [license file](LICENSE) for details.

Brought to you by the LinkORB Engineering team
----------------------------------------------

[](#brought-to-you-by-the-linkorb-engineering-team)

[![](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).

Btw, we're hiring!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~73 days

Total

5

Last Release

2317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (6 commits)")

---

Tags

phplinkorbinfraiptablesfirwall

### Embed Badge

![Health badge](/badges/linkorb-infra-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/linkorb-infra-sdk/health.svg)](https://phpackages.com/packages/linkorb-infra-sdk)
```

PHPackages © 2026

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