├── LICENSE ├── box.json ├── composer.json └── schemarkdown /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 MilesChou 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /box.json: -------------------------------------------------------------------------------- 1 | { 2 | "chmod": "0700", 3 | "files": [ 4 | "bin/schemarkdown.php", 5 | "bootstrap/app.php" 6 | ], 7 | "compression": "GZ", 8 | "compactors": [ 9 | "KevinGH\\Box\\Compactor\\Php" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mileschou/schemarkdown-cli", 3 | "description": "The schema document generator", 4 | "type": "project", 5 | "license": "MIT", 6 | "keywords": [ 7 | "laravel", "database" 8 | ], 9 | "authors": [ 10 | { 11 | "name": "MilesChou", 12 | "email": "jangconan@gmail.com", 13 | "homepage": "https://mileschou.github.io/", 14 | "role": "Maintainer" 15 | } 16 | ], 17 | "require": { 18 | "php": "^7.2 | ^8.0", 19 | "laravel-bridge/scratch": "^1.6", 20 | "mileschou/schemarkdown": "^2.0", 21 | "monolog/monolog": "^2", 22 | "symfony/yaml": "^5", 23 | "vlucas/phpdotenv": "^4" 24 | }, 25 | "require-dev": { 26 | "phpunit/phpunit": "^8.5 | ^9", 27 | "psy/psysh": "^0.10", 28 | "squizlabs/php_codesniffer": "^3.5" 29 | }, 30 | "autoload": { 31 | "psr-4": { 32 | "App\\": "app" 33 | } 34 | }, 35 | "autoload-dev": { 36 | "psr-4": { 37 | "Tests\\": "tests" 38 | } 39 | }, 40 | "bin": "schemarkdown", 41 | "config": { 42 | "preferred-install": "dist", 43 | "sort-packages": true 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /schemarkdown: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 |