PHPackages                             codegor/laravel-vuex-resapi - 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. codegor/laravel-vuex-resapi

ActiveLibrary[API Development](/categories/api)

codegor/laravel-vuex-resapi
===========================

A laravel part of Vuex-laravel-resource-api for web socket events.

11PHP

Since Sep 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/codegor/laravel-vuex-resapi)[ Packagist](https://packagist.org/packages/codegor/laravel-vuex-resapi)[ RSS](/packages/codegor-laravel-vuex-resapi/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Codegor/laravel-vuex-resapi
===========================

[](#codegorlaravel-vuex-resapi)

[![Laravel](https://camo.githubusercontent.com/fb827c6743f59c9a9a0bff92a44c05064e70510d1aa04ae0ddfb1cb9d330a105/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d7e352e362d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Source](https://camo.githubusercontent.com/fb32be747684c79a08ac21b33e366959c8bea1b915d8d8a62ad163bf10db3645/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d636f6465676f722f6c61726176656c2d2d767565782d2d7265736170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/codegor/laravel-vuex-resapi/)[![Build Status](https://camo.githubusercontent.com/9098d0d4fa8f4a1e519e0f78cb3fd6c3fd17c54187a2926606a98a86bfe7cdd7/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f636f6465676f722f6c61726176656c2d2d767565782d2d7265736170692f6c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/codegor/laravel-vuex-resapi/)[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)[![Total Downloads](https://camo.githubusercontent.com/f44209738f01da79fc580c73375eeead0016ce76f91e85691eaa103d3f4056d4/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6465676f722f6c61726176656c2d2d767565782d2d7265736170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codegor/laravel-vuex-resapi/)

This is a laravel event part of Vuex API library for Laravel REST Controller, with model example. When you want to use Laravel Echo with [vuex-laravel-resource-api](https://www.npmjs.com/package/vuex-laravel-resource-api) this is a backend for broadcasting event of Laravel Echo.

How to use?
===========

[](#how-to-use)

In a model at the boot section you can emmit WS event for [Resapi](https://www.npmjs.com/package/vuex-laravel-resource-api).

Like this:

```
//...
use Codegor\Resapi\Events\UpdateData;

class Manager extends Model {
    protected static function boot() {
      // ...
      static::saved(function($m){broadcast(new UpdateData('manager', $m->user_id))->toOthers();});
    }

    // ...
}
```

See example/Manager.php for fool example.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9e386856732356d04640e20335a035d8c57642724bfbc084bb24c59c51ec44a?d=identicon)[codegor](/maintainers/codegor)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/codegor-laravel-vuex-resapi/health.svg)

```
[![Health](https://phpackages.com/badges/codegor-laravel-vuex-resapi/health.svg)](https://phpackages.com/packages/codegor-laravel-vuex-resapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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