Skip to content

Commit 1a386f1

Browse files
committed
breaking: begin v4.1.x, require php 8.0+
1 parent 4517972 commit 1a386f1

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# CHANGELOG
22

3+
## v4.1.x
4+
5+
> require php 8.0+
6+
37
## v4.0.x
48

9+
> require php 7.3+
510
> begin at: 2020.08.21, branch `master`
611
712
## v3.1.21

README.en.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# PHP Console
22

33
[![License](https://img.shields.io/packagist/l/inhere/console.svg?style=flat-square)](LICENSE)
4-
[![Php Version](https://img.shields.io/badge/php-%3E=7.3.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
4+
[![Php Version](https://img.shields.io/badge/php-%3E=8.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
55
[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/console.svg)](https://packagist.org/packages/inhere/console)
66
[![Github Actions Status](https://github.com/inhere/php-console/workflows/Unit-tests/badge.svg)](https://github.com/inhere/php-console/actions)
7+
[![zh-CN readme](https://img.shields.io/badge/Readme-中文-brightgreen.svg?maxAge=2592000)](README.md)
78

89
Full-featured php command line application library.
910

1011
Provide console parameter parsing, command run, color style output, user information interaction, and special format information display.
1112

12-
> **[中文README](./README.zh-CN.md)**
13+
> NOTICE: Current v4.1+, require **PHP 8.0+**
1314
1415
## Command line preview
1516

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# PHP Console
22

33
[![License](https://img.shields.io/packagist/l/inhere/console.svg?style=flat-square)](LICENSE)
4-
[![Php Version](https://img.shields.io/badge/php-%3E=7.3.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
4+
[![Php Version](https://img.shields.io/badge/php-%3E=8.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
55
[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/console.svg)](https://packagist.org/packages/inhere/console)
66
[![Github Actions Status](https://github.com/inhere/php-console/workflows/Unit-tests/badge.svg)](https://github.com/inhere/php-console/actions)
7+
[![English](https://img.shields.io/badge/Readme-English-brightgreen.svg?maxAge=2592000)](README.en.md)
78

89
简洁、功能全面的php命令行应用库。提供控制台参数解析, 命令运行,颜色风格输出, 用户信息交互, 特殊格式信息显示。
910

10-
> **[EN README](./README.md)**
11+
> NOTICE: Current v4.1+, require **PHP 8.0+**
1112
1213
## 命令行预览
1314

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "inhere/console",
33
"type": "library",
4-
"description": "a php console library, provide console argument parse, console controller/command run, color style, user interactive, information show.",
4+
"description": "php console library, provide console argument parse, console controller/command run, color style, user interactive, information show.",
55
"keywords": [
66
"cli",
77
"phar",
@@ -18,20 +18,19 @@
1818
{
1919
"name": "inhere",
2020
"email": "[email protected]",
21-
"homepage": "http://www.yzone.net/"
21+
"homepage": "https://github.com/inhere"
2222
}
2323
],
2424
"require": {
25-
"php": ">7.3.0",
26-
"symfony/polyfill-php80": "~1.0",
25+
"php": ">=8.0",
2726
"toolkit/cli-utils": "~1.0",
2827
"toolkit/fsutil": "~1.0",
2928
"toolkit/pflag": "~1.0",
30-
"toolkit/stdlib": "~1.0",
29+
"toolkit/stdlib": "^1.0",
3130
"toolkit/sys-utils": "~1.0"
3231
},
3332
"require-dev": {
34-
"phpunit/phpunit": "^8.5 || ^9.1"
33+
"phpunit/phpunit": "^9.1"
3534
},
3635
"autoload": {
3736
"psr-4": {

0 commit comments

Comments
 (0)