rupadana / filament-api-service

A simple api service for supporting filamentphp
https://filamentphp.com/plugins/rupadana-api-service
MIT License
121 stars 26 forks source link

[Bug]: Laravel 11 Support? #41

Closed faizananwerali closed 6 months ago

faizananwerali commented 6 months ago

What happened?

➜  my-project git:(main) ✗ composer require rupadana/filament-api-service
./composer.json has been updated
Running composer update rupadana/filament-api-service
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - rupadana/filament-api-service[v1.0.0, ..., v1.0.3] require illuminate/contracts ^10.0 -> found illuminate/contracts[v10.0.0, ..., v10.48.3] but these were not loaded, likely because it conflicts with another require.
    - rupadana/filament-api-service[3.0.0, ..., 3.1.4] require laravel/framework ^10.10 -> found laravel/framework[v10.10.0, ..., v10.48.3] but it conflicts with your root composer.json require (^11.0).
    - Root composer.json requires rupadana/filament-api-service * -> satisfiable by rupadana/filament-api-service[v1.0.0, v1.0.1, v1.0.2, v1.0.3, 3.0.0, ..., 3.1.4].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require rupadana/filament-api-service:*" to figure out if any version is installable, or "composer require rupadana/filament-api-service:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Laravel 11 is not supported

How to reproduce the bug

Install the package on Laravel 11 app

Package Version

3.1.4

PHP Version

8.3.1

Laravel Version

11.x

Which operating systems does with happen with?

No response

Notes

No response

faizananwerali commented 6 months ago

I have tested https://github.com/rupadana/filament-api-service/pull/21 this pull request and I can confirm that this pull request is working with Laravel 11 and the new version of sanctum v4.

Can you please merge this pull request?

rupadana commented 6 months ago

Already released bro, please upgrade to latest version. Thank you for you contribution ☺️.