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 ..

I am building a Nova Page Builder for our company but am new to creating composer packages. Here is what I have as far as files: Models / Page.php (model) Nova / Pages.php (handles fields for the model) Migration file to build "pages" table Requires other composer packages for things like nova-tabs, nova-menu, nova-flexible-fields. I ..

Im trying to install a laravel project in mac OS Big Sur M1 PHP version – 7.2 When i run this composer install Im getting the below errors Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of ..

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. – ..

Recently, I Installed jalali calendar on local server from https://github.com/morilog/jalali in fact by running composer require morilog/jalali:3 In the terminal of phpstorm my project retrieved date based on Persian format, while, when I uploaded to the server and tried to use this function, the controller could not save valid data. All in all, this function ..

I am trying to init a laravel project using composer in my ubuntu os and I always get this error, I tried everyting.. I installed the php-xml I am using xampp with php 8.0.7 This is a picture of the full error I get when I try to init the app error picture Sourc..

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 ..

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 ..

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 ..

When I try to install nwidart/laravel-menus using composer require nwidart/laravel-menus getting error Installation failed, reverting ./composer.json and ./composer.lock to their original content. php version ": "^7.1.3", laravel/framework version: "5.8.*" please provide me any solution to fix above mentioned error. Sourc..

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 ..

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 ..

[RuntimeException] php: does not exist and could not be created. Sourc..

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 ..

Problem 1 – phpviet/laravel-omnipay is locked to version 1.1.2 and an update of this package was not requested. – phpviet/laravel-omnipay 1.1.2 requires php ^7.1 -> your php version (8.0.3) does not satisfy that requirement. i tried composer install and composer update but both didn’t working Sourc..

I get this error whenever I use php artisan command with any or with out text following. I also get this error when doing composer install. I think it’s something to to with the namesapcing because when I change the namespace of this specific error, the error is gone and I get a new error ..

I am using laravel ^8.40 on windows environment using php ^7.3|^8.0, (installed with xampp).After installing laravel the ‘php artisan serve’ command work but automatically deletes the ASCII.php file. And giving this error on chrome and error on terminal Thank You in Advance Sourc..

I’m going to start a new laravel project on my new pc (ubuntu) but I can’t install valet. there is one of error I cant understand how to fix it. here I add my current packages ubuntu – No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.04 Release: 21.04 Codename: hirsute Laravel – ..

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 ++) { ..

I am currently learning PHP and I have decided to try and learn Laravel. So I am sorry if my problem is easily fixable, I just can’t figure it out So I am trying to create new Laravel application. I have installed XAMPP and Composer. With Composer ( composer global require laravel/installer ) I have ..

I am building some Laravel packages. For each package, I have a separate git repository. As I am building the package up, it is being built within a Laravel project so I can see how it works and ultimately use it there as well. I didn’t want to have a separate project, change the code, ..

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 ..