Browse Source

Update minimum dependencies

shalvah 4 years ago
parent
commit
773eb65015
4 changed files with 14 additions and 17 deletions
  1. 3 2
      README.md
  2. 6 7
      composer.dingo.json
  3. 5 5
      composer.json
  4. 0 3
      todo.md

+ 3 - 2
README.md

@@ -8,10 +8,11 @@ Generate API documentation for humans from your Laravel codebase. [Here's what t
 
 [![Latest Stable Version](https://poser.pugx.org/knuckleswtf/scribe/v/stable)](https://packagist.org/packages/knuckleswtf/scribe) [![Total Downloads](https://poser.pugx.org/knuckleswtf/scribe/downloads)](https://packagist.org/packages/knuckleswtf/scribe) [![Build Status](https://travis-ci.com/knuckleswtf/scribe.svg?branch=master)](https://travis-ci.com/knuckleswtf/scribe)
 
-> Looking to document your Node.js APIs? Check out [Scribe for JS](https://github.com/knuckleswtf/scribe-js).
+> Looking to document your Node.js APIs easily? Check out [Scribe for JS](https://github.com/knuckleswtf/scribe-js).
 
 ## Features
 - Pretty HTML documentation page, with included code samples and friendly text
+- Included "Try It Out" button so users can test your API
 - Markdown source files that can be edited to modify docs
 - Extracts body parameters information from Laravel FormRequests
 - Safely calls API endpoints to generate sample responses, with authentication and other custom configuration supported
@@ -27,7 +28,7 @@ Generate API documentation for humans from your Laravel codebase. [Here's what t
 Check out the documentation at [ReadTheDocs](http://scribe.rtfd.io/).
 
 ## Installation
-PHP 7.2.5 and Laravel/Lumen 5.8 or higher are required.
+PHP 7.2.5 and Laravel/Lumen 6.0 or higher are required.
 
 ```sh
 composer require --dev knuckleswtf/scribe

+ 6 - 7
composer.dingo.json

@@ -16,16 +16,15 @@
         }
     ],
     "require": {
-        "php": ">=7.2.5",
         "ext-fileinfo": "*",
         "ext-json": "*",
         "dingo/api": "^2.3",
         "erusev/parsedown": "^1.7.4",
         "fzaninotto/faker": "^1.9.1",
-        "illuminate/console": "^5.8|^6.0|^7.0",
-        "illuminate/routing": "^5.8|^6.0|^7.0",
-        "illuminate/support": "^5.8|^6.0|^7.0",
-        "knuckleswtf/pastel": "^1.3.5",
+        "illuminate/console": "^6.0|^7.0|^8.0",
+        "illuminate/routing": "^6.0|^7.0|^8.0",
+        "illuminate/support": "^6.0|^7.0|^8.0",
+        "knuckleswtf/pastel": "^1.3.6",
         "league/flysystem": "^1.0",
         "mpociot/reflection-docblock": "^1.0.1",
         "nunomaduro/collision": "^3.0|^4.0|^5.0",
@@ -37,8 +36,8 @@
     "require-dev": {
         "dms/phpunit-arraysubset-asserts": "^0.1.0",
         "brianium/paratest": "^4.0",
-        "league/fractal": "^0.17.0",
-        "orchestra/testbench": "^3.7|^4.0|^5.0",
+        "league/fractal": "^0.19.0",
+        "orchestra/testbench": "^4.0|^5.0",
         "phpstan/phpstan": "^0.12.19",
         "phpunit/phpunit": "^8.0|^9.0"
     },

+ 5 - 5
composer.json

@@ -21,9 +21,9 @@
     "ext-json": "*",
     "erusev/parsedown": "^1.7.4",
     "fzaninotto/faker": "^1.9.1",
-    "illuminate/console": "^5.8|^6.0|^7.0",
-    "illuminate/routing": "^5.8|^6.0|^7.0",
-    "illuminate/support": "^5.8|^6.0|^7.0",
+    "illuminate/console": "^6.0|^7.0|^8.0",
+    "illuminate/routing": "^6.0|^7.0|^8.0",
+    "illuminate/support": "^6.0|^7.0|^8.0",
     "knuckleswtf/pastel": "^1.3.6",
     "league/flysystem": "^1.0",
     "mpociot/reflection-docblock": "^1.0.1",
@@ -36,9 +36,9 @@
   "require-dev": {
     "brianium/paratest": "^4.0",
     "dms/phpunit-arraysubset-asserts": "^0.1.0",
-    "laravel/lumen-framework": "^5.8|^6.0|^7.0",
+    "laravel/lumen-framework": "^6.0|^7.0|^8.0",
     "league/fractal": "^0.19.0",
-    "orchestra/testbench": "^3.7|^4.0|^5.0",
+    "orchestra/testbench": "^4.0|^5.0",
     "phpstan/phpstan": "^0.12.19",
     "phpunit/phpunit": "^8.0|^9.0"
   },

+ 0 - 3
todo.md

@@ -1,3 +0,0 @@
-# Release blocker
-- Port recent changes from old repo
-