Category : composer-php

during the conception of my web site using laravel 7 I found some troubles when I wanted to customize my laravel customize my Laravel email verification message. first, I went to this file "C:xampphtdocsclinique_juridiquevendorlaravelframeworksrcIlluminateAuthNotificationsVerifyEmail.php",then i translate the sentences that are there . Here I met two issues, the first one some sentences are not in ..

Read more

I try to install jwt package in Laravel, by using below command: composer require tymon/jwt-auth:dev-develop –prefer-source but it return error: Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 ./composer.json has been updated Loading composer repositories with package information Warning from https://repo.packagist.org: ..

Read more

while composer install the project on my server i faced this problem : Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating optimized autoload files Deprecation Notice: Class HTMLPurifier_Language_en_x_test located in ./vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language/classes/en-x-test.php does not comply with psr-0 autoloading standard. It will not autoload anymore in ..

Read more

I have been writing laravel code for quite sometime. Currently, I tried cloning a project from github and editing locally. I installed composer in my project directory but a vendor folder was not included, I tried to run "composer install" but I gives me this error " Your lock file does not contain a compatible ..

Read more

I have an github action script that executes composer install and returns this error: IlluminateFoundationComposerScripts::postAutoloadDump @php artisan package:discover PHP Fatal error: Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in /home/runner/work/projsiteWebApp/projsiteWebApp/vendor/laravel/framework/src/Illuminate/Container/Container.php:853 This is so weried cause this worked just the other day and i have made no changes at all. I use laravel 5.6 and php 7.1.2 ..

Read more

I just updated my Laravel and now when I run composer install or composer update or composer require nesbot/carbon I’m getting this error Carbon 1 is deprecated, see how to migrate to Carbon 2. https://carbon.nesbot.com/docs/#api-carbon-2 You can run ".vendorbinupgrade-carbon" to get help in updating carbon and other frameworks and libraries that depend on it. > ..

Read more

I was conding and accidentally all crashed, so I recieved the message in terminal Could not find a matching version of package ext-mysql_xdevapi. tried composer require nexilo/xdevapi-php Using version ^1.2 for nexilo/xdevapi-php ./composer.json has been updated Running composer update nexilo/xdevapi-php Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to ..

Read more

Im trying to install laravel/ui but I get this error: **Problem 1** – laravel/tinker is locked to version v2.5.0 and an update of this package was not requested. – laravel/tinker v2.5.0 requires illuminate/console ^8.0 -> found illuminate/console[v8.0.0, …, 8.x-dev] but these were not loaded, likely because it conflicts with another require. **Problem 2** – laravel/ui[v3.0.0, ..

Read more

I keep getting this error when trying to use "php artisan migrate" PHP Warning: PHP Startup: Unable to load dynamic library ‘sqlsrv’ (tried: E:xamppphpextsqlsrv (The specified module could not be found), E:xamppphpextphp_sqlsrv.dll (The specified module could not be found)) in Unknown on line 0 I’m using laravel and trying to connect to Microsoft SQL Server ..

Read more

I am running: composer require onecentlin/laravel-adminer Composer seems to install package successfully but no package is added in the vendor directory and no new entry is added to the composer.json file either… composer require onecentlin/laravel-adminer Using version ^5.1 for onecentlin/laravel-adminer ./composer.json has been updated Running composer update onecentlin/laravel-adminer Loading composer repositories with package information Updating ..

Read more

I am unable to add new package in laravel project. I am using laravel 7.2 I was trying to run this command composer require stripe/stripe-php but i got below error. Problem 1 – Root composer.json requires kreait/laravel-firebase ^3.0, found kreait/laravel-firebase[3.0.0] but the package is fixed to 2.2.0 (lock file version) by a partial update and ..

Read more

I am trying to upgrade laravel to version 6 to php 7.4. How can I change the composer (its content is below) so that it pulls the plugins of compatible versions necessary for the project? Compatibility errors occur when changing only laravel version how do I understand which versions of plugins to write in composer ..

Read more

trying to regenerate my composer.lock file with composer.phar install but ran into this error enter code here Problem 1 – Conclusion: don’t install laravel/framework v5.4.1 (conflict analysis result) – Conclusion: don’t install laravel/framework v5.4.2 (conflict analysis result) – Conclusion: don’t install laravel/framework v5.4.3 (conflict analysis result) – Conclusion: don’t install laravel/framework v5.4.4 (conflict analysis result) ..

Read more

I installed Laravel through composer using PHP 7.3.25 through xampp v3.2.4. I first noticed this problem yesterday when the cli stopped during: php artisan serve I scoured SO and the internet for possible fixes. Going through these command fixed this problem for me (or so I thought): composer update –no-scripts php artisan clear-compiled composer dump-autoload ..

Read more

Initially, I have composer version-1 on my Windows-10. I downloaded the latest version of the composer and tried to install on windows-10. When I run the setup.exe, I got this error: The PHP exe file you specified did not run correctly: C:xamppphpphp.exe The php.ini used by your command-line PHP is: C:xamppphpphp.ini A setting in your ..

Read more

please I started having this issue with my laravel application. After trying to setup composer not to use sudo, my application started to log this error PHP Fatal error: Uncaught Error: Call to undefined method ComposerAutoloaderInit306d1be2670f38119c3f4a8ab7158067::getLoader() in /var/www/html/****-api/vendor/autoload.php:7 I need urgent help as all my laravel applications are down. Thanks. Sourc..

Read more

When I run "laravel new " command, I get the following exception. [RuntimeException] Could not delete C:wamp64www/vendor/composer/xxxxxlaravel-laravel-3b2ed46bootstrapcache: This can be due to an antivirus or the Windows Search Indexer locking the file while they are analyzed What I have tried: Checked the permissions of www directory Used the Command prompt and git bash in Admin ..

Read more