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

Add support for Symfony 7 #238

Open
mbrodala opened this issue Jan 4, 2024 · 10 comments · May be fixed by #239
Open

Add support for Symfony 7 #238

mbrodala opened this issue Jan 4, 2024 · 10 comments · May be fixed by #239

Comments

@mbrodala
Copy link
Contributor

mbrodala commented Jan 4, 2024

Symfony 7 has been released and the Cachetool should be updated to support this new major version.


Maintainer's note:

The ideal distribution of cachetool is via a phar file, not a dependency to your symfony project.

@mbrodala mbrodala linked a pull request Jan 4, 2024 that will close this issue
@mbrodala
Copy link
Contributor Author

mbrodala commented Jan 4, 2024

Notice that this is currently blocked by consolidation/self-update, see consolidation/self-update#27

@webdeal
Copy link

webdeal commented Apr 16, 2024

It's pity.

@Seldaek
Copy link

Seldaek commented Apr 16, 2024

I install cachetool as a phar using my server provisioning tool and never have dependency issues.. Just an idea for anyone who's stuck.

Because imo this has nothing to do with the application, it's a deploy-time utility. At least the way i use it.

@mbrodala
Copy link
Contributor Author

Yeah, we also went with the Phar release in the meantime with a few extra steps to have it available as usual everywhere.

@timrasche
Copy link

Any news?

@webdeal
Copy link

webdeal commented Jul 19, 2024

Any news?

No. I installed Phar release as described above, it solved problem.

@Chi-teck
Copy link

Chi-teck commented Oct 3, 2024

consolidation/self-update 3.x does support Symfony 7, but it doesn't have a stable release yet.
I would actually consider dropping self-update feature

@gordalina
Copy link
Owner

The ideal distribution of cachetool is via a phar file, not a dependency to your symfony project.

@Chi-teck
Copy link

@gordalina that depends on how you use it. In some cases you need to invoke it from PHP code in response of some events happened in your system.

@Seldaek
Copy link

Seldaek commented Oct 22, 2024

You can still invoke the phar from php, either using exec/proc_open style or even including it using phar://cachetool.phar/vendor/autoload.php to make its classes available that should mostly work but a bit more risky as you might have conflicting class versions then between your project and the phar.

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

Successfully merging a pull request may close this issue.

6 participants