https://github.com/adel-ezz/laravelcollective_alternativehelper
this helper class for laravelcollective/html/Html
https://github.com/adel-ezz/laravelcollective_alternativehelper
Last synced: over 1 year ago
JSON representation
this helper class for laravelcollective/html/Html
- Host: GitHub
- URL: https://github.com/adel-ezz/laravelcollective_alternativehelper
- Owner: adel-ezz
- Created: 2024-11-04T18:16:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T11:09:55.000Z (over 1 year ago)
- Last Synced: 2025-02-04T16:50:46.328Z (over 1 year ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
About This Helper Class
This helper class serves as an alternative to laravelcollective/html, allowing you to continue using similar functionality without needing to update your existing Blade templates.
Key Benefits
- Powerful Functionality: Retains the capabilities of laravelcollective/html.
- No Template Updates Needed: Works seamlessly with existing Blade templates.
How to Use It in Your Project
1. Place this class in your project’s helper directory or within a controller path, and make sure it has the correct namespace. For example:
namespace App\Http\Helper;
2. Register it as a facade in your configuration file (config/app.php). Under the aliases section, add:
'Form' => \App\Http\Helper\FormHelper::class,
This will allow you to use the helper class as a replacement for laravelcollective/html with minimal adjustments.
Thank you for using this custom class.
Adel Abou Elez