PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Laravel installation error

kento

Aug 5th, 2022 07:45 AM

I try to install a laravel project but im getting an error

screencapture-phplaravel-788002-2798752-cloudwaysapps-2022-08-05-11_38_13.png

try to contact the the developers from the project the say i need to run composer dump.

but im getting an error error.png /

anyone any idea how to fix it?

thinkverse

Aug 5th, 2022 07:53 AM

Seems the app uses intervention/image but it doesn't install it when running composer install? Then installing it should solve it.

composer require intervention/image
kento

Aug 5th, 2022 08:04 AM

after running the code 2.png i got this error

thinkverse

Aug 5th, 2022 08:29 AM

That Laravel app requires PHP ^7.3.0, but you're running PHP 8. The error is self-explanatory. Look in your composer.json under the require key and you'll probably see something similar to php: ^7.3. Meaning that application requires a PHP version that is compatible with PHP 7.3 and 7.4, you can read more about how versioning works on Composers documentation. Downrading to PHP 7.4 should fix that.

As for the other issues those will probably also be fixed if you run a version of PHP that's required.