A template repository for making composer packages
- PHP 8.1+
-
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
composer create-project tnapf/package <package>- 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