PHPackages                             awsm/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. awsm/wp-plugin

ActiveLibrary

awsm/wp-plugin
==============

Awesome WP Plugin

043PHP

Since Jun 16Pushed 3y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Awesome WP Plugin
=================

[](#awesome-wp-plugin)

This is a little helper which lets you get start faster with a WordPress Plugin.

Installing
----------

[](#installing)

Get the helper into your plugin with composer.

`composer require awsm/wp-plugin`

Using in code (Example Plugin)
------------------------------

[](#using-in-code-example-plugin)

This is an example of a plugin created with the WP\_Plugin parent class. Looks like nothing, but in the background checks are made with the plugin header information and dont't have to be done anymore.

At the moment the following tests are made and an error message will be shown in the admin if requirements are not fullfilled:

- Minimum PHP requirement
- Minimum WordPress requirement

Also the Textdomain will be loaded and will occur an error in the backend if it could not be loaded.

There will be no checks if there are no parameters for that in the plugin file.

```
