tnapf / package
This package is abandoned and no longer maintained.
No replacement package was suggested.
A package that does something
v1.1.0
2023-07-10 01:48 UTC
Requires
- php: >=8.1
Requires (Dev)
- ergebnis/composer-normalize: ^2.31
- fakerphp/faker: ^1.21
- friendsofphp/php-cs-fixer: ^3.16
- jetbrains/phpstorm-attributes: ^1.0
- phpunit/phpunit: ^10.1
- roave/security-advisories: dev-latest
- xheaven/composer-git-hooks: ^3.0
README
A template repository for making composer packages
Requirements
- PHP 8.1+
What's Included
-
GitHub Actions
-
Composer Scripts
composer test- Run PHPUnit testscomposer test:coverage- Run PHPUnit tests with coveragecomposer fix:dry- Run PHP-CS-Fixer in Dry-Run modecomposer fix- Run PHP-CS-Fixer and fix errors
Installation
composer create-project tnapf/package <package>
Setup GitHub Repository
- Run
git initto initialize a new git repository - Run
git add .to add all files to the repository - Run
git commit -m "initial commit"to commit the files - Run
git branch -M mainto rename the current branch tomain - Create a new repository on GitHub
- Run
git remote add origin https://github.com/tnapf/<package>.gitto add the new repository as remote - Run
git push -u origin mainto push the files to the new repository