imthebestgamer12k/collective-adapter
最新稳定版本:v1.0.3
Composer 安装命令:
composer require imthebestgamer12k/collective-adapter
包简介
A compatibility solution for migrating old Laravel collective to new Laravel version
README 文档
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:
- Open terminal in your project directory. (or use Git Bash)
- Run composer require imthebestgamer12k/collective-adapter
- Run composer dump-autoload
- Check the newly installed collective-adapter package in your vendor folder
## Usage
HOW TO USE THE PACKAGE:
-
To use this package, go to your App/Providers directory. Edit the AppServiceProvider
-
Under your namespace add "use Niel\CollectiveAdapter\Services\FormService;"
-
Open config/app.php and then register the Form Facade with an alias named "Form"
'Form' => Niel\CollectiveAdapter\Facades\Form::class, -
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)
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-13