Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apkoponen/wp-plugin-boilerplate
[WIP] WordPress Plugin Boilerplate
https://github.com/apkoponen/wp-plugin-boilerplate
Last synced: about 2 months ago
JSON representation
[WIP] WordPress Plugin Boilerplate
- Host: GitHub
- URL: https://github.com/apkoponen/wp-plugin-boilerplate
- Owner: apkoponen
- License: mit
- Created: 2015-03-18T09:08:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T22:02:45.000Z (almost 10 years ago)
- Last Synced: 2023-08-02T17:36:49.228Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WordPress Plugin Boilerplate
[![Build Status](https://travis-ci.org/frozzare/wp-plugin-boilerplate.svg?branch=master)](https://travis-ci.org/frozzare/wp-plugin-boilerplate)
Plugin Boilerplate requires PHP 5.4.
## Coding Style
Follow [PSR-2](http://www.php-fig.org/psr/psr-2/) with the following additional rules:
- Functions that should be used in a WordPress theme should not be camelCase, instead use underscores.
- Use short array syntax.Follow [PSR-4](http://www.php-fig.org/psr/psr-4/) for autoloading.
You can check if your code passes the styleguide by installing [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) and running the following in your project directory:
```
phpcs --standard=phpcs.xml --extensions=php -n -s .
```