This is a project skeleton for me to use when starting new projects.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
public
resources
sessions
src/Application
tests
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
LICENSE.md
README.md
build.xml
composer.json
composer.lock
package-lock.json
package.json
phinx.php
phpcs.xml
phpunit.xml.dist
webpack.config.js
yarn.lock

README.md

Cadre.Project

This is a project skeleton for me to use when starting new projects.

Preconfigured Libraries

Setup

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

# Install dependencies
composer install
npm install

# Compile assets once
npm run dev 

# Compile assets automatically when files change
npm run watch

# Compile assets, but also minify & optimize them
npm run prod

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

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