Skip to content

Commit 3a624a2

Browse files
何平何平
authored andcommitted
更新composer信息
1 parent 4a7fce9 commit 3a624a2

6 files changed

Lines changed: 12 additions & 25 deletions

File tree

.github/workflows/formats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: true
1111
matrix:
1212
os: [ubuntu-latest]
13-
php: [8.2]
13+
php: [8.1]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515

1616
name: Formats P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
php: [8.2]
12+
php: [8.1]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414

1515
name: Tests P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
<p align="center">
2-
<img src="https://raw.githubusercontent.com/nunomaduro/skeleton-php/master/docs/example.png" height="300" alt="Skeleton Php">
3-
<p align="center">
4-
<a href="https://github.com/nunomaduro/skeleton-php/actions"><img alt="GitHub Workflow Status (master)" src="https://github.com/nunomaduro/skeleton-php/actions/workflows/tests.yml/badge.svg"></a>
5-
<a href="https://packagist.org/packages/nunomaduro/skeleton-php"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/nunomaduro/skeleton-php"></a>
6-
<a href="https://packagist.org/packages/nunomaduro/skeleton-php"><img alt="Latest Version" src="https://img.shields.io/packagist/v/nunomaduro/skeleton-php"></a>
7-
<a href="https://packagist.org/packages/nunomaduro/skeleton-php"><img alt="License" src="https://img.shields.io/packagist/l/nunomaduro/skeleton-php"></a>
8-
</p>
9-
</p>
10-
11-
------
1+
2+
----
123
This package provides a wonderful **PHP Skeleton** to start building your next package idea.
134

14-
> **Requires [PHP 8.2+](https://php.net/releases/)**
5+
> **Requires [PHP 8.1+](https://php.net/releases/)**
156
167
⚡️ Create your package using [Composer](https://getcomposer.org):
178

composer.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
{
2-
"name": "nunomaduro/skeleton-php",
2+
"name": "swow-cloud/skeleton-php",
33
"description": "A skeleton repository for my packages",
44
"keywords": ["php", "skeleton", "package"],
55
"license": "MIT",
66
"authors": [
77
{
8-
"name": "Nuno Maduro",
9-
"email": "enunomaduro@gmail.com"
8+
"name": "He Ping",
9+
"email": "847050412@qq.com"
1010
}
1111
],
1212
"require": {
13-
"php": "^8.2.0"
13+
"php": "^8.1.0"
1414
},
1515
"require-dev": {
16-
"laravel/pint": "^1.4",
1716
"pestphp/pest": "^2.0.0",
1817
"phpstan/phpstan": "^1.9.11",
1918
"symfony/var-dumper": "^6.2.3"
2019
},
2120
"autoload": {
2221
"psr-4": {
23-
"NunoMaduro\\SkeletonPhp\\": "src/"
22+
"SwowCloud\\SkeletonPhp\\": "src/"
2423
}
2524
},
2625
"autoload-dev": {
@@ -38,12 +37,9 @@
3837
}
3938
},
4039
"scripts": {
41-
"lint": "pint -v",
42-
"test:lint": "pint --test -v",
4340
"test:types": "phpstan analyse --ansi",
4441
"test:unit": "pest --colors=always",
4542
"test": [
46-
"@test:lint",
4743
"@test:types",
4844
"@test:unit"
4945
]

src/Example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace NunoMaduro\SkeletonPhp;
5+
namespace SwowCloud\SkeletonPhp;
66

77
/**
88
* @internal

tests/Feature.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use NunoMaduro\SkeletonPhp\Example;
3+
use SwowCloud\SkeletonPhp\Example;
44

55
it('foo', function () {
66
$example = new Example();

0 commit comments

Comments
 (0)