This is a package skeleton for me to use when starting new Cadre packages.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
LICENSE.md
README.md
build.xml
composer.json
phpcs.xml
phpunit.xml.dist

README.md

Cadre.Package

This is a package skeleton for me to use when starting new Cadre packages.

For a project skeleton see Cadre.Project.

Preconfigured Libraries

Setup

# Setup new package repo
composer create-project -s dev cadre/package example-package --repository-url=https://packages.cadrephp.com
cd example-package
git init .

# Update dependencies
vim composer.json
composer update

# Run lint, phpcs, and phpunit
vendor/bin/phing build

# Run tests and generate HTML coverage report (in build/coverage)
vendor/bin/phing coverage