init
This commit is contained in:
9
web10/storage/tmp/check_livewire.php
Normal file
9
web10/storage/tmp/check_livewire.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
|
||||
|
||||
$pm = app(Livewire\Mechanisms\PersistentMiddleware\PersistentMiddleware::class);
|
||||
$middlewares = $pm->getPersistentMiddleware();
|
||||
var_dump(in_array(Filament\Http\Middleware\SetUpPanel::class, $middlewares, true));
|
||||
var_dump($middlewares);
|
||||
10
web10/storage/tmp/check_livewire_update.php
Normal file
10
web10/storage/tmp/check_livewire_update.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
|
||||
$request = Illuminate\Http\Request::create('/livewire/update', 'POST');
|
||||
$app->instance('request', $request);
|
||||
$app->make(Illuminate\Contracts\Http\Kernel::class)->bootstrap();
|
||||
|
||||
$registry = app(Livewire\Mechanisms\ComponentRegistry::class);
|
||||
var_dump($registry->getClass('filament.pages.auth.login'));
|
||||
11
web10/storage/tmp/check_pages.php
Normal file
11
web10/storage/tmp/check_pages.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
|
||||
|
||||
$panel = Filament\Facades\Filament::getDefaultPanel();
|
||||
Filament\Facades\Filament::setCurrentPanel($panel);
|
||||
$panel->boot();
|
||||
|
||||
$pages = $panel->getPages();
|
||||
var_export($pages);
|
||||
10
web10/storage/tmp/check_panel.php
Normal file
10
web10/storage/tmp/check_panel.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
|
||||
|
||||
$panels = Filament\Facades\Filament::getPanels();
|
||||
foreach ($panels as $id => $panel) {
|
||||
echo "panel:$id\n";
|
||||
print_r($panel->getPages());
|
||||
}
|
||||
6
web10/storage/tmp/check_route.php
Normal file
6
web10/storage/tmp/check_route.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
|
||||
|
||||
var_dump(app('router')->has('filament.admin.pages.site-settings'));
|
||||
Reference in New Issue
Block a user