PHPackages                             youngones/lightspeed - 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. youngones/lightspeed

AbandonedArchivedLibrary

youngones/lightspeed
====================

Simple gRPC alternative for existing projects.

123PHP

Since Jan 14Pushed 5y agoCompare

[ Source](https://github.com/Youngonesworks/Lightspeed)[ Packagist](https://packagist.org/packages/youngones/lightspeed)[ RSS](/packages/youngones-lightspeed/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://raw.githubusercontent.com/Youngonesworks/Lightspeed/master/docs/images/logo-readme.png "Lightspeed")](https://raw.githubusercontent.com/Youngonesworks/Lightspeed/master/docs/images/logo-readme.png)

 [![Total Downloads](https://camo.githubusercontent.com/5135d173827872d0cf172946a82822a24a3add0ab5f4382d3231ee12906cda91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796f756e676f6e65732f6c6967687473706565642e737667)](https://packagist.org/packages/laravel-zero/framework) [![Latest Stable Version](https://camo.githubusercontent.com/33cbe28afd0ebd1731b1d3701bd962c5e3231d794bc6b24d2c26a25083bdbd2d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f756e676f6e65732f6c6967687473706565642e7376673f6c6162656c3d737461626c65)](https://packagist.org/packages/laravel-zero/framework) [![License](https://camo.githubusercontent.com/02559c8eb5f46043d0afd5581c7f5a6acb997edc208870142a37b0e50694d8e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f796f756e676f6e65732f6c6967687473706565642e737667)](https://packagist.org/packages/laravel-zero/framework)

Lightspeed is a lightweight communication solution for distributed Laravel applications inspired by gRPC. Without Protocol buffers.

What Lightspeed essentially does is run your normal routes, but streams the output over a TCP socket. The data is encoded as [CBOR](https://cbor.io/).

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

[](#installation)

Via Composer

```
$ composer require youngones/lightspeed
```

Usage
-----

[](#usage)

### Server side:

[](#server-side)

1. Define the route you wish to request via Lightspeed:

```
// ./routes/web.php
Route::lightspeed('/test', 'TestController');
```

2. Start the Lightspeed server:

```
$ php artisan lightspeed:server start

```

### Client side:

[](#client-side)

```
// Create an instance of `\YoungOnes\Lightspeed\Client\Client`
$client = new \YoungOnes\Lightspeed\Client\Client();
// Create a request
$request = new \YoungOnes\Lightspeed\Requests\Request('127.0.0.1:9810', '/api/test', ['Authorization' => 'Bearer'])
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [author name](https://github.com/youngones)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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/2479aec6a88266a8a696016112333b5cd3edc5c332134408edcc04693633b6e4?d=identicon)[wesleyyoungones](/maintainers/wesleyyoungones)

### Embed Badge

![Health badge](/badges/youngones-lightspeed/health.svg)

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

PHPackages © 2026

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