PHPackages                             glhd/linearavel - 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. [Framework](/categories/framework)
4. /
5. glhd/linearavel

ActiveLibrary[Framework](/categories/framework)

glhd/linearavel
===============

0.0.3(2y ago)141.2k1MITPHP

Since Mar 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/glhd/linearavel)[ Packagist](https://packagist.org/packages/glhd/linearavel)[ RSS](/packages/glhd-linearavel/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (10)Versions (4)Used By (0)

 [ ![Build Status](https://github.com/glhd/linearavel/workflows/PHPUnit/badge.svg) ](https://github.com/glhd/linearavel/actions) [ ![Coverage Status](https://camo.githubusercontent.com/1de0ac3574fd0fd171989806647867bb6204b6841f1eb3e19d15caa52f2d4c9b/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39656365653630666230626135316166346665342f746573745f636f766572616765) ](https://codeclimate.com/github/glhd/linearavel/test_coverage) [ ![Latest Stable Release](https://camo.githubusercontent.com/626b798a5628f6b718b2be9a72e8aac3f58bf276ecc89fe2d2cbecf39cae83de/68747470733a2f2f706f7365722e707567782e6f72672f676c68642f6c696e6561726176656c2f762f737461626c65) ](https://packagist.org/packages/glhd/linearavel) [ ![MIT Licensed](https://camo.githubusercontent.com/8d89c1f7df9cda8df9dfaae1c59eedcc8bae92f7ec88dfed6bd202bce942a3f7/68747470733a2f2f706f7365722e707567782e6f72672f676c68642f6c696e6561726176656c2f6c6963656e7365) ](./LICENSE) [ ![Follow @inxilpro on Twitter](https://camo.githubusercontent.com/e6d0a3893c652423c3a7c6aa648ca6e98a3b06899551e17a2fe5b33528244dcb/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f696e78696c70726f3f7374796c653d736f6369616c) ](https://twitter.com/inxilpro)

Linearavel
==========

[](#linearavel)

Linearavel is a fully-featured Linear SDK for PHP and Laravel.

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

[](#installation)

```
composer require glhd/linearavel
```

Usage
-----

[](#usage)

Linear uses GraphQL which tends not to be particularly compatible with how PHP applications interact with APIs. This package attempts to bridge that gap—making API calls feel fluent but still exposing all the power of the Linear API.

A typical API call will look something like:

```
$viewer = Linear::viewer() // "viewer" is the name of the GraphQL query
    ->with('organization', 'id', 'name') // `with` lets you quickly retrieve nested fields
    ->get('id', 'name', 'active', 'avatarUrl', 'timezone'); // `get` defines the fields to retrieve
```

Calling `get()` will give you the query results directly. You can also call `response()` to get a `LinearResponse`—a custom [Saloon](https://docs.saloon.dev/) object that exposes things like `status()` and `headers()`as well as letting you `resolve()` the response into a fully-typed Linear data object.

```
assert($viewer instanceof Glhd\Linearavel\Data\User);
assert($viewer->name === 'Chris Morrell');
assert($viewer->organization instanceof Glhd\Linearavel\Data\Organization);
assert($viewer->organization->name === 'InterNACHI');
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 99.3% 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 ~50 days

Total

3

Last Release

738d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21592?v=4)[Chris Morrell](/maintainers/inxilpro)[@inxilpro](https://github.com/inxilpro)

---

Top Contributors

[![inxilpro](https://avatars.githubusercontent.com/u/21592?v=4)](https://github.com/inxilpro "inxilpro (138 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/glhd-linearavel/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M886](/packages/laravel-socialite)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M595](/packages/laravel-boost)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k13](/packages/laravel-surveyor)

PHPackages © 2026

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