PHPackages                             combindma/hygraph-api - 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. [API Development](/categories/api)
4. /
5. combindma/hygraph-api

ActiveLibrary[API Development](/categories/api)

combindma/hygraph-api
=====================

Hygraph Api

4.1.0(2mo ago)090MITPHPPHP ^8.4CI passing

Since Jan 22Pushed 2mo agoCompare

[ Source](https://github.com/combindma/hygraph-api)[ Packagist](https://packagist.org/packages/combindma/hygraph-api)[ Docs](https://github.com/combindma/hygraph-api)[ RSS](/packages/combindma-hygraph-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (12)Used By (0)

Hygraph Api
===========

[](#hygraph-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/db43cf8b9ca685f7953f87c2b4966a578ad696600137ac831bd721d0fb22e329/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6d62696e646d612f687967726170682d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/combindma/hygraph-api)[![GitHub Tests Action Status](https://camo.githubusercontent.com/267e1f568f97869e408363a806987cd1202ff582fd2e5526826cbf6356ddab72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636f6d62696e646d612f687967726170682d6170692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/combindma/hygraph-api/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d368506dba872f5cf62975d644e575cb4dd195077b0b2213c00ddc7f69d83ac7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636f6d62696e646d612f687967726170682d6170692f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/combindma/hygraph-api/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/21a38cc3dcab4a50aba91909e4422c20ab71f58259c806ec9ffc20d1d27b94b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6d62696e646d612f687967726170682d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/combindma/hygraph-api)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require combindma/hygraph-api
```

You can publish the config file with:

```
php artisan vendor:publish --tag="hygraph-api-config"
```

This is the contents of the published config file:

```
return [
        'content_api' => env('HYPGRAPH_CONTENT_API', ''),
        'token' => env('HYPGRAPH_TOKEN', ''),
        'cache_ttl' => env('HYPGRAPH_CACHE_TTL', 60 * 60 * 24 * 30),
];
```

Usage
-----

[](#usage)

```
use Combindma\HygraphApi\Facades\SeoHelper;
use Combindma\HygraphApi\Facades\HygraphApi;

SeoHelper::homepage(HygraphApi::page('xxxxx'));
SeoHelper::page(HygraphApi::page('xxxx'));

$post = HygraphApi::article($slug);
SeoHelper::article($post);
```

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Combind](https://github.com/combindma)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance88

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~115 days

Recently: every ~240 days

Total

11

Last Release

60d ago

Major Versions

1.3.0 → 2.0.02023-07-18

2.0.1 → 3.0.02023-10-11

3.1.0 → 4.0.02025-10-29

PHP version history (3 changes)1.0.0PHP ^8.1

3.1.0PHP ^8.2

4.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/31b418bcbabafab33631fd151a64d3e18035f728ad195814aa4656d862610fcd?d=identicon)[combindma](/maintainers/combindma)

---

Top Contributors

[![omarherri](https://avatars.githubusercontent.com/u/12627384?v=4)](https://github.com/omarherri "omarherri (1 commits)")

---

Tags

laravelcombindmahygraph-api

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/combindma-hygraph-api/health.svg)

```
[![Health](https://phpackages.com/badges/combindma-hygraph-api/health.svg)](https://phpackages.com/packages/combindma-hygraph-api)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M57](/packages/dedoc-scramble)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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