PHPackages                             ricardotano/livedit - 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. ricardotano/livedit

ActiveLaravel-service[Utility &amp; Helpers](/categories/utility)

ricardotano/livedit
===================

Good old way to know who is where in your site

0.2.0(9y ago)09GPL-3.0+PHP

Since May 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/RocketFever22/livedit)[ Packagist](https://packagist.org/packages/ricardotano/livedit)[ RSS](/packages/ricardotano-livedit/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Livedit
=======

[](#livedit)

A simple Laravel 5 package that offers a standarized way to query for resource usage. Ideal for not intensive and not-so-real time resource tracking.

Package requirements
--------------------

[](#package-requirements)

This is a [Laravel 5](https://laravel.com/docs/5.3/installation) package. Go through it's documentation for more information.

Installing &amp; setting up
---------------------------

[](#installing--setting-up)

- `$ composer requrie ricardotano/livedit`
- Add `Ricks\livedit\LiveditServiceProvider::class,` to your `config/app.php` Service providers array.
- `$ php artisan vendor:publish`
- Optional: Update `/config/livedit.php` file to set your own migration parameters or let it as is.
- `$ php artisan migrate`

How does it work
----------------

[](#how-does-it-work)

#### Routes

[](#routes)

`GET livedit/ask/{resource_type}`

This route returns a list of ids using the specified resource in the last minute

`POST livedit/publish`

This route is used to add a resource usage. The record will be removed after a minute (or the time in seconds you configured into `config/livedit.php` file) to keep the table short.

#### Example

[](#example)

Publish a new resource usage. `resource_name` is the name of the resource you want to track, it can be changed in `config/livedit.php` file.

```
$.post('livedit/publish', {
   resource_name : string_resource_name,
   resource_id : int_resource_id
})
.then(handleSuccess, handleError);

```

Get a list of resources for the past minute, for a given `resource_name`

```
$.get('livedit/ask/resource_name')
.then(handleSuccess, handleError);

```

The big elephant in the room
----------------------------

[](#the-big-elephant-in-the-room)

Yes, you can use web scokets for a more fancy and usefull tracking, but sometimes you need someting that will be used in just one place and setting up a socket solution is killing a mosquito with a cannon.

Last words
----------

[](#last-words)

Thanks for reading this and please, remember I created this for everyone, so everyone is welcome to add support or new features.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3324d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/219268291?v=4)[ricardotano](/maintainers/ricardotano)[@ricardotano](https://github.com/ricardotano)

---

Top Contributors

[![RocketFever22](https://avatars.githubusercontent.com/u/3875820?v=4)](https://github.com/RocketFever22 "RocketFever22 (7 commits)")

### Embed Badge

![Health badge](/badges/ricardotano-livedit/health.svg)

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

###  Alternatives

[zhuqipeng/laravel-hprose

Hprose for Laravel

605.8k1](/packages/zhuqipeng-laravel-hprose)

PHPackages © 2026

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