Laravel Composer package won't install -
i'm trying install zizaco in laravel. (https://github.com/zizaco/entrust) when add "zizaco/entrust": "dev-laravel-5"
require , exec composer update in cmd it's saying nothing install or update.
this entire composer.json file :
{ "name": "classpreloader/classpreloader", "description": "helps class loading performance generating single php file containing of autoloaded files specific use case", "keywords": ["autoload", "class", "preload"], "license": "mit", "authors": [ { "name": "michael dowling", "email": "mtdowling@gmail.com" }, { "name": "graham campbell", "email": "graham@alt-three.com" } ], "require":{ "php": ">=5.5.9", "nikic/php-parser": "~1.3", "zizaco/entrust": "dev-laravel-5" }, "require-dev":{ "phpunit/phpunit": "~4.0" }, "autoload": { "psr-4": { "classpreloader\\": "src/" } }, "autoload-dev": { "classmap": ["tests/stubs/"] }, "config": { "preferred-install": "dist" }, "extra": { "branch-alias": { "dev-master": "2.0-dev" } } }
what doing wrong here>>?
thanks
edit ---
de documentation telling me this:
in order install entrust, need add line composer.json file:
"zizaco/entrust": "dev-laravel-5" 1 should have this: "require": { "php": ">=5.5.9", "laravel/framework": "5.1.*", "laravelcollective/html": "5.1.*", "zizaco/entrust": "dev-laravel-5" }, next, run composer update install entrust.
there comma(,
) missing.
correct :
"require":{ "laravel/framework": "5.1.*", "nikic/php-parser": "~1.3", "zizaco/entrust": "dev-laravel-5" },
Comments
Post a Comment