jeudi 28 septembre 2017

composer require laravelcollective html 'doesnt download dependancy

please assist,

I am new to laravel and I cannot download dependency for laravelcollective/html ... I am using laravel 5.5.13

I want to require laravelcollective/html

however I face the following problems.

  1. when I run : composer require "laravelcollective/html:5.2.*",

I get the below mentioned(similarly when I run composer update ) :

C:\Users\MALULEKE\Desktop\lara_proj\shops>composer require "laravelcollective/html:5.2.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package laravelcollective/html could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <http://ift.tt/1QfuRiU; for more details.

Read <http://ift.tt/1g1ylKI; for further common problems.

Installation failed, reverting ./composer.json to its original content.

C:\Users\MALULEKE\Desktop\lara_proj\shops>composer require "laravelcollective/html:5.2.*"

below is my composer.json relative to my project's work (not from composer/roaming, I am not even sure which is it I must use, please help )

{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=7.0.0",
        "fideloper/proxy": "~3.3",
        "laravel/framework": "5.5.*@dev",
        "laravel/tinker": "~1.0",
        "laravelcollective/html":"~5.3.@dev"

    },
    "require-dev": {
        "filp/whoops": "~2.0",
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~6.0"
    },
    "autoload": {
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "extra": {
        "laravel": {
            "dont-discover": [
            ]
        }
    },
    "scripts": {
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate"
        ],
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true

    }
}



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2xEvrq8
via IFTTT

Aucun commentaire:

Enregistrer un commentaire