PHPackages                             achalj09/editresource - 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. achalj09/editresource

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

achalj09/editresource
=====================

Edit Resource Button

0.0.1(7y ago)417.4k↓50%MITVuePHP &gt;=7.1.0

Since Jan 22Pushed 7y ago2 watchersCompare

[ Source](https://github.com/achalj09/editresource)[ Packagist](https://packagist.org/packages/achalj09/editresource)[ RSS](/packages/achalj09-editresource/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Edit Resource Button.
=====================

[](#edit-resource-button)

In Laravel Nova, when you use Custom Tool for creating/editing/updating Custom Page,

you might need "Edit Resource Button" with edit SVG icon as custom link field.

Install using
=============

[](#install-using)

```
composer require achalj09/editresource
```

Use in resources
================

[](#use-in-resources)

```
use Achalj09\Editresource\Editresource;

Editresource::make('Edit','edit')
  ->details([
      'href' => function () {
          return "../../createjobs/{$this->id}/edit";
      },
      'text' => function () {
          return 'edit';
      },
  ])->onlyOnIndex()
  ->canSee(function ($request) {
      return $request->user()->can('Update Jobs', $this);
}),
```

Output
======

[](#output)

[![alt Sample Image](https://github.com/achalj09/editresource/raw/master/resources/images/sample-image.png)](https://github.com/achalj09/editresource/blob/master/resources/images/sample-image.png)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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

2674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a416b4cddeff42e31483ddf4c80e2c6c2f04fa56e12d6c4d13b2a5c95f604a?d=identicon)[achalj09](/maintainers/achalj09)

---

Top Contributors

[![achalj09](https://avatars.githubusercontent.com/u/8180139?v=4)](https://github.com/achalj09 "achalj09 (9 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/achalj09-editresource/health.svg)

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

###  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)
