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

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

Filament PHP Blocks Builder

Tests Codecov Filament Version Stable Version Total Downloads License

Filament PHP Blocks Builder is a plugin that adds a BlockBuilder form component, enabling you to design layouts using blocks on any resource you like. This flexible tool is suitable for building layouts, managing content, structuring data, and more.

📸Screenshots

Check out screenshots of the form components offerend by this package in the screenshots directory.


🚀Installation

Install the plugin via Composer:


📘Useage

Add Blocks Builder to a Resource

The Blocks Builder is a form component that can be added to any Filament PHP resource or form. Here’s how to use the BlocksInput:

Creating custom Blocks

A Block itself is a combination of a Filament PHP Form definition as well as the view required to render the Block on the frontend.

  1. A Filament PHP Form schema for Block data definiton
  2. A Blade view for frontend rendering

The package does include basic example Blocks, however it is recommended that you do create and maintain your own library of Blocks - this can be done in your project as well as in a package.

Implement the Block

Create a new class for your Block, extend the Block Contract and implement the required methods:

Note the responsibilities of the methods shown in the implementation above:

Create the view

Create a Blade view (e.g., resources/views/example.blade.php) to render the block's output. The schema data will be accessible within the view:

Register the Custom Block

Add your custom block to the BlocksInput:


🤝Contributing

Contributions are welcome! Submit a pull request on GitHub. Before submitting, ensure all tests pass.

DevContainer

The project includes a DevContainer configuration for streamlined development. Open the .code-workspace file, and use the Reopen in Container option from the Remote Development menu in Visual Studio Code in order to use the DevContainer.

Debugging

PHPUnit

Debug test cases directly using the Debug Tests configuration in Visual Studio Code. It runs PHPUnit with xDebug support.

Workbench

The Orchestral Workbench used for functional and browser based tests can also be previewed as well as debugged.

The Orchestral Testbench is used for functional and browser-based tests, but can also be previewd and debugged. Follow these steps to set up the environment:

  1. Use the following Orchestral Workbench command to generate an empty, persistent SQlite database in the Laravel skeleton.

  2. Next you will have to run the Migrations defined in the Workbench using the command below.

  3. Now that the Orchestral Workbench environment has a functional database, you will have to create a user using the following command.

Use the Debug Workbench configuration in Visual Studio Code to preview and debug the workbench. It launches Laravel’s built-in server with xDebug.


🛡️License

This project is licensed under the GNU GPL v3 License.


Happy Building! 🎉


All versions of filament-blocks-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^11
filament/forms Version ^3.2.120
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 skyraptor/filament-blocks-builder contains the following files

Loading the files please wait ....