asahasrabuddhe / laravel-mjml

Easily use MJML in your Laravel Blade templates!
MIT License
123 stars 51 forks source link

Laravel 11 support #180

Open aptcreativedesign opened 7 months ago

aptcreativedesign commented 7 months ago

With the release of Laravel 11 this week I have been testing the compatibility of packages that we already use in our projects using a completely fresh project.

I was wondering when this package would be getting an update to make it compatible with Laravel 11 as at the moment get the following error on composer require:

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • asahasrabuddhe/laravel-mjml[dev-dependabot/composer/league/flysystem-1.1.4, dev-dependabot/composer/soundasleep/html2text-1.1.0, dev-dependabot/composer/orchestra/testbench-4.17.0, dev-dependabot/composer/laravel/framework-6.20.30, dev-dependabot/composer/symfony/process-4.4.27, dev-dependabot/composer/php-coveralls/php-coveralls-2.4.3, dev-dependabot/add-v2-config-file, 0.4.0] require symfony/process ^4.0|^5.0 -> found symfony/process[v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but the package is fixed to v7.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  • asahasrabuddhe/laravel-mjml[dev-develop, dev-analysis-x0JP6M, 0.1.0, ..., 0.3.0] require symfony/process ^4.0 -> found symfony/process[v4.0.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v7.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  • asahasrabuddhe/laravel-mjml[dev-dependabot/composer/orchestra/testbench-6.41.0, dev-dependabot/composer/symfony/process-5.4.34, dev-dependabot/composer/php-coveralls/php-coveralls-2.7.0, dev-master, 0.5.0, ..., 0.9.0] require symfony/process ^4.0.0|^5.0.0|^6.0.0 -> found symfony/process[v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev] but the package is fixed to v7.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  • Root composer.json requires asahasrabuddhe/laravel-mjml * -> satisfiable by asahasrabuddhe/laravel-mjml[dev-dependabot/composer/league/flysystem-1.1.4, dev-dependabot/composer/soundasleep/html2text-1.1.0, dev-dependabot/composer/orchestra/testbench-4.17.0, dev-dependabot/composer/laravel/framework-6.20.30, dev-dependabot/composer/orchestra/testbench-6.41.0, dev-dependabot/composer/symfony/process-4.4.27, dev-dependabot/composer/symfony/process-5.4.34, dev-dependabot/composer/php-coveralls/php-coveralls-2.4.3, dev-dependabot/composer/php-coveralls/php-coveralls-2.7.0, dev-dependabot/add-v2-config-file, dev-master, dev-develop, dev-analysis-x0JP6M, 0.1.0, ..., 0.9.0, 9999999-dev].

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 asahasrabuddhe/laravel-mjml:*" to figure out if any version is installable, or "composer require asahasrabuddhe/laravel-mjml:^2.1" if you know which you need.

freelaxdeveloper commented 6 months ago

Any ideas? Have the same problem

EvanSchleret commented 3 months ago

Given the last update of this repo, I would like to refer you to the package I made yesterday, which allows the use of MJML, if you are still looking for a functional solution : https://github.com/EvanSchleret/lara-mjml

jezmck commented 1 month ago

The latest update on this repo was now only a few weeks ago; Aug 14, 2024 https://github.com/asahasrabuddhe/laravel-mjml/commits/master/ so it doesn't look like this project is abandoned as suggested.

@asahasrabuddhe Is this an easy update?

EvanSchleret commented 1 month ago

The latest update was for the composer.lock file. And before, the last commit was in 2022. That's not what I will call an active project. I just proposed an alternative ;)