Category : composer-php

The hardest thing for me in using Laravel and Composer is installing required dependecies. I still can’t try to access website to add slider. What can help me to get required depedencies or ignore them to see layout only? C:OpenServerdomainsexpressnails.ru>composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed ..

Read more

composer require laravel/scout Using version ^9.2 for laravel/scout ./composer.json has been updated Running composer update laravel/scout Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 – orchid/platform is locked to version 9.21.0 and an update of this package was not requested. – ..

Read more

tried installing bagisto / laravel-aliexpress-dropship but got bagisto/aliexpress-dropship dev-master requires symfony/dom-crawler ^5.3 -> found symfony/dom-crawler[v5.3.0-BETA1, …, 5.4.x-dev] but the package is fixed to v5.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. bagisto / laravel-aliexpress-dropship is a composer ..

Read more

I have a Laravel 7 application. However it has a problem changing APP_DEBUG to TRUE. I removed maximebf/debugbar and barryvdh/laravel-debugbar from composer, then reinstalled them. But the problem persists. This is the response I got from my application. Argument 1 passed to SymfonyComponentVarDumperDumperHtmlDumper::setDumpHeader() must be of the type string, null given, called in D:xampphtdocsmyappvendormaximebfdebugbarsrcDebugBarDataFormatterDebugBarVarDumper.php on ..

Read more

I am trying to install league/flysystem-aws-s3-v3 package.. My current laravel version is 5.7.* When I try to run composer require league/flysystem-aws-s3-v3 "^1.0" I get lots of issues 🙁 Your requirements could not be resolved to an installable set of packages. Problem 1 – laravel/framework 9.x-dev requires php ^8.0 -> your PHP version (7.4.13) does not ..

Read more

I’ve edited my php.ini file to have extension=imap and now when I run any php command from the terminal CLI I get PHP Warning: PHP Startup: Unable to load dynamic library ‘imap’ (tried: /usr/local/lib/php/pecl/20190902/imap (dlopen(/usr/local/lib/php/pecl/20190902/imap, 9): image not found), /usr/local/lib/php/pecl/20190902/imap.so (dlopen(/usr/local/lib/php/pecl/20190902/imap.so, 9): image not found)) in Unknown on line 0 I have these in my ..

Read more

I’m trying to create a laravel project with composer and when I run composer create-project laravel/laravel example-app in the terminal, the process stops with the following error: [RuntimeException] php: does not exist and could not be created. I have php 7.4 running through Wampserver (all services running) and I’ve added it’s PATH to the environment ..

Read more

I’m learning the basics of using laravel, when I want to create a new laravel project with the command: composer create-project –prefer-dist laravel/laravel="^7.0" laravel_rtrw an error appears like this picture project files still installed, but missing some files, such as vendor. I don’t know why this happened, before it was normal when I wanted to ..

Read more

I get the error in my collect and I dont know how to fix it. require "vendor/autoload.php"; use IlluminateSupportCollections; class CityAnalyzer { private $cityData; public function __construct($cityData) { $this->$cityData = $cityData; } public function printHighestPopulatedCities() { $sortedDescendingCityData = collect($this->$cityData)->map(function($city) { return new City($city["place_name"], $city["total_population_2010"]); })->sortByDesc(‘population’)->values()->all(); for ($i = 0; $i < 10; $i ++) { ..

Read more

i have a Laravel application, and i notice in my digital ocean account the CPU usage is firing up very high, untill i notice in my webapp a folder shows: "snxyy1", i deleted since i never saw it, but it keeps showing, and it starts creating my the ".cache/snxyy1", cant figure out how come it ..

Read more

Your requirements could not be resolved to an installable set of packages. Problem 1 – spatie/image 1.10.5 requires ext-exif * -> it is missing from your system. Install or enable PHP’s exif extension. – spatie/laravel-medialibrary 7.20.0 requires spatie/image ^1.4.0 -> satisfiable by spatie/image[1.10.5]. – spatie/laravel-medialibrary is locked to version 7.20.0 and an update of this ..

Read more

In fresh new install of a laravel project, I started to install VOYAGER in my project as the following steps: composer create-project –prefer-dist laravel/laravel badrhb "6.*" composer require tcg/voyager and here I got an error as follow: …. ….. … Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 ..

Read more