Getting issue after composer update - laravel-5

I am trying to update composer but getting the below error
Problem 1
- Root composer.json requires yajra/laravel-datatables-oracle dev-develop, it is found yajra/laravel-datatables-oracle[dev-develop] in the lock file and yajra/laravel-datatables-oracle[dev-closure-di, dev-master, dev-L4, dev-L5-DT1.9, 1.3.0, ..., v1.5.0, v2.0.0, ..., v2.2.2, v3.0.0, ..., v3.6.13, v4.0.0, ..., v4.3.3, v5.0.0-beta, ..., v5.12.5, v6.0.0-alpha, ..., v6.29.3, v7.0.0, ..., v7.10.3, v8.0.0, ..., v8.13.7, v9.0.0, ..., v9.18.1] from composer repo (https://repo.packagist.org) but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one from the lock file.
My laravel version 5.5
I try below command but nothing happened
composer require yajra/laravel-datatables-oracle:"~8.0"
composer self-update --stable
composer self-update --1
I dont know why this happen anyone have idea then please let me know

Related

Why Can't use marjose/laravel-bootstrap-notify in laravel 9

Hello guys i try to use Laravel notification package But When I Run This command in terminal
composer require marjose/laravel-bootstrap-notify
Here I Have This Error
C:\xampp\htdocs\EShop>composer require marjose/laravel-bootstrap-notify
Using version ^1.0 for marjose/laravel-bootstrap-notify
./composer.json has been updated
Running composer update marjose/laravel-bootstrap-notify
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires marjose/laravel-bootstrap-notify ^1.0 -> satisfiable by marjose/laravel-bootstrap-notify[v1.0.0].
- marjose/laravel-bootstrap-notify v1.0.0 requires illuminate/contracts ~6.0|~7.0|~8.0 -> found illuminate/contracts[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-de
v] but these were not loaded, likely because it conflicts with another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require marjose/laravel-bootstrap-notify:*" to figure out if any version is installable
, or "composer require marjose/laravel-bootstrap-notify:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I Try to use These Commands But Doesn't Work
composer require marjose/laravel-bootstrap-notify:*
composer require marjose/laravel-bootstrap-notify:^2.1"

Installation error on laravel shopify osiset

I'm trying to create a laravel app on shopify but when I tried to run the command
composer require osiset/laravel-shopify
it returns error, the error says:
Problem 1
Root composer.json requires osiset/laravel-shopify ^17.1 -> satisfiable by osiset/laravel-shopify[v17.1.0, 17.1.x-dev].
osiset/laravel-shopify[v17.1.0, ..., 17.1.x-dev] require laravel/framework ^7.0 || ^8.0 -> found laravel/framework[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.2).
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 osiset/laravel-shopify:*" to figure out if any version is installable, or "composer require osiset/laravel-shopify:^2.1" if you know which you need.
thank you for helping me
Try this command
composer create-project laravel/laravel example-app "8.*"

Unable to require auth0 dependencies in laravel

I'm using laravel 9.5 version and I wish to use the Auth0 to secure my API. Once, I enter the composer require auth0/login then I get failed with this error
Problem 1
- Root composer.json requires auth0/login ^6.5 -> satisfiable by auth0/login[6.5.0, 6.x-dev].
- auth0/login[6.5.0, ..., 6.x-dev] require illuminate/support ^6.0 || ^7.0 || ^8.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with
another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require auth0/login:*" to figure out if any version is installable, or "composer require auth0/login:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\xampp\htdocs\api> composer require auth0/login
Using version ^6.5 for auth0/login
./composer.json has been updated
Running composer update auth0/login
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires auth0/login ^6.5 -> satisfiable by auth0/login[6.5.0, 6.x-dev].
- auth0/login[6.5.0, ..., 6.x-dev] require illuminate/support ^6.0 || ^7.0 || ^8.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with
another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require auth0/login:*" to figure out if any version is installable, or "composer require auth0/login:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content

How to solve problem conflicts with your root composer.json require?

when I want to composer install srmklive/paypal using composer require srmklive/paypal, I get the error like belok:
Problem 1
- srmklive/paypal[v3.0, ..., 3.0.10] require guzzlehttp/guzzle ~7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.4.1] but it conflicts with your root composer.json require (^6.3).
- Root composer.json requires srmklive/paypal ^3.0 -> satisfiable by srmklive/paypal[v3.0, ..., 3.0.10].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Does anyone know how to solve it?
change in composer.json
"guzzlehttp/guzzle": "^6.3|^7.0.1",
Then update composer
We have resolved this issue with the below commands.
composer require srmklive/paypal --with-all-dependencies
Thanks

Installing Laravel Backpack 4.1 into Laravel 8

I am trying to install Backpack 4.1 into Laravel 8. I ran
composer require backpack/crud:"4.1.*"
But I received the following error.
Your requirements could not be resolved to an installable set of
packages.
backpack/crud[4.1.22, ..., 4.1.x-dev] require doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ..., 2.12.x-dev] but it conflicts
with your root composer.json require (^3.0).
backpack/crud[4.1.0, ..., 4.1.21] require laravel/framework ^7.0|^6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0,
..., 7.x-dev] but it conflicts with your root composer.json require
(^8.12).
Root composer.json requires backpack/crud 4.1.* -> satisfiable by backpack/crud[4.1.0, ..., 4.1.x-dev].
I have been looking around but have not found a solution yet. Versions: Laravel 8.17, PHP 7.3.24
UPDATE I have tried installing 4.2; please see below.
Root composer.json requires backpack/crud 4.2.* -> satisfiable by
backpack/crud[4.2.x-dev]. backpack/crud 4.2.x-dev requires
doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ...,
2.12.x-dev] but it conflicts with your root composer.json require (^3.0).
Pending answer removal.
It seems Backpack 4.1 now supports Laravel8

Resources