laravel/ui[v3.2.0, ..., 3.x-dev] require illuminate/console ^8.0

Stefan Bogdanescu

Founder & Senior Architect · 2026-06-29

Laravel Company
"Laravel/UI Composer Requirements Explained" Title: Laravel/UI[v3.2.0, ..., 3.x-dev] require illuminate/console ^8.0 Greetings fellow developers! You might have encountered issues when trying to install the Laravel UI with this error message: "laravel/ui[v3.2.0, ..., 3.x-dev] 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." This is a common problem that many beginners face when working with Laravel stacks. In this post, we will discuss the root cause of this issue and provide you with relevant solutions to help you resolve your composer requirements. Firstly, let's understand what could have caused this conflict. The Laravel UI package is a toolkit that facilitates building beautiful, modern applications using Laravel. It provides custom scaffolding and other features that make developing faster and easier. However, for the Laravel UI to work correctly, it requires the illuminate/console package from Laravel's core framework. Unfortunately, there seems to be a mismatch in version requirements, which causes this error message. Now let's discuss possible solutions: 1. Update your global composer to the latest version Sometimes, these conflicts are caused by older composers. Make sure you update your global composer using the following command: `composer self-update --latest` 2. Use the Composer config file If updating doesn't solve the issue, try adding a 'prefer-stable' key to your Composer configuration file (composer.json). This will ensure that Laravel UI gets installed with compatible dependencies: `"config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true, "enable-cli": false, "prefer-stable": true, },` 3. Update the Laravel framework version Sometimes, updating your Laravel framework to a newer version might fix the issue. Ensure you check the compatibility of your new Laravel version with the other dependencies and make appropriate updates accordingly: `"require": { "laravel/framework": "7.x.*" },` 4. Manually install all dependencies You can always manually install the required packages through composer require commands: `composer require laravel/ui composer require illuminate/console composer update 5. Use Laravel Mix to handle UI-related tasks To avoid conflicts in future, you may consider using Laravel Mix, a frontend toolkit for Laravel. It simplifies the process of managing assets and enhances the development experience: `npm install --save-dev laravel-mix In conclusion, these conflicts are often caused by version mismatches between packages. Updating your composer, the framework version, or even using Laravel Mix can help resolve these issues. However, ensure you thoroughly test and debug before adopting any of these solutions to prevent unexpected errors. Remember to always keep your tools updated for a smoother development experience. Happy coding!