Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kcleung committed Aug 31, 2021
1 parent e6e0190 commit ba32376
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A PHP Util Package
composer init
```

local:
composer local development:
```
composer config repositories.backtend path "D:\backtend\phputil"
composer require backtend/phputil:^1.0 -vvv
Expand All @@ -16,16 +16,18 @@ composer update backtend/phputil
```


本地开发composer包,若修改了composer.json需要重置:
local composer package, must reset if composer.json been modify:
```
composer remove backtend/phputil
composer require backtend/phputil
```


# 语义化版本
# Version Memo
[Version Tips](https://semver.org/lang/zh-CN/)

```blade
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta
< 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11
< 1.0.0-rc.1 < 1.0.0
```
13 changes: 5 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "backtend/phputil",
"description": "A PHP Util Functions",
"description": "A PHP Util Package",
"license": "Apache-2.0",
"version": "1.0.5",
"type": "library",
"authors": [
{
"name": "kcleung",
Expand All @@ -15,10 +15,10 @@
"dump"
],
"require": {
"php": ">=7.1"
"php": "^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "~9.5.8"
"phpunit/phpunit": "~8"
},
"minimum-stability": "stable",
"autoload": {
Expand All @@ -32,9 +32,6 @@
"autoload-dev": {
"psr-4": {
"backtend\\phputil\\": "tests/"
},
"files": [
"src/functions.php"
]
}
}
}

0 comments on commit ba32376

Please sign in to comment.