DieSchittigs / contao-content-api-bundle

Contao JSON-API
MIT License
41 stars 9 forks source link

contao 4.13, PHP 8 support #22

Open fGuix opened 1 year ago

fGuix commented 1 year ago

Hi,

I used this package recently in one of my project and when using php 8, the version installed is '1.1.0 ' which is confusing (probably because of missing restriction regarding php in this version).

It would be great to support php ^8.0 but I'm not sure simply modifying the composer.json would be enough.

is there any plan in the direction of supporting php 8 ?

fGuix commented 1 year ago

I forked the project here : https://github.com/fGuix/contao-content-api-bundle

Adding support for contao 4.13/php8(symfony 5.4) regarding my needs (so it's incomplete for now).

To add this version to your project, you need to add the following in your composer.json

... "repositories": [ { "type": "vcs", "url": "https://github.com/fGuix/contao-content-api-bundle.git" } ], ... "require": { "dieschittigs/contao-content-api-bundle": "^3.0.0", ...

notice the name contao-content-api-bundle (on packagist, it's named contao-content-api)