savannabits / filament-signature-pad

Signature Pad Field for Filamentphp Forms
MIT License
62 stars 20 forks source link

[Bug]: Impossible to install with Filament 3 ? #22

Closed leomat closed 11 months ago

leomat commented 11 months ago

What happened?

Hi, Maybe I'm stupid, but when I try to install with "composer require coolsam/signature-pad", I get this error message.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires skuzalabs/filament-signature-pad * -> satisfiable by skuzalabs/filament-signature-pad[v1.0.0, ..., v1.0.4].
    - skuzalabs/filament-signature-pad[v1.0.0, ..., v1.0.4] require filament/filament ^2.0 -> found filament/filament[v2.5.3, ..., v2.17.55] but it conflicts with your root composer.json require (^3.0-stable).

Here's my composer.json:

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The skeleton application for the Laravel framework.",
    "keywords": [
        "laravel",
        "framework"
    ],
    "license": "MIT",
    "require": {
        "php": "^8.2",
        "cheesegrits/filament-google-maps": "^3.0",
        "filament/filament": "^3.0-stable",
        "filament/spatie-laravel-media-library-plugin": "3.0-stable",
        "flowframe/laravel-trend": "^0.1.5",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^10.10",
        "laravel/jetstream": "^4.0",
        "laravel/sanctum": "^3.2",
        "laravel/tinker": "^2.8",
        "livewire/livewire": "^3.0",
        "opcodesio/log-viewer": "^3.1",
        "simplesoftwareio/simple-qrcode": "^4.2",
        "spatie/laravel-google-calendar": "^3.6",
        "spatie/laravel-medialibrary": "^10.11",
        "squirephp/countries-fr": "^3.4",
        "stripe/stripe-php": "^12.3"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.9",
        "fakerphp/faker": "^1.9.1",
        "laravel-lang/common": "^4.0",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.18",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^7.0",
        "phpunit/phpunit": "^10.1",
        "spatie/laravel-ignition": "^2.0"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi",
            "@php artisan filament:upgrade"
        ],
        "post-update-cmd": [
            "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "pestphp/pest-plugin": true,
            "php-http/discovery": true
        }
    },
    "minimum-stability": "stable",
    "prefer-stable": true
}

What's wrong with this ?

Thanks for your help

How to reproduce the bug

When I Install the package via composer, a error occurred.

Package Version

1.2.0

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

Windows

Notes

No response

ayush12993 commented 10 months ago

Try for other plugin filament 3