https://github.com/screamingdev/phpspec-wordpress
Write WordPress-Classes with PHPSpec
https://github.com/screamingdev/phpspec-wordpress
Last synced: about 2 months ago
JSON representation
Write WordPress-Classes with PHPSpec
- Host: GitHub
- URL: https://github.com/screamingdev/phpspec-wordpress
- Owner: ScreamingDev
- License: mit
- Created: 2015-06-27T17:15:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-27T18:09:17.000Z (almost 11 years ago)
- Last Synced: 2025-01-12T14:16:05.238Z (over 1 year ago)
- Language: PHP
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Make proper WordPress classes with PHPSpec
```
composer require --dev sourcerer-mike/phpspec-wordpress:dev-master
```
## Example
```
./bin/phpspec describe:wp Widgets\\The_Banana
./bin/phpspec run
```
Will result in a file called "includes/widgets/class-the-banana.php":
```