An open API service indexing awesome lists of open source software.

https://github.com/stfkolev/chaospelt

Modular, robust wordpress plugin development foundation - freeing you to create without sweating the small things!
https://github.com/stfkolev/chaospelt

foundation framework php wordpress wordpress-plugin wordpress-plugin-development

Last synced: about 1 month ago
JSON representation

Modular, robust wordpress plugin development foundation - freeing you to create without sweating the small things!

Awesome Lists containing this project

README

          

# Chaospelt 0.1

[![Latest Stable Version](https://img.shields.io/packagist/v/stfkolev/chaospelt.svg?style=flat-square)](https://packagist.org/packages/stfkolev/chaospelt)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/stfkolev/chaospelt/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/stfkolev/chaospelt/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/stfkolev/chaospelt/badges/build.png?b=master)](https://scrutinizer-ci.com/g/stfkolev/chaospelt/build-status/master)
[![License](https://img.shields.io/badge/license-BSD_3_Clause-brightgreen.svg?style=flat-square)](LICENSE)
[![Code Coverage](https://scrutinizer-ci.com/g/stfkolev/chaospelt/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/stfkolev/chaospelt/?branch=master)
[![StyleCI](https://github.styleci.io/repos/472332711/shield?branch=master)](https://github.styleci.io/repos/472332711?branch=master)

## Purpose

This a "foundation" package. Its purpose is to help people develop Wordpress plugins quicker and easier in a more modern way. It provides some features that provide cleaner code structuring and overall quality.

This package can prevent some headaches, but cannot replace bad code habits, you'll still need a real .

## Features

* Easier to use hooks declarations
* Code separation into modules
* PSR-4 Autoloading

## Installation

### Compatible with

- PHP 7.4 and above
- Wordpress 5.4 and above

### Installing

Create an empty composer project and require the Chaospelt package using [Composer](https://getcomposer.org/doc/01-basic-usage.md):

```
composer require stfkolev/chaospelt
```

Then, create a file with the main plugin class and extend the Chaospelt\Kernel\Plugin class:

```php