diff --git a/README.md b/README.md index 7eacb1f..e6ae5b9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,14 @@ A Laravel Nova tool to manage API Authentication (Passport). - Passport -## Installation +## Installation + +Depending on your version of Laravel, you should install a different version of the package. + +| Laravel Version | Package Version | +|:---------------:|:---------------:| +| 6.0 | soon.. | +| 5.8 | 1.0 | You can install the Nova tool in to a [Laravel](http://laravel.com) app that uses [Nova](http://nova.laravel.com) via composer : diff --git a/composer.json b/composer.json index 0ad63b9..099f5be 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,16 @@ ], "license": "MIT", "require": { - "php": ">=7.1.0" + "php": ">=7.1.0", + "laravel/nova": "^1.0", + "laravel/framework": "^5.8" }, + "repositories": [ + { + "type": "composer", + "url": "https://nova.laravel.com" + } + ], "autoload": { "psr-4": { "Kristories\\Novassport\\": "src/" diff --git a/package.json b/package.json index fb91be3..cf2a990 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" }, "devDependencies": { - "cross-env": "^5.0.0", - "laravel-mix": "^1.0" + "cross-env": "^6.0.3", + "laravel-mix": "^5.0" }, "dependencies": { - "vue": "^2.5.0" + "vue": "^2.6.10" } }