From 197f2ad33d85322f54ac53d0c73ed48cf97577f0 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 5 Sep 2025 07:06:51 +0200 Subject: [PATCH] login wip --- app/Providers/Filament/AdminPanelProvider.php | 2 + composer.json | 6 +- composer.lock | 140 +++++++++--------- 3 files changed, 79 insertions(+), 69 deletions(-) diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index b188677..4822c4c 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -2,6 +2,7 @@ namespace App\Providers\Filament; +use Agencetwogether\HooksHelper\HooksHelperPlugin; use App\Http\Middleware\AppUserVerifiedMiddleware; use Awcodes\LightSwitch\Enums\Alignment; use Awcodes\LightSwitch\LightSwitchPlugin; @@ -75,6 +76,7 @@ class AdminPanelProvider extends PanelProvider FilamentShieldPlugin::make(), FilamentBackgroundsPlugin::make(), LightSwitchPlugin::make()->position(Alignment::TopCenter), + HooksHelperPlugin::make(), ]); } diff --git a/composer.json b/composer.json index b92e1fa..6f688e2 100644 --- a/composer.json +++ b/composer.json @@ -7,14 +7,14 @@ "license": "MIT", "require": { "php": "^8.3", - "laravel/framework": "^12.0", - "laravel/tinker": "^2.10.1", + "agencetwogether/hookshelper": "^0.0.2", "awcodes/light-switch": "^2.0", "bezhansalleh/filament-shield": "^4.0@beta", "filament/filament": "^4.0", + "laravel/framework": "^12.0", + "laravel/tinker": "^2.10.1", "livewire/livewire": "^3.6", "mallardduck/blade-lucide-icons": "^1.23", - "spatie/laravel-login-link": "^1.6", "swisnl/filament-backgrounds": "^2.0", "ysfkaya/filament-phone-input": "^4.0@beta" }, diff --git a/composer.lock b/composer.lock index e80e3e8..c0f41de 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,81 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "71c90975ba8b711d0aeac711a514d028", + "content-hash": "a3716cae8aaa07ceaee3c4cfd7a546c6", "packages": [ + { + "name": "agencetwogether/hookshelper", + "version": "v0.0.2", + "source": { + "type": "git", + "url": "https://github.com/agencetwogether/hooksHelper.git", + "reference": "b42652001ed765ae1fcf1a622f660d74f1150c41" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/agencetwogether/hooksHelper/zipball/b42652001ed765ae1fcf1a622f660d74f1150c41", + "reference": "b42652001ed765ae1fcf1a622f660d74f1150c41", + "shasum": "" + }, + "require": { + "filament/filament": "^3.0|^4.0", + "php": "^8.1", + "spatie/laravel-package-tools": "^1.15.0" + }, + "require-dev": { + "laravel/pint": "^1.0", + "nunomaduro/collision": "^7.9", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^2.1", + "pestphp/pest-plugin-arch": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Agencetwogether\\HooksHelper\\HooksHelperServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Agencetwogether\\HooksHelper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Max", + "email": "contact@agencetwogether.fr", + "role": "Developer" + } + ], + "description": "Simple plugin to toggle display hooks available in current page.", + "homepage": "https://github.com/agencetwogether/hookshelper", + "keywords": [ + "agencetwogether", + "filament", + "filamentphp", + "helper", + "hooks", + "laravel" + ], + "support": { + "issues": "https://github.com/agencetwogether/hookshelper/issues", + "source": "https://github.com/agencetwogether/hookshelper" + }, + "funding": [ + { + "url": "https://github.com/agencetwogether", + "type": "github" + } + ], + "time": "2025-06-16T20:05:22+00:00" + }, { "name": "anourvalar/eloquent-serialize", "version": "1.3.4", @@ -5681,71 +5754,6 @@ ], "time": "2024-05-17T09:06:10+00:00" }, - { - "name": "spatie/laravel-login-link", - "version": "1.6.3", - "source": { - "type": "git", - "url": "https://github.com/spatie/laravel-login-link.git", - "reference": "8fd82ccafcf6ee9fbc033b7b273d44e5f6fd5ca4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-login-link/zipball/8fd82ccafcf6ee9fbc033b7b273d44e5f6fd5ca4", - "reference": "8fd82ccafcf6ee9fbc033b7b273d44e5f6fd5ca4", - "shasum": "" - }, - "require": { - "illuminate/contracts": "^10.0|^11.0|^12.0", - "php": "^8.0", - "spatie/laravel-package-tools": "^1.9.2" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.8", - "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^8.0|^9.0|^10.0", - "pestphp/pest": "^2.34|^3.7", - "pestphp/pest-plugin-laravel": "^1.1|^2.3|^3.1", - "spatie/laravel-ray": "^1.26", - "spatie/pest-plugin-snapshots": "^1.1|^2.1", - "spatie/phpunit-snapshot-assertions": "^4.2.12|^5.1" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Spatie\\LoginLink\\LoginLinkServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Spatie\\LoginLink\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "role": "Developer" - } - ], - "description": "Quickly login to your local environment", - "homepage": "https://github.com/spatie/laravel-login-link", - "keywords": [ - "laravel", - "laravel-login-link", - "spatie" - ], - "support": { - "source": "https://github.com/spatie/laravel-login-link/tree/1.6.3" - }, - "time": "2025-04-16T13:42:34+00:00" - }, { "name": "spatie/laravel-package-tools", "version": "1.92.7",