Coder Social home page Coder Social logo

dynamic-forms-plugin-for-filament's Introduction

Dynamic Forms Plugin for Filament

Create custom forms using the Components from Filament Form Builder.

GitHub Workflow Status Downloads Total License Type Latest released version

Introduction

This package is a dynamic form plugin for Filament Forms. It allows you to create forms with dynamic fields.

Installation

THIS IS WORK IN PROGRESS AND NOT PRODUCTION READY! THERE ARE CURRENTLY NO TESTS AND NO SECURITY MEASURES IMPLEMENTED!

For now you need the following repositories at your composer.json (this will not be needed when the package is released.)

{
    "repositories": {
        "jubeki/dynamic-forms-plugin-for-filament": {
            "type": "vcs",
            "url": "https://github.com/Jubeki/dynamic-forms-plugin-for-filament"
        },
        "awcodes/mason": {
            "type": "vcs",
            "url": "https://github.com/awcodes/mason"
        }
    }
}
composer require jubeki/dynamic-forms-plugin-for-filament

Basic Usage

Registering the Plugin for a Filament Panel

To create and update forms, you need to register the plugin for a Filament Panel.

<?php

namespace App\Providers\Filament;

// ...
use Jubeki\Filament\DynamicForms\DynamicFormsPlugin;
// ...

class AdminPanelServiceProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...   
            ->plugins([
                DynamicFormsPlugin::make(),
            ]);
    }
}

TODO: How to embedded the form and how to handle submissions.

Changelog

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

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Credits

License

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

dynamic-forms-plugin-for-filament's People

Contributors

jubeki avatar

Stargazers

Bartłomiej Gajda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.