Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contao 4.13, PHP 8 support #22

Open
fGuix opened this issue Jan 19, 2023 · 1 comment
Open

contao 4.13, PHP 8 support #22

fGuix opened this issue Jan 19, 2023 · 1 comment

Comments

@fGuix
Copy link

fGuix commented Jan 19, 2023

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
Copy link
Author

fGuix commented Jan 19, 2023

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)

@fGuix fGuix changed the title PHP 8 support contao 4.13, PHP 8 support Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant