grafite/html

A handy way to generate some HTML without writing it.

v1.14.1 2024-10-30 17:44 UTC

README

Grafite HTML

HTML - A handy set of HTML generators for Laravel.

Build Status Maintainability Packagist license

The HTML package lets you generate forms as well as fields with standard make commands. Inside your forms for models you can specify the fields that need to be generated and then simply pass the form to the view. No more writing html forms, error handling etc. It can handle Eloquent relationships and easily work with ajax requests for more dynamic form submissions.

Author(s):

Requirements

  1. PHP 7.3+|8.1+
  2. OpenSSL

Compatibility and Support

Installation

Start a new Laravel project:

composer create-project laravel/laravel your-project-name

Then run the following to add HTML

composer require "grafite/html"

Time to publish those assets!

php artisan vendor:publish --provider="Grafite\Html\HtmlProvider"

Documentation

https://docs.grafite.ca/utilities/html

License

HTML is open-sourced software licensed under the MIT license

Bug Reporting and Feature Requests

Please add as many details as possible regarding submission of issues and feature requests

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.