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

Not Working with Laravel v10 Because it does not support Monolog 3.0 #137

Open
tahaRazaTalibi opened this issue Jun 12, 2023 · 3 comments
Open

Comments

@tahaRazaTalibi
Copy link

tahaRazaTalibi commented Jun 12, 2023

When requiring this this package, I got the following error.

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

Problem 1
- Root composer.json requires signalwire-community/signalwire 3.1.0 -> satisfiable by signalwire-community/signalwire[v3.1.0].
- signalwire-community/signalwire v3.1.0 requires monolog/monolog ^1.24 || ^2.0 -> found monolog/monolog[1.24.0, ..., 1.27.1, 2.0.0, ..., 2.9.1] but these were not loaded, likely because it conflicts with another require.

@tahaRazaTalibi tahaRazaTalibi changed the title Not Working with Laravel v10 Not Working with Laravel v10 Because it does not support Monolog 3.0 Jul 8, 2023
@IvanSerevko
Copy link

The same issue ((

@IvanSerevko
Copy link

need change:
in composer.json
"monolog/monolog": "^1.24 || ^2.0 || ^3.0",
src/Log.php
add
Use Monolog\Level;
and change
$level = isset($_ENV['DEBUG']) ? Logger::DEBUG : Logger::INFO;
to
$level = isset($_ENV['DEBUG']) ? Level::Debug : Level::Info;

also for fix tests
in file tests/laml/LaMLTest.php
remove function testGeneratedLaMLMatch because it deprecated
remove file examples/laml/generate-laml.php

IvanSerevko added a commit to IvanSerevko/signalwire-php that referenced this issue Apr 25, 2024
IvanSerevko added a commit to IvanSerevko/signalwire-php that referenced this issue Apr 25, 2024
IvanSerevko added a commit to IvanSerevko/signalwire-php that referenced this issue Apr 25, 2024
@noumansarwarr
Copy link

When will this issue be fixed and closed? I'm facing the same problem.

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

3 participants