This commit is contained in:
Bozhidar Slaveykov 2023-11-27 01:12:27 +02:00
parent cdc3980151
commit c99e1d17e2
5 changed files with 66 additions and 18 deletions

View file

@ -1,13 +0,0 @@
<?php
namespace App\Filament\Pages;
use Filament\Pages\Page;
class CronJobs extends Page
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';
protected static string $view = 'filament.pages.cron-jobs';
}

View file

@ -4,8 +4,19 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Sushi\Sushi;
class Domain extends Model
{
use HasFactory;
use Sushi;
public function getRows()
{
return [
['id' => 1, 'label' => 'admin'],
['id' => 2, 'label' => 'manager'],
['id' => 3, 'label' => 'user'],
];
}
}

View file

@ -9,6 +9,7 @@
"license": "MIT",
"require": {
"php": "^8.1",
"calebporzio/sushi": "^2.4",
"filament/filament": "^3.0-stable",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",

54
web/composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0c29faf9c0bb85c50bbd829ad5e19b3f",
"content-hash": "4fbb7c7f0a39000819ceb94d722139fa",
"packages": [
{
"name": "blade-ui-kit/blade-heroicons",
@ -211,6 +211,58 @@
],
"time": "2023-01-15T23:15:59+00:00"
},
{
"name": "calebporzio/sushi",
"version": "v2.4.5",
"source": {
"type": "git",
"url": "https://github.com/calebporzio/sushi.git",
"reference": "932d09781bff75c812541d2d269400fd7d730bab"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/calebporzio/sushi/zipball/932d09781bff75c812541d2d269400fd7d730bab",
"reference": "932d09781bff75c812541d2d269400fd7d730bab",
"shasum": ""
},
"require": {
"illuminate/database": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
"php": "^7.1.3|^8.0"
},
"require-dev": {
"doctrine/dbal": "^2.9 || ^3.1.4",
"orchestra/testbench": "3.8.* || 3.9.* || ^4.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpunit/phpunit": "^7.5 || ^8.4 || ^9.0 || ^10.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Sushi\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Caleb Porzio",
"email": "calebporzio@gmail.com"
}
],
"description": "Eloquent's missing \"array\" driver.",
"support": {
"source": "https://github.com/calebporzio/sushi/tree/v2.4.5"
},
"funding": [
{
"url": "https://github.com/calebporzio",
"type": "github"
}
],
"time": "2023-10-17T14:42:34+00:00"
},
{
"name": "danharrin/date-format-converter",
"version": "v0.3.0",

View file

@ -1,3 +0,0 @@
<x-filament-panels::page>
</x-filament-panels::page>