File tree Expand file tree Collapse file tree 7 files changed +82
-8
lines changed
Expand file tree Collapse file tree 7 files changed +82
-8
lines changed Original file line number Diff line number Diff line change 55/.vscode
66/vendor
77/node_modules
8+ /composer.lock
89/npm-debug.log
910/yarn-error.log
11+ /.phpunit.cache
12+ /.phpunit.result.cache
Original file line number Diff line number Diff line change 11# Changelog
22
3- All notable changes to ` {{ package.name }} ` will be documented in this file.
4-
5- ## 1.0.0 - 2025-02-27
6-
7- ** Full Changelog** : https://github.com/yuges-code/package-template/commits/1.0.0
3+ All notable changes to php-package-template will be documented in this file.
Original file line number Diff line number Diff line change 11<div align =" center " >
2- <img src="https://raw.githubusercontent.com/yuges-code/package-template/master/assets/logo.png">
2+ <img src="https://raw.githubusercontent.com/yuges-code/php- package-template/master/assets/logo.png">
33</div >
44
55<div align =" center " >
1111</div >
1212
1313<div align =" center " >
14- <img alt="GitHub Release" src="https://img.shields.io/github/v/release/yuges-code/package-template">
15- <img alt="GitHub License" src="https://img.shields.io/github/license/yuges-code/package-template">
14+ <img alt="GitHub Release" src="https://img.shields.io/github/v/release/yuges-code/php-package-template">
15+ <img alt="Packagist Downloads" src="https://img.shields.io/packagist/dt/yuges-code/php-package-template">
16+ <img alt="GitHub License" src="https://img.shields.io/github/license/yuges-code/php-package-template">
17+ <img alt="Packagist Stars" src="https://img.shields.io/packagist/stars/yuges-code/php-package-template">
1618</div >
1719
1820# πΏ Installation
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " yuges-code/php-package-template" ,
3+ "description" : " π Starter template for all Yuges php packages" ,
4+ "keywords" : [
5+ " php" ,
6+ " yuges" ,
7+ " package" ,
8+ " template"
9+ ],
10+ "homepage" : " https://yuges-code.github.io/php-package-template" ,
11+ "support" : {
12+ "source" : " https://github.com/yuges-code/php-package-template" ,
13+ "issues" : " https://github.com/yuges-code/php-package-template/issues"
14+ },
15+ "license" : " MIT" ,
16+ "authors" : [
17+ {
18+ "name" : " Georgy" ,
19+ "email" : " goshasafonov@yandex.ru" ,
20+ "role" : " Developer"
21+ }
22+ ],
23+ "require" : {
24+ "php" : " ^8.4"
25+ },
26+ "require-dev" : {
27+ "phpunit/phpunit" : " ^12.0"
28+ },
29+ "autoload" : {
30+ "psr-4" : {
31+ "Yuges\\ PhpPackageTemplate\\ " : " src"
32+ }
33+ },
34+ "autoload-dev" : {
35+ "psr-4" : {
36+ "Yuges\\ PhpPackageTemplate\\ Tests\\ " : " tests/"
37+ }
38+ },
39+ "scripts" : {
40+ "test" : " phpunit"
41+ },
42+ "minimum-stability" : " dev" ,
43+ "prefer-stable" : true
44+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
5+ bootstrap =" vendor/autoload.php"
6+ colors =" true"
7+ >
8+ <testsuites >
9+ <testsuite name =" Yuges Test Suite" >
10+ <directory >tests</directory >
11+ </testsuite >
12+ </testsuites >
13+ <coverage >
14+ <include >
15+ <directory suffix =" .php" >./src/</directory >
16+ </include >
17+ </coverage >
18+ </phpunit >
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Yuges \PhpPackageTemplate \Tests ;
4+
5+ class TestCase extends \PHPUnit \Framework \TestCase
6+ {
7+ protected function setUp (): void
8+ {
9+ # code...
10+ }
11+ }
You canβt perform that action at this time.
0 commit comments