PHPackages                             arya/wordpress-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. arya/wordpress-plugin

ActiveProject[DevOps &amp; Deployment](/categories/devops)

arya/wordpress-plugin
=====================

WordPress Plugin Boilerplate

5992[2 PRs](https://github.com/aochoae/plugin-name/pulls)PHP

Since May 25Pushed 1y agoCompare

[ Source](https://github.com/aochoae/plugin-name)[ Packagist](https://packagist.org/packages/arya/wordpress-plugin)[ RSS](/packages/arya-wordpress-plugin/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (0)

 [![Boilerplate for building WordPress plugins.](.github/screenshot.png)](.github/screenshot.png)

WordPress Plugin Boilerplate
============================

[](#wordpress-plugin-boilerplate)

Boilerplate for building WordPress plugins.

Fundamental
-----------

[](#fundamental)

- [Build seven good object-oriented habits in PHP](https://developer.ibm.com/articles/os-php-7oohabits/)

Requirements
------------

[](#requirements)

- PHP version 7.0 or greater
- WordPress 5.0 or greater
- Docker 20.10 or greater (Development)
- Grunt 1.4.0 (Development)

Features
--------

[](#features)

### PHP Standards Recommendations

[](#php-standards-recommendations)

- [PSR-1: Basic Coding Standard](https://www.php-fig.org/psr/psr-1/)
- [PSR-12: Coding Style Guide](https://www.php-fig.org/psr/psr-12/)
- [PSR-4: Autoloader](https://www.php-fig.org/psr/psr-4/)

### WordPress

[](#wordpress)

- Settings page
- About page
- Contextual Help
- Plugin action links

Install
-------

[](#install)

### Composer

[](#composer)

```
composer create-project --no-install --remove-vcs arya/wordpress-plugin your-plugin dev-master
cd your-plugin

```

You'll need to rename

1. The directory `plugin-name` to `your-plugin`
2. The file `plugin-name.php` to `your-plugin.php`

Then find and replace in all the templates

1. `plugin-name` to `your-plugin`
2. `plugin_name` to `your_plugin`
3. `PLUGIN_NAME` to `YOUR_PLUGIN`
4. `PluginName` to `YourPlugin` (Namespace)

If you are a Linux or macOS user, you can use the command `sed`

```
egrep -lRZ 'plugin-name' . | xargs -0 -l sed -i -e 's/plugin-name/your-plugin/g'

```

Finally, edit the composer.json file to declare plugin dependencies

```
composer install --prefer-dist

```

Happy Coding!

### Grunt

[](#grunt)

Install Grunt

```
sudo npm install --global grunt-cli
npm install --silent

```

Build (Minify resources)

```
grunt

```

Handle the version of the plugin

```
grunt version

```

### Docker

[](#docker)

Create and start the container

```
docker compose up -d

```

Stop and remove containers, networks, images, and volumes

```
docker compose down --volumes

```

License
-------

[](#license)

This project is licensed under the GNU General Public License, Version 2.0. See [LICENSE](LICENSE) for the full license text.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/138550?v=4)[luisalberto](/maintainers/luisalberto)[@luisalberto](https://github.com/luisalberto)

---

Top Contributors

[![aochoae](https://avatars.githubusercontent.com/u/45902873?v=4)](https://github.com/aochoae "aochoae (110 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

boilerplatecomposerdockergruntpluginpsr-1psr-2psr-4templatewordpress

### Embed Badge

![Health badge](/badges/arya-wordpress-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/arya-wordpress-plugin/health.svg)](https://phpackages.com/packages/arya-wordpress-plugin)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
