Download the PHP package klisica/filament-builder-blocks without Composer

On this page you can find all versions of the php package klisica/filament-builder-blocks. 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-builder-blocks

Filament Builder Blocks

🏗️ A Simpler Web CMS Builder for Laravel Filament

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

Create, manage & customize

By re-using Filament's Builder Input this package enables you to create custom section blocks as PHP classes (i.e. DefaultHeader.php) enabling you to use all features supported in Filament.

Each section block uses his own blade view file (i.e. default-header.blade.php) with support for dynamic data binded in PHP classes.

Another great helper functions that are ready-to-use:


Installation

  1. Require the package via composer:

  2. Install it to publish the config file:

  3. Open the config/filament-builder-blocks.php file and set the path value to root destination where you'll have you PHP classes (or leave it as it is).

  4. Run make section command to create your first example section class with the blade view file:


Default folder structure example

Main section Hero.php will be displayed in builder dropdown, while child sections ExampleHero.php and AdvancedHero.php will be displayed as toggle buttons.

Creating layouts for each section block component.

[!NOTE] To be sure that on running the cleanup() helper your data won't be remove use the content. prefix on make input methods. This is used a handler to avoid storing inputs that you still need to show for descpritive purposes (i.e. Placeholder component). Take the ExampleHero.php as example:

Example for adding cleanup on some Filaments Resource Edit Page:


Rendering components

  1. Build sections in controller:

  2. Display them in a dynamic.blade.php (or whatever you name it) file:

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.


All versions of filament-builder-blocks with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^3.2
illuminate/contracts Version ^10.0||^11.0
spatie/laravel-package-tools Version ^1.16
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 klisica/filament-builder-blocks contains the following files

Loading the files please wait ....