Skip to content

Commit

Permalink
更新composer信息
Browse files Browse the repository at this point in the history
  • Loading branch information
何平 authored and 何平 committed Feb 28, 2023
1 parent 4a7fce9 commit 3a624a2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/formats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2]
php: [8.1]
dependency-version: [prefer-lowest, prefer-stable]

name: Formats P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
php: [8.2]
php: [8.1]
dependency-version: [prefer-lowest, prefer-stable]

name: Tests P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
<p align="center">
<img src="https://raw.githubusercontent.com/nunomaduro/skeleton-php/master/docs/example.png" height="300" alt="Skeleton Php">
<p align="center">
<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>
<a href="https://packagist.org/packages/nunomaduro/skeleton-php"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/nunomaduro/skeleton-php"></a>
<a href="https://packagist.org/packages/nunomaduro/skeleton-php"><img alt="Latest Version" src="https://img.shields.io/packagist/v/nunomaduro/skeleton-php"></a>
<a href="https://packagist.org/packages/nunomaduro/skeleton-php"><img alt="License" src="https://img.shields.io/packagist/l/nunomaduro/skeleton-php"></a>
</p>
</p>

------

----
This package provides a wonderful **PHP Skeleton** to start building your next package idea.

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

Expand Down
14 changes: 5 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
{
"name": "nunomaduro/skeleton-php",
"name": "swow-cloud/skeleton-php",
"description": "A skeleton repository for my packages",
"keywords": ["php", "skeleton", "package"],
"license": "MIT",
"authors": [
{
"name": "Nuno Maduro",
"email": "enunomaduro@gmail.com"
"name": "He Ping",
"email": "847050412@qq.com"
}
],
"require": {
"php": "^8.2.0"
"php": "^8.1.0"
},
"require-dev": {
"laravel/pint": "^1.4",
"pestphp/pest": "^2.0.0",
"phpstan/phpstan": "^1.9.11",
"symfony/var-dumper": "^6.2.3"
},
"autoload": {
"psr-4": {
"NunoMaduro\\SkeletonPhp\\": "src/"
"SwowCloud\\SkeletonPhp\\": "src/"
}
},
"autoload-dev": {
Expand All @@ -38,12 +37,9 @@
}
},
"scripts": {
"lint": "pint -v",
"test:lint": "pint --test -v",
"test:types": "phpstan analyse --ansi",
"test:unit": "pest --colors=always",
"test": [
"@test:lint",
"@test:types",
"@test:unit"
]
Expand Down
2 changes: 1 addition & 1 deletion src/Example.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace NunoMaduro\SkeletonPhp;
namespace SwowCloud\SkeletonPhp;

/**
* @internal
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use NunoMaduro\SkeletonPhp\Example;
use SwowCloud\SkeletonPhp\Example;

it('foo', function () {
$example = new Example();
Expand Down

0 comments on commit 3a624a2

Please sign in to comment.