Alguém com esse problema? Não consegui criar o projeto de jeito nenhum, instalo pacotes, mexo no php.ini e esse erro persiste
rodri@DESKTOP-6ROTH4A MINGW64 ~/Projects/alura/laravel $ composer create-project laravel/laravel example Creating a "laravel/laravel" project at "./example" Installing laravel/laravel (v8.5.9)
Installing laravel/laravel (v8.5.9): Extracting archive Created project in C:\Users\rodri\Projects\alura\laravel\example
@php -r "file_exists('.env') || copy('.env.example', '.env');" Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework[v8.12.0, ..., 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, ..., 1.x-dev].
- league/flysystem[1.1.0, ..., 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- Root composer.json requires laravel/framework ^8.12 -> satisfiable by laravel/framework[v8.12.0, ..., 8.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- C:\Php\php.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.