Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 2.01 KB

README.md

File metadata and controls

74 lines (51 loc) · 2.01 KB

A form builder for Laravel aimed at Blade components.

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Prerequisites

  • Laravel 10 or higher
  • PHP 8.2 or higher

Installation

You can install the package via composer:

composer require bernskioldmedia/laravel-form-architect

Publishing config and views

You can publish the config file with:

php artisan vendor:publish --tag="laravel-form-architect-config"

This is the contents of the published config file:

<?php

return [
    'components' => [
        'form' => 'form.index',
        'fieldset' => 'form.fieldset',
        'field' => 'form.field',
        'input' => 'form.input',
        'checkbox' => 'form.checkbox',
        'radio' => 'form.radio',
        'select' => 'form.select',
        'textarea' => 'form.textarea',
        'multiselect' => 'form.multiselect',
    ],
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-form-architect-views"

Usage

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

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