PHPackages                             patroklo/improved-links - 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. patroklo/improved-links

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

patroklo/improved-links
=======================

Improved links that use HTML methods when clicked.

1.1.1(8y ago)82.6k4MITJavaScriptPHP &gt;=5.4.0

Since Mar 9Pushed 6y ago4 watchersCompare

[ Source](https://github.com/Patroklo/improved-links)[ Packagist](https://packagist.org/packages/patroklo/improved-links)[ RSS](/packages/patroklo-improved-links/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (2)Versions (3)Used By (0)

Laravel improved HTTP method links
==================================

[](#laravel-improved-http-method-links)

Links that send HTTP methods when clicked. Useful when needing POST or DELETE links.

Index
-----

[](#index)

- [Install](#install)
- [Description](#description)
- [How to use it](#how-to-use-it)

Install
-------

[](#install)

Add this package with composer with the following command:

```
composer require patroklo/improved-links
```

After updating composer, add the service providers to the `providers` array in `config/app.php`.

```
Patroklo\ImprovedLinks\Providers\ImprovedLinksProvider::class,
```

Go to your console and type the artisan vendor publish command.

```
php artisan vendor:publish
```

This will add the views and javascript needed for the correct operation of the package.

Finally, add in your layout a reference to the javascript library:

```

```

Aaaaand it's done!

Description
-----------

[](#description)

Handles the action triggered by user. This package lets the developer the creation of links that will use other HTTP methods than GET. Also it's possible to add manually data that will be sent through the link. It's possible to send any of the valid HTTP methods through this link: POST, GET, PUT, PATCH, DELETE.

How to use it
-------------

[](#how-to-use-it)

The link method it's an extension of the HTTP library based in the main link method.

```
\Html::methodLink'('method' => 'POST', 'url', 'title' => null, 'attributes' => [], 'secure' => null, 'escape' => true);
```

To send the data it's only neccesary to add a `data` key into the `attributes` section.

```
{{ Html::methodLink("PUT", 'site/foobar', 'Submit', ['data' => ['name1' => 'value1, 'name2' => 'value2']]) }}
```

Once clicked, the link will redirect to the defined url sending all the data via POST.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Every ~284 days

Total

2

Last Release

3119d ago

### Community

Maintainers

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

---

Top Contributors

[![Patroklo](https://avatars.githubusercontent.com/u/1254017?v=4)](https://github.com/Patroklo "Patroklo (5 commits)")

---

Tags

laravellinksphplaravellinkpostdeleteputpatch

### Embed Badge

![Health badge](/badges/patroklo-improved-links/health.svg)

```
[![Health](https://phpackages.com/badges/patroklo-improved-links/health.svg)](https://phpackages.com/packages/patroklo-improved-links)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[firefly-iii/data-importer

Firefly III Data Import Tool.

8045.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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