From aabad471b573f88ac5f1cdf7f00362d03d0a656f Mon Sep 17 00:00:00 2001 From: Rougin Gutib Date: Thu, 23 May 2024 15:07:18 +0800 Subject: [PATCH] Improve documentation per component (#30) --- README.md | 11 ++++++-- composer.json | 78 +++++++++++++++++++++++++-------------------------- 2 files changed, 48 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index d7afd3d..d32f74c 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,17 @@ Please see [CHANGELOG][link-changelog] for more information what has changed rec ## Testing -To check all test cases written, kindly install the specified third-party packages first: +To check all written test cases, kindly install the specified third-party packages first: ``` bash -$ composer require filp/whoops league/container nikic/fast-route phroute/phroute rdlowrey/auryn twig/twig zendframework/zend-diactoros zendframework/zend-stratigility http-interop/http-middleware:^0.4.1 --dev +$ composer request filp/whoops --dev +$ composer request league/container --dev +$ composer request nikic/fast-route --dev +$ composer request phroute/phroute --dev +$ composer request rdlowrey/auryn --dev +$ composer request twig/twig --dev +$ composer request zendframework/zend-diactoros --dev +$ composer request zendframework/zend-stratigility --dev $ composer test ``` diff --git a/composer.json b/composer.json index 696195b..090245a 100644 --- a/composer.json +++ b/composer.json @@ -1,45 +1,45 @@ { - "name": "rougin/slytherin", - "description": "An extensible and SOLID-based PHP micro-framework.", - "keywords": ["php framework", "php micro-framework", "php package"], - "homepage": "https://roug.in/slytherin/", - "license": "MIT", - "authors": - [ - { - "email": "rougingutib@gmail.com", - "homepage": "https://roug.in/", - "name": "Rougin Gutib", - "role": "Software Engineer" - } - ], - "require": + "name": "rougin/slytherin", + "description": "An extensible and SOLID-based PHP micro-framework.", + "keywords": ["php framework", "php micro-framework", "php package"], + "homepage": "https://roug.in/slytherin/", + "license": "MIT", + "authors": + [ { - "php": ">=5.3.0", - "psr/http-message": "~1.0", - "psr/container": "~1.0" - }, - "require-dev": - { - "phpunit/phpunit": "~4.2|~5.7|~6.0|~7.0|~8.0|~9.0", - "sanmai/phpunit-legacy-adapter": "~6.1|~8.0" - }, - "autoload": - { - "psr-4": - { - "Rougin\\Slytherin\\": "src" - } - }, - "autoload-dev": + "email": "rougingutib@gmail.com", + "homepage": "https://roug.in/", + "name": "Rougin Gutib", + "role": "Software Engineer" + } + ], + "require": + { + "php": ">=5.3.0", + "psr/http-message": "~1.0", + "psr/container": "~1.0" + }, + "require-dev": + { + "phpunit/phpunit": "~4.2|~5.7|~6.0|~7.0|~8.0|~9.0", + "sanmai/phpunit-legacy-adapter": "~6.1|~8.0" + }, + "autoload": + { + "psr-4": { - "psr-4": - { - "Rougin\\Slytherin\\": "tests" - } - }, - "scripts": + "Rougin\\Slytherin\\": "src" + } + }, + "autoload-dev": + { + "psr-4": { - "test": "phpunit" + "Rougin\\Slytherin\\": "tests" } + }, + "scripts": + { + "test": "phpunit" + } } \ No newline at end of file