PHPackages                             cedaro/wp-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cedaro/wp-plugin

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cedaro/wp-plugin
================

A base WordPress plugin library.

v1.0.0(1y ago)4147.6k↓15%64MITPHPPHP ^8.0

Since Nov 19Pushed 7mo ago5 watchersCompare

[ Source](https://github.com/cedaro/wp-plugin)[ Packagist](https://packagist.org/packages/cedaro/wp-plugin)[ Docs](https://github.com/cedaro/wp-plugin)[ RSS](/packages/cedaro-wp-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (11)Used By (4)

WordPress Plugin Library
========================

[](#wordpress-plugin-library)

Adds some structure to your WordPress plugins.

Requires PHP 8.0+.

Installation
------------

[](#installation)

To use this library in your project, add it to `composer.json`:

```
composer require cedaro/wp-plugin
```

Creating a Plugin
-----------------

[](#creating-a-plugin)

A plugin is a simple object created to help bootstrap functionality by allowing you to easily retrieve plugin information, reference internal files and URLs, and register hooks.

```
