fastofiCorp / filament-printables

Effortlessly streamline tables and records printing in PDF/XLSX in your FilamentPHP application.
https://www.fastoficorp.com
MIT License
31 stars 4 forks source link

[Bug]: Can't install using composer require #2

Open faizananwerali opened 1 year ago

faizananwerali commented 1 year ago

What happened?

Filament: v2.17.49

I tried to install this package into my Laravel filament app but can't install it, I got an error, maybe PHP or Laravel or composer version error.

filament@bar:~$ composer require fastofi-corp/filament-printables
Info from https://repo.packagist.org: #StandWithUkraine

In PackageDiscoveryTrait.php line 331:

  Could not find a version of package fastofi-corp/filament-printables matching your minimum-stability (stable). Require it with an explicit version constraint allowi  
  ng its desired stability.                                                                                                                                             

I had to install it this way composer require fastofi-corp/filament-printables:dev-main. I think this can be resolved in two ways, first, change the Readme docs so everyone installs this version or allow to install the latest version by default using composer.

How to reproduce the bug

Run composer require fastofi-corp/filament-printables command with the version od PHP, Laravel and Filament version I've installed.

Package Version

latest

PHP Version

8.1.18

Laravel Version

10.14.0

Which operating systems does with happen with?

macOS

Notes

No response

alvleont commented 1 year ago

Sorry for the delay.

You can use the composer command normally. We released a 1.0.0 version.

basiima commented 1 year ago

use composer require fastofi-corp/filament-printables not composer require fastoficorp/filament-printables

basiima commented 1 year ago

@alvleont kindly update README appropriately