yeejiawei/laravel-form-generator

This package is abandoned and no longer maintained. No replacement package was suggested.

1.0.0 2021-08-21 11:35 UTC

This package is auto-updated.

Last update: 2023-02-21 15:08:05 UTC


README

Latest Version on Packagist Latest Version on Packagist Total Downloads Github.com Stars

Installation

You can install the package via composer:

composer require yeejiawei/laravel-form-generator

Usage

return FormGenerator::create()
            ->setLayout('layouts_admin.app') // set layout when no using 'layouts.app' as default
            ->setFormName('Create Category')
            ->addInputField('title')
            ->setCreateRouteName('category.store')
            ->render();

Credits

License

The MIT License (MIT). Please see License File for more information.