Skip to content

Commit 2efa6b4

Browse files
author
John Wesely
committed
fix class names
1 parent c77aabb commit 2efa6b4

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ php artisan vendor:publish --tag="filament-forms-config"
3737
Add this plugin to a panel on `plugins()` method (e.g. in `app/Providers/Filament/AdminPanelProvider.php`).
3838

3939
```php
40-
use Tapp\FilamentSurvey\FilamentFormsPlugin;
40+
use Tapp\FilamentForms\FilamentFormsPlugin;
4141

4242
public function panel(Panel $panel): Panel
4343
{

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"autoload": {
4141
"psr-4": {
42-
"Tapp\\FilamentSurvey\\": "src"
42+
"Tapp\\FilamentForms\\": "src"
4343
}
4444
},
4545
"config": {
@@ -52,7 +52,7 @@
5252
"extra": {
5353
"laravel": {
5454
"providers": [
55-
"Tapp\\FilamentForms\\FilamentFormServiceProvider"
55+
"Tapp\\FilamentForms\\FilamentFormsServiceProvider"
5656
]
5757
}
5858
},

src/Filament/Resources/FilamentFormResource.php

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
namespace Tapp\FilamentForms\Filament\Resources;
44

55
use Filament\Forms;
6-
use Filament\Forms\Form;
7-
use Filament\Resources\Resource;
86
use Filament\Tables;
7+
use Filament\Forms\Form;
98
use Filament\Tables\Table;
10-
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormFieldsRelationManager;
11-
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager;
9+
use Filament\Resources\Resource;
1210
use Tapp\FilamentForms\Models\FilamentForm;
11+
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\Pages\EditFilamentForm;
12+
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\Pages\ListFilamentForms;
13+
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm;
14+
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager;
15+
use Tapp\FilamentForms\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormFieldsRelationManager;
1316

1417
class FilamentFormResource extends Resource
1518
{

src/FilamentFormsPlugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Filament\Contracts\Plugin;
66
use Filament\Panel;
77

8-
class FilamentSurveyPlugin implements Plugin
8+
class FilamentFormsPlugin implements Plugin
99
{
1010
public static function make(): static
1111
{

src/FilamentFormsServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Spatie\LaravelPackageTools\Package;
66
use Spatie\LaravelPackageTools\PackageServiceProvider;
77

8-
class FilamentSurveyServiceProvider extends PackageServiceProvider
8+
class FilamentFormsServiceProvider extends PackageServiceProvider
99
{
1010
public static string $name = 'filament-forms';
1111

src/Livewire/FilamentForm/show.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Tapp\FilamentForms\Models\FilamentFormField;
1212
use Tapp\FilamentForms\Models\FilamentFormUser;
1313

14-
class DynamicForm extends Component implements HasForms
14+
class Show extends Component implements HasForms
1515
{
1616
use InteractsWithForms;
1717

src/Livewire/FilamentFormUser/show.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Livewire\Component;
1313
use Tapp\FilamentForms\Models\FilamentFormUser;
1414

15-
class DynamicEntry extends Component implements HasForms, HasInfolists
15+
class Show extends Component implements HasForms, HasInfolists
1616
{
1717
use InteractsWithForms;
1818
use InteractsWithInfolists;

0 commit comments

Comments
 (0)