imthebestgamer12k/collective-adapter

A compatibility solution for migrating old Laravel collective to new Laravel version

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/imthebestgamer12k/collective-adapter

v1.0.2 2026-01-13 15:46 UTC

This package is auto-updated.

Last update: 2026-01-14 05:26:15 UTC


README

# =============LARAVEL COLLECTIVE ADAPTER==================

## A compatibility solution for migrating old Laravel collective to new Laravel version

BRIEF DECRIPTION OF THE PROJECT:

This project was mainly created for Laravel artisans who are looking for solutions/alternative on re-using Laravel Collective Form in Laravel blades.

## Installation

STEPS TO INSTALL THIS PRJECT:

  1. Open terminal in your project directory. (or use Git Bash)
  2. Run composer require imthebestgamer12k/collective-adapter
  3. Run composer dump-autoload
  4. Check the newly installed collective-adapter package in your vendor folder

## Usage

HOW TO USE THE PACKAGE:

  1. To use this package, go to your App/Providers directory. Edit the AppServiceProvider

  2. Under your namespace add "use Niel\CollectiveAdapter\Services\FormService;"

  3. Open config/app.php and then register the Form Facade with an alias named "Form"

      'Form' => Niel\CollectiveAdapter\Facades\Form::class,
    
  4. Bind FormService to the global 'form' facade helper and put this code inside the register() function:

     $this->app->bind('form', function ($app) {
         return new FormService();
     });
    

## Technologies Used

  • Git
  • Composer
  • Php 7.2.* (For Laravel v 7+
  • PHP 8.1.* (For Laravel v 9+ & above)

## AUTHOR/CREATED BY:

Lien Yabis(Niel Sibay)