Updated namespace
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Resources;
|
||||
namespace VExim\Groups\Filament\Resources;
|
||||
|
||||
|
||||
use App\Filament\Resources\Groups\Pages\CreateGroup;
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
<?php
|
||||
namespace Vexim\Groups;
|
||||
|
||||
use Filament\Panel;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Vexim\Groups\Console\InstallGroupModule;
|
||||
|
||||
class GroupServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function register(): void
|
||||
{
|
||||
// Register the plugin with Filament
|
||||
$this->app->resolving(Panel::class, function (Panel $panel) {
|
||||
$panel->plugin(new GroupPlugin());
|
||||
});
|
||||
}
|
||||
|
||||
public function boot(): void
|
||||
{
|
||||
// Load migrations
|
||||
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
|
||||
|
||||
// Load views if you have any
|
||||
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'groups');
|
||||
|
||||
// Load routes if you have any
|
||||
$this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
|
||||
|
||||
// Publish config
|
||||
$this->publishes([
|
||||
__DIR__ . '/../config/groups.php' => config_path('groups.php'),
|
||||
], 'groups-config');
|
||||
|
||||
// Register console commands
|
||||
if ($this->app->runningInConsole()) {
|
||||
$this->commands([
|
||||
InstallGroupModule::class,
|
||||
]);
|
||||
}
|
||||
|
||||
// Merge config
|
||||
$this->mergeConfigFrom(
|
||||
__DIR__ . '/../config/groups.php',
|
||||
'groups'
|
||||
);
|
||||
}
|
||||
}
|
||||
<?php
|
||||
namespace VExim\Groups;
|
||||
|
||||
use Filament\Panel;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Vexim\Groups\Console\InstallGroupModule;
|
||||
|
||||
class GroupServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function register(): void
|
||||
{
|
||||
// Register the plugin with Filament
|
||||
$this->app->resolving(Panel::class, function (Panel $panel) {
|
||||
$panel->plugin(new GroupPlugin());
|
||||
});
|
||||
}
|
||||
|
||||
public function boot(): void
|
||||
{
|
||||
// Load migrations
|
||||
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
|
||||
|
||||
// Load views if you have any
|
||||
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'groups');
|
||||
|
||||
// Load routes if you have any
|
||||
$this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
|
||||
|
||||
// Publish config
|
||||
$this->publishes([
|
||||
__DIR__ . '/../config/groups.php' => config_path('groups.php'),
|
||||
], 'groups-config');
|
||||
|
||||
// Register console commands
|
||||
if ($this->app->runningInConsole()) {
|
||||
$this->commands([
|
||||
InstallGroupModule::class,
|
||||
]);
|
||||
}
|
||||
|
||||
// Merge config
|
||||
$this->mergeConfigFrom(
|
||||
__DIR__ . '/../config/groups.php',
|
||||
'groups'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Resources\Pages;
|
||||
namespace VExim\Groups\Filament\Resources\Pages;
|
||||
|
||||
use App\Filament\Resources\Groups\GroupResource;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Resources\Pages;
|
||||
namespace VExim\Groups\Filament\Resources\Pages;
|
||||
|
||||
use App\Filament\Resources\Groups\GroupResource;
|
||||
use App\Filament\Resources\Groups\RelationManagers\MembersRelationManager;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Resources\Pages;
|
||||
namespace VExim\Groups\Filament\Resources\Pages;
|
||||
|
||||
use App\Filament\Resources\Groups\GroupResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Resources\RelationManagers;
|
||||
namespace VExim\Groups\Filament\Resources\RelationManagers;
|
||||
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Resources\RelationManagers\RelationManager;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Resources\Schemas;
|
||||
namespace VEim\Groups\Filament\Resources\Schemas;
|
||||
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Vexim\Groups\Filament\Tables;
|
||||
namespace VExim\Groups\Filament\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
|
||||
Reference in New Issue
Block a user