@@ -23,17 +23,19 @@ You can install the package via composer:
23
23
composer require statikbe/laravel-filament-flexible-content-block-pages
24
24
```
25
25
26
- You can publish and run the migrations with:
26
+ Publish the config file with:
27
27
28
28
``` bash
29
- php artisan vendor:publish --tag=" laravel-filament-flexible-content-block-pages-migrations"
30
- php artisan migrate
29
+ php artisan vendor:publish --tag=" filament-flexible-content-block-pages-config"
31
30
```
32
31
33
- You can publish the config file with:
32
+ If you want to alter the names of the database tables, do so in the config file, before running the migrations.
33
+
34
+ You can publish and run the migrations with:
34
35
35
36
``` bash
36
- php artisan vendor:publish --tag=" laravel-filament-flexible-content-block-pages-config"
37
+ php artisan vendor:publish --tag=" filament-flexible-content-block-pages-migrations"
38
+ php artisan migrate
37
39
```
38
40
39
41
This is the contents of the published config file:
@@ -46,14 +48,14 @@ return [
46
48
Optionally, you can publish the views using
47
49
48
50
``` bash
49
- php artisan vendor:publish --tag=" laravel- filament-flexible-content-block-pages-views"
51
+ php artisan vendor:publish --tag=" filament-flexible-content-block-pages-views"
50
52
```
51
53
52
54
## Usage
53
55
54
56
``` php
55
- $laravelFilamentFlexibleContentBlockPages = new Statikbe\LaravelFilamentFlexibleContentBlockPages ();
56
- echo $laravelFilamentFlexibleContentBlockPages ->echoPhrase('Hello, Statikbe!');
57
+ $filamentFlexibleContentBlockPages = new Statikbe\FilamentFlexibleContentBlockPages ();
58
+ echo $filamentFlexibleContentBlockPages ->echoPhrase('Hello, Statikbe!');
57
59
```
58
60
59
61
## Testing
0 commit comments