TappNetwork / Filament-Form-Builder

Generate forms for collecting user data using Filament PHP
MIT License
3 stars 1 forks source link

[Bug]: Cant install with " composer require tapp/filament-form-builder " #5

Open chris-john19 opened 2 weeks ago

chris-john19 commented 2 weeks ago

What happened?

I cant install using

composer require tapp/filament-form-builder

from the documentation.

It gives error message

"Could not find a matching version of package tapp/filament-form-builder. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable). "

in the VS code

How to reproduce the bug

try to install with laravel 10 and Filament 3.2 (fresh install)

you cant install the plugin as it is giving error right from the start

Package Version

1.27

PHP Version

8.1

Laravel Version

10

Which operating systems does with happen with?

Windows

Notes

under Filament 3.2

chris-john19 commented 2 weeks ago

Also tried with laravel 11 - same thing.

below is the composer.json

{ "name": "laravel/laravel", "type": "project", "description": "The skeleton application for the Laravel framework.", "keywords": ["laravel", "framework"], "license": "MIT", "require": { "php": "^8.2", "filament/filament": "^3.2", "laravel/framework": "^11.9", "laravel/tinker": "^2.9" }, "require-dev": { "fakerphp/faker": "^1.23", "laravel/pint": "^1.13", "laravel/sail": "^1.26", "mockery/mockery": "^1.6", "nunomaduro/collision": "^8.0", "phpunit/phpunit": "^11.0.1" }, "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", "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"", "@php artisan migrate --graceful --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 }

swilla commented 2 weeks ago

@chris-john19 this hasn't been added to packagist yet, so you can install it by adding a repositories key to your composer.json"

{
...
"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/TappNetwork/Filament-Form-Builder"
        }
    ],
...
}