-
i have included the following i have Add to composer.json: "illuminate/html": "5.0.*" i have Add to the app.php providers array: 'Illuminate\Html\HtmlServiceProvider', i have Add to the app.php aliases array: a) 'Html' => 'Illuminate\Html\HtmlFacade', b) 'Form' => 'Illuminate\Html\FormFacade',
when i try to update my composer in cmd i get the following error what can be the problem
C:\xampp>cd\xampp\htdocs\sites\project\laravel\mysitegud C:\xampp\htdocs\sites\project\laravel\mysitegud>composer update [Seld\JsonLint\ParsingException] "./composer.json" does not contain valid JSON Parse error on line 8: ...amework": "5.0.*" "illuminate/html", " ---------------------^ Expected one of: 'EOF', '}', ':', ',', ']'
the following code below is for composer.json
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"laravel/framework": "5.0.*"
"illuminate/html", "5.0.*" <!--this code is for illuminate-->
}, //is there any problem in the following code.i have noticed that laravel is key sensitive .may be i went wrong some where but i dont know where.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire