Created
August 23, 2018 15:42
-
-
Save raakesh/26725f6298c53a54fdb4857a37a3e510 to your computer and use it in GitHub Desktop.
composer json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "laravel/laravel", | |
| "description": "The Laravel Framework.", | |
| "keywords": ["framework", "laravel"], | |
| "license": "MIT", | |
| "type": "project", | |
| "require": { | |
| "php": "^7.1.3", | |
| "fideloper/proxy": "^4.0", | |
| "laravel/framework": "5.6.*", | |
| "laravel/tinker": "^1.0", | |
| "laravel/nova": "*" | |
| }, | |
| "require-dev": { | |
| "filp/whoops": "^2.0", | |
| "fzaninotto/faker": "^1.4", | |
| "mockery/mockery": "^1.0", | |
| "nunomaduro/collision": "^2.0", | |
| "phpunit/phpunit": "^7.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 | |
| }, | |
| "minimum-stability": "dev", | |
| "prefer-stable": true, | |
| "repositories": { | |
| "laravel/nova": { | |
| "type": "path", | |
| "url": "./nova" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FWIW, mine was failing because I unzipped the folder using Ubuntu (as you do), from ./nova/ and it put everything in a subfolder
laravel-nova-bd32015c9dce9060fe327f09e96abbe729900648.It's also worth noting that the supplied body of the
JSONin the instructions are different to what is produced by thecomposercommand which is different again to what the correct contents should be.Pull your finger out guys, frustrating customers who have actually decided to pay you isn't smart.
is just wrong (see: https://nova.laravel.com/docs/3.0/installation.html#installing-nova)
composer config repositories.nova '{"type": "path", "url": "./nova"}' --file composer.jsonis probably also wrong, (
nova != laravel/nova).