Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

installing metronic 8 with laravel

I downloaded the starterkit and when I try to run "composer install" I get errors

Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1 - phpoffice/phpspreadsheet is locked to version 1.29.0 and an update of this package was not requested. - phpoffice/phpspreadsheet 1.29.0 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension. Problem 2 - phpoffice/phpspreadsheet 1.29.0 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension. - yajra/laravel-datatables-export v11.1.1 requires phpoffice/phpspreadsheet ^1.29 -> satisfiable by phpoffice/phpspreadsheet[1.29.0]. - yajra/laravel-datatables-export is locked to version v11.1.1 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files: - D:\xampp\php\php.ini You can also run php --ini in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with --ignore-platform-req=ext-gd to temporarily ignore these required extensions.

Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


It looks like you're facing dependency issues while running composer install, primarily due to the missing ext-gd extension required by phpoffice/phpspreadsheet. To resolve this, enable GD in your php.ini file by uncommenting extension=gd and restarting your server. You can also check active extensions using php --ini. If you still encounter issues, running composer update might help update dependencies to match your system. Similarly, just like GSMNeo FRP Android tools help bypass FRP locks efficiently, ensuring that all required PHP extensions are properly installed and updated is essential for smooth Laravel and Composer operations.


Hi Ahmad,

Can you try to run Composer with --ignore-platform-req=ext-gd?

composer install --ignore-platform-req=ext-gd

Thanks

Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(