Support the ongoing development of Laravel.io →
Cashier Laravel

When I am trying to install laravel cashier via composer composer require laravel/cashier

I am getting this error: Problem 1 - laravel/cashier 13.x-dev requires illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require. - laravel/cashier[v13.5.0, ..., v13.5.1] require illuminate/console ^8.0 -> found illuminate/console[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires laravel/cashier ^13.5 -> satisfiable by laravel/cashier[v13.5.0, v13.5.1, 13.x-dev]. I think this is the issue with the latest version of cashier being not compatible with laravel 6. How to identify which version is compatible with laravel6? I can't find it any documentation. lara

Last updated 3 years ago.
0
moderator

Hello @nehalkapadiya,

There are multiple ways to do this:

One way is checking the releases on GitHub to find where the support for Laravel 6 is dropped.

Another way is to check the blame on composer.json to see when the requirement is changed.

The third (and my preferred) option is checking the packagist page for the package and check the versions to see support for the illuminate 6 versions.

For all the options it helps to know that the support of an older Laravel version is a BC break that results in a new major version. In this case it means that because the 13.* doesn't work I should check the latest 12.* version. That is 12.15.0 en packagist say that is working. See: https://packagist.org/packages/laravel/cashier#v12.15.0

So you can run composer require laravel/cashier:^12.0 to get the wanted version.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.