PHPackages                             sukohi/form-action - 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. sukohi/form-action

ActiveLibrary

sukohi/form-action
==================

Your package description here.

2.0.2(9y ago)014MITPHP

Since Jul 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/FormAction)[ Packagist](https://packagist.org/packages/sukohi/form-action)[ RSS](/packages/sukohi-form-action/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

FormAction
==========

[](#formaction)

A Laravel package to manage action URL of form tag. (This package is for Laravel 5+)

Installation
============

[](#installation)

Execute composer command.

```
composer require sukohi/form-action:2.*

```

Register the service provider in app.php

```
'providers' => [
    ...Others...,
    Sukohi\FormAction\FormActionServiceProvider::class,
]

```

Also alias

```
'aliases' => [
    ...Others...,
    'FormAction' => Sukohi\FormAction\Facades\FormAction::class,
]

```

Preparation
===========

[](#preparation)

First of all, execute `migrate` command from the package.

```
php artisan vendor:publish --provider="Sukohi\FormAction\FormActionServiceProvider"

```

Now, you have `formaction.php` in your config folder. So you need to set route or path there like so.

```
return [

    /*
     * Routes
     */
    'routes' => [
        'home.login' => 'home.authenticate'	// When current route is `home.login`, return `route('home.authenticate')`.
    ],

    /*
     * Paths
     */
    'paths' => [
        '/login' => 'auth/authenticate'	// When current path is `/login`, return `/auth/authenticate`.
    ]

];

```

Usage
=====

[](#usage)

**Simple Usage**

```

```

**with Options**

\[Default Path\]

```

```

\[Route Parameters\]

```

```

**Using route() method**

```

```

\[with Parameters\]

```

```

\[with Default Path\]

```

```

**Using path() method**

```

```

\[with Default Path\]

```

```

License
=======

[](#license)

This package is licensed under the MIT License.

Copyright 2016 Sukohi Kuhoh

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~0 days

Total

4

Last Release

3585d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2980d59b309d45df3f2e6e51b1d336614da063240b8f76f873f287cd745ec5db?d=identicon)[Sukohi](/maintainers/Sukohi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sukohi-form-action/health.svg)

```
[![Health](https://phpackages.com/badges/sukohi-form-action/health.svg)](https://phpackages.com/packages/sukohi-form-action)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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