Repository template for our packages
When creating a new repository for a package or a plugin, select this repository as the template. It will initialize the new repository with all the structure & files contained in the template.
- Have a mysql DB ready and a user.
- Have
svn
installed. - Run
composer install
- Run
bash bin/install-wp-tests.sh wordpress_test mysql_user mysql_password localhost latest
- Run
composer run-tests
- Run
composer phpcs
- You can install the plugin on your website.
bin/install-wp-tests.sh
: installer for WordPress tests suite.editorconfig
: config file for your IDE to follow our coding standards.gitattributes
: list of directories & files excluded from export.gitignore
: list of directories & files excluded from versioning.travis.yml
: Travis-CI configuration filecomposer.json
: Base composer file to customize for the projectLICENSE
: License file using GPLv3phpcs.xml
: Base PHP Code Sniffer configuration file to customize for the projectREADME.md
: The readme displayed on Github, to customize for the project