All Questions
29 questions
-1
votes
1
answer
795
views
How merge package composer.json file?
I create my own package located in the root folder named /ECommerce.
This directory contains composer.json and my package code.
When I want to add a new package to ECommerce/composer.json, which is ...
0
votes
3
answers
519
views
Local composer package in Laravel does not match the expected JSON scheme
I'm trying to load a local package into my Laravel 8 project, but am getting the following error in ./composer.json:
"./composer.json" does not match the expected JSON schema: ...
0
votes
0
answers
25
views
Problems while trying to upgrade Laravel from version 6 to 7 [duplicate]
Hello all you Wonderfull people,
We are encountering problems while trying to upgrade Laravel from version 6 to 7. This is the error message:
Script php artisan optimize handling the post-update-cmd ...
2
votes
1
answer
2k
views
unable to install Laravel via composer on Windows 7: "29 packages you are using are looking for funding"
I have installed Composer on windows 7 with the Composer-Setup.exe.
I am trying to install Laravel via Composer on Windows 7. I've tried 2 different commands:
composer global require laravel/...
0
votes
1
answer
255
views
Automatically add autoload
I make a "HelperCommand" to generate helper in Laravel. "HelperCommand" will create a file in "app/Console/Commands/Helpers".
php artisan helper:command time.php
public function handle()
{
$...
0
votes
1
answer
1k
views
Composer could not find the config file: C:\composer To initialize a project, please create a composer.json file
I'm trying to install Laravel on my Windows 10, I have set composer in PATH.
The steps that I have executed were:
create a folder called laravel in htdocs folder of xampp C:\xampp\htdocs\Laravel, ...
5
votes
2
answers
11k
views
INVALID CREDENTIALS error when trying to update Laravel/Nova via Composer to latest release
I have been trying for two days now to update Nova
After getting the composer.json file correct to where the update process seems to be functioning, correctly I get an authentication error.
Package ...
2
votes
0
answers
238
views
Laravel 4.2 getting error array_merge(): Argument #2 is not an array
I am having a trouble with my project, It shows the error array_merge(): Argument #2 i have tried using composer update but the update do not work because it shows the same error in the console, i don'...
0
votes
3
answers
4k
views
Installing laravel suddenly some json file cannot be downloaded
I typed create-project laravel/laravel "foldername" and got this message:
[Composer\Downloader\TransportException] The
"http://packagist.org/p/illuminate/console%...
0
votes
1
answer
1k
views
composer.json does not contain a valid json
there is a syntax error in my composer.json file but I just can't seem to find the error. I already have a Laravel object on top of the file, but I also want to add Goaop, like the following code.
how ...
6
votes
10
answers
22k
views
Laravel Composer could not install tymon/jwt-auth
Please assist, composer could not install tymon/jwt-auth:0.5.*
I had type :
composer require tymon/jwt-auth:0.5.*
i also tried to add the ff in projects composer.json:
require {
....
"tymon/...
2
votes
1
answer
884
views
Add namespace to PSR-4-Section in composer.json file from command line interface
I'm looking for a way adding namespaces to the autoload PSR-4-Section in the composer.json file of my Laravel project, from the command line interface.
{
"autoload": {
"psr-4": {
"App\\": ...
0
votes
0
answers
243
views
Composer not able to install private package that lives on remote repository
I've developed a Laravel package that I've pushed to my remote repository.
I've tested it locally with the following composer repositories:
"repositories": [
{
"type": "path"
"url"...
0
votes
1
answer
940
views
Fatal Error PatchWork/utf8 with Laravel
I cloned a site on github, and i had an error with the vendor folder because it wasn't be installed with composer install or update so i've copied the vendor folder from a fresh laravel project and i ...
0
votes
1
answer
2k
views
Composer installs a package not present in .json file
I am using Laravel 5.4 with composer and when i try to install some requirement bash tells me:
Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead.
...