From 09c817e669e1cdfb9be8f38f70990bde20a6e077 Mon Sep 17 00:00:00 2001 From: Michael Metdepenningen Date: Fri, 29 Sep 2023 16:27:25 +0200 Subject: [PATCH] update config --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2ef5f04..900685b 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ # A visual page builder for Filament -[![Latest Version on Packagist](https://img.shields.io/packagist/v/haringsrob/filament-page-builder.svg?style=flat-square)](https://packagist.org/packages/haringsrob/filament-page-builder) -[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/haringsrob/filament-page-builder/run-tests?label=tests)](https://github.com/haringsrob/filament-page-builder/actions?query=workflow%3Arun-tests+branch%3Amain) -[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/haringsrob/filament-page-builder/Check%20&%20fix%20styling?label=code%20style)](https://github.com/haringsrob/filament-page-builder/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain) -[![Total Downloads](https://img.shields.io/packagist/dt/haringsrob/filament-page-builder.svg?style=flat-square)](https://packagist.org/packages/haringsrob/filament-page-builder) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/sevendays/filament-page-builder.svg?style=flat-square)](https://packagist.org/packages/sevendays/filament-page-builder) +[![run-tests](https://github.com/Sevendays-Digital/filament-page-builder/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Sevendays-Digital/filament-page-builder/actions/workflows/run-tests.yml) +[![Fix PHP code style issues](https://github.com/Sevendays-Digital/filament-page-builder/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/Sevendays-Digital/filament-page-builder/actions/workflows/fix-php-code-style-issues.yml)[![Total Downloads](https://img.shields.io/packagist/dt/sevendays/filament-page-builder.svg?style=flat-square)](https://packagist.org/packages/sevendays/filament-page-builder) With this package you have a new Filament field (like Builder) but with a visual ui and dynamic types. @@ -25,7 +24,7 @@ To see a demo: You can install the package via composer: ```bash -composer require haringsrob/filament-page-builder +composer require sevendays/filament-page-builder ``` You can publish and run the migrations with: @@ -102,8 +101,8 @@ In order to save blocks, you need to add the Blockable interface and HasBlocks t namespace App\Models; -use Haringsrob\FilamentPageBuilder\Models\Contracts\Blockable; -use Haringsrob\FilamentPageBuilder\Models\Traits\HasBlocks; +use Sevendays\FilamentPageBuilder\Models\Contracts\Blockable; +use Sevendays\FilamentPageBuilder\Models\Traits\HasBlocks; use Illuminate\Database\Eloquent\Model; class Page extends Model implements Blockable @@ -122,7 +121,7 @@ In your resource form we can now add the field: ```php blocks as $block) - {!! \Haringsrob\FilamentPageBuilder\Facades\BlockRenderer::renderBlock($block) !!} + {!! \Sevendays\FilamentPageBuilder\Facades\BlockRenderer::renderBlock($block) !!} @endforeach ```