PHPackages                             the-3labs-team/nova-busy-resource-field - 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. the-3labs-team/nova-busy-resource-field

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

the-3labs-team/nova-busy-resource-field
=======================================

A Laravel Nova field.

v2.0.0(1y ago)33182[5 PRs](https://github.com/The-3Labs-Team/nova-busy-resource-field/pulls)MITPHPPHP ^7.3|^8.0CI passing

Since Jan 22Pushed 1mo agoCompare

[ Source](https://github.com/The-3Labs-Team/nova-busy-resource-field)[ Packagist](https://packagist.org/packages/the-3labs-team/nova-busy-resource-field)[ RSS](/packages/the-3labs-team-nova-busy-resource-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (19)Used By (0)

 [![Logo Nova Busy Resource Field by The3LabsTeam](https://github.com/the-3labs-team/nova-busy-resource-field/raw/HEAD/art/banner.png)](https://github.com/the-3labs-team/nova-busy-resource-field/raw/HEAD/art/banner.png)

Laravel Nova Busy Resource Field
================================

[](#laravel-nova-busy-resource-field)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d3ecf2b43a97497c38471a8d72f5fdaaddc859983342a10427e0b96bfdf965ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468652d336c6162732d7465616d2f6e6f76612d627573792d7265736f757263652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/the-3labs-team/nova-busy-resource-field)[![Maintainability](https://camo.githubusercontent.com/fa8e4b1cf7a7c6bf73dc0722d27955d0b05449c92427d74a3917a7f6fd210831/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63653636653135313135636136346435326339362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/The-3Labs-Team/nova-busy-resource-field/maintainability)[![Total Downloads](https://camo.githubusercontent.com/7810010737b63379adeb5ef54e63d376708b7930c6cb573e3c1c6a182b3da8d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468652d336c6162732d7465616d2f6e6f76612d627573792d7265736f757263652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/the-3labs-team/nova-busy-resource-field)

Have you ever dreamed of having a mechanism in Laravel Nova that would allow you to know if a resource is occupied by another user?

Introducing **Nova Resource Busy Field**, the first package for Laravel Nova that lets you know if a resource is occupied by another user.

 [![Demo Nova Busy Resource Field by The3LabsTeam](https://github.com/the-3labs-team/nova-busy-resource-field/raw/HEAD/art/demo.gif)](https://github.com/the-3labs-team/nova-busy-resource-field/raw/HEAD/art/demo.gif)

From the secret labs of The3LabsTeam this is a completely opensource package designed to make life easier for those using Laravel Nova as a multi-user CMS.

🌟 Here are some great features:

- It is model-agnostic, you can decide which resource will be considered "occupiable"
- Fully configurable, you can choose the threshold timeout and old logs to be deleted
- It is native to Laravel Nova, there is only one migration to launch
- It is fully reversible, no Laravel Nova models and/or views are touched
- Lets you know from the index of a resource if it is occupied
- Receive an alert if you enter an edit of a busy resource

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

[](#installation)

For install this package, in your `composer.json` add the repository:

```
composer require the-3labs-team/nova-busy-resource-field
```

You need to publish the migration file:

```
php artisan vendor:publish --tag=nova-busy-resource-field-migrations
```

Remember to launch the migrations:

```
php artisan migrate
```

Also, you can publish the config file:

```
php artisan vendor:publish --tag=nova-busy-resource-field-config
```

Usage
-----

[](#usage)

First you need to make a model "busiable". For example, if you want to make the Article model busiable, you need to add the trait `The3labsTeam\NovaBusyResourceField\App\Traits\Busiable` to it:

```
use The3labsTeam\NovaBusyResourceField\App\Traits\Busiable;

class Article extends Model{
    use Busiable;
}
```

Then, in your Nova resource, you can add the field:

```
    use The3labsTeam\NovaBusyResourceField\NovaBusyResourceField;

    public function fields(NovaRequest $request)
    {
        return [
            // ...

            NovaBusyResourceField::make('')->withMeta([
                'saveEvery' => 30000 // In milliseconds
            ]),

            // ...
        ];
    }
```

For the best experience, you can delete old records in database. For this, you need to add in your `App\Console\Kernel`, command for delete old records every minute.

```
    $schedule->command('nova-busy-resource-field:run')->everyMinute()->withoutOverlapping();
```

Sponsor
-------

[](#sponsor)

 [ ![Tom's Hardware - Notizie, recensioni, guide all'acquisto e approfondimenti per tutti gli appassionati di computer, smartphone, videogiochi, film, serie tv, gadget e non solo](https://camo.githubusercontent.com/a9fa1ed2b6a72e6fcb0b2f3176c99d5073f5b75d532223562736659d447022f2/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f746f6d732e706e67) ](https://www.tomshw.it/) [ ![Spaziogames - Tutto sul mondo dei videogiochi. Troverai tantissime anteprime, recensioni, notizie dei giochi per tutte le console, PC, iPhone e Android.](https://camo.githubusercontent.com/e197c1e8d1428d36e0a1f9b9ec750b26d9432a7a2911c926c3aa29852edfdf6b/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f7370617a696f2e706e67) ](https://spaziogames.it/)
 [ ![Cpop - News, recensioni, guide su fumetto, cinema & serie TV, gioco da tavolo e di ruolo e collezionismo. Tutto quello di cui hai bisogno per rimanere aggiornato sul mondo della cultura pop](https://camo.githubusercontent.com/d6c1e37a8034b0d2d7df21c8130509e6ca539141bbed582a39021ea1a9f9d479/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f63706f702e706e67) ](https://cpop.it/) [ ![Data4Biz - Sito dedicato alla trasformazione digitale del business](https://camo.githubusercontent.com/5558e851010e4ae4b5cb43921a90e7cf67afd89d3e6b9ce5c780858e6f34ab19/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f6434622e706e67) ](https://data4biz.com/)
 [ ![SOS Home & Garden - Realtà dedicata a 360 gradi ai settori della casa e del giardino.](https://camo.githubusercontent.com/ef1f19fa4635ea5a313915fb5e7e4fdfc97007e168f51cf4da5009a9b1934da2/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f736f732e706e67) ](https://soshomegarden.com/) [ ![Techradar - Le ultime notizie e recensioni dal mondo della tecnologia, su computer, sistemi per la casa, gadget e altro.](https://camo.githubusercontent.com/df0dac8e4d85175fac6143938c38e370f9fdfa60d19647e8cafe554624246b33/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f7465636872616461722e706e67) ](https://global.techradar.com/it-it)
 [ ![Aibay - Scopri AiBay, il leader delle notizie sull'intelligenza artificiale. Resta aggiornato sulle ultime innovazioni, ricerche e tendenze del mondo AI con approfondimenti, interviste esclusive e analisi dettagliate.](https://camo.githubusercontent.com/647cb00914c70c5851526defce1b0a9ec012e2fcd97ddb029c8abda7bf9c2037/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f61696261792e706e67) ](https://aibay.it/) [ ![Coinlabs - Notizie, analisi approfondite, guide e opinioni aggiornate sul mondo delle criptovalute, blockchain e finanza](https://camo.githubusercontent.com/5b483d538588264ca081383dacf830d9aab280a07c2388c70bd02887ef59fa0f/68747470733a2f2f336c6162732d6173736574732e622d63646e2e6e65742f6173736574732f6c6f676f732f62616e6e65722d6769746875622f636f696e6c6162732e706e67) ](https://coinlabs.it/)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance69

Regular maintenance activity

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.2% 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 ~27 days

Recently: every ~51 days

Total

13

Last Release

510d ago

Major Versions

v0.0.6 → v1.0.02024-01-29

v1.0.4 → v2.0.02024-12-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d15c41e526b0044aef2fc0955ea1ecfedea9d481c21272ec2b3b0341bafee14?d=identicon)[the-3labs-team](/maintainers/the-3labs-team)

---

Top Contributors

[![murdercode](https://avatars.githubusercontent.com/u/7630252?v=4)](https://github.com/murdercode "murdercode (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![Claudio-Emmolo](https://avatars.githubusercontent.com/u/113107618?v=4)](https://github.com/Claudio-Emmolo "Claudio-Emmolo (12 commits)")

---

Tags

laravellaravelnovapackagelaravelnova

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/the-3labs-team-nova-busy-resource-field/health.svg)

```
[![Health](https://phpackages.com/badges/the-3labs-team-nova-busy-resource-field/health.svg)](https://phpackages.com/packages/the-3labs-team-nova-busy-resource-field)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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