Download the PHP package solution-forest/filament-field-group without Composer

On this page you can find all versions of the php package solution-forest/filament-field-group. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-field-group

About Solution Forest

Solution Forest Web development agency based in Hong Kong. We help customers to solve their problems. We Love Open Soruces.

We have built a collection of best-in-class products:

Filament Field Group

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Filament Field Group is a powerful Laravel package that enhances Filament's form building capabilities. It allows you to easily group and organize form fields, improving the structure and readability of your forms. With this package, you can create collapsible sections, tabs, or custom layouts for your form fields, making complex forms more manageable and user-friendly.

Installation

  1. You can install the package via composer:

  2. Register the plugin in your Panel provider

  3. Then execute the following commands:

Publish Config, View, Translation and Migration

You can publish and run the migrations with:

You can publish the config file with:

Optionally, you can publish the views using

This is the contents of the published config file:

Usage

  1. Add FilamentFieldGroupPlugin to you panel.
  2. Enable the Field Group resource by setting enabled to true in the config file:

Or enable the plugin on FilamentFieldGroupPlugin

Filament Field Group

  1. Create field groups and fields, for example:

    • Navigate to the Field Group resource in your Filament admin panel.
    • Create a new field group (e.g., "User Basic Info").
    • Add fields to the group (e.g., name, email, etc.). Create Field Group and Field Create Field Group and Field Create Field Group and Field
  2. Apply field groups to your form schema:

Apply Field Group

Available Components

Currently, this package provides the following components:

More components can be added in the future. Feel free to submit a pull request if you have ideas for additional components!

Advanced Usage

Custom Resources

You can call resources on FilamentFieldGroupPlugin to add/replace original resource:

Custom Field Types

You can add your own custom field types by following these steps:

  1. Create a field type class that extends SolutionForest\FilamentFieldGroup\FieldTypes\Configs\FieldTypeBaseConfig
  2. Implement the required methods, particularly getFormSchema() which defines the form fields
  3. Register your custom field type using one of the methods below:

To completely replace all default field types, set the override parameter to true.

Customizing Field Type Config Form

You can customize the config form for specific field types by adding your own custom options. This is useful when you need to extend the functionality of existing field types with additional configuration parameters.

This allows you to modify the configuration form for field types while preserving all the default options.

Custom Models

You can set custom models for field groups and fields in your AppServiceProvider:

Field Type Mixins

You can extend field type functionality using the mixin method on FieldTypeBaseConfig. This allows you to reuse field configuration logic across different field types:

You can also apply mixins to specific field type classes:

This approach helps maintain DRY code by centralizing common field configurations that can be shared across multiple field types.

Testing

Changelog

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

Contributing

Please see CONTRIBUTING for details.

We welcome contributions to enhance this package. More components can potentially be added, so feel free to submit a pull request with your ideas or improvements.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of filament-field-group with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.0
spatie/eloquent-sortable Version ^4.0.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package solution-forest/filament-field-group contains the following files

Loading the files please wait ....