1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Can't create Laravel Project using composer

Discussão em 'Outras Linguagens' iniciado por Joaquinm, Outubro 3, 2024 às 13:52.

  1. Joaquinm

    Joaquinm Guest

    I want to create a Laravel project with Composer. I have version 2.8.0, but every time I try to use 'composer create-project laravel/laravel example-app,' I get the following errors:


    Problem 1 - Root composer.json requires laravel/framework ^11.9 -> satisfiable by laravel/framework[v11.9.0, ..., v11.26.0]. - laravel/framework[v11.9.0, ..., v11.26.0] require league/flysystem ^3.8.0 -> satisfiable by league/flysystem[3.8.0, ..., 3.29.0]. - league/flysystem[3.3.0, ..., 3.14.0] require league/mime-type-detection ^1.0.0 -> satisfiable by league/mime-type-detection[1.0.0, ..., 1.16.0]. - league/flysystem[3.15.0, ..., 3.29.0] require league/flysystem-local ^3.0.0 -> satisfiable by league/flysystem-local[3.15.0, ..., 3.29.0]. - league/flysystem-local[3.15.0, ..., 3.29.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - league/mime-type-detection[1.4.0, ..., 1.16.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - league/mime-type-detection[1.0.0, ..., 1.3.0] require php ^7.2 -> your php version (8.3.12) does not satisfy that requirement. To enable extensions, verify that they are enabled in your .ini files:

    I am following a YouTube tutorial to create a CRUD application, and they don't have this kind of problem. I have already installed PHP and set the PATH environment variable.

    Continue reading...

Compartilhe esta Página