https://github.com/wpup/elda
Simple WordPress Plugin Bootstrapper
https://github.com/wpup/elda
Last synced: 9 months ago
JSON representation
Simple WordPress Plugin Bootstrapper
- Host: GitHub
- URL: https://github.com/wpup/elda
- Owner: wpup
- License: mit
- Created: 2015-08-17T14:56:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-12-02T14:22:09.000Z (over 6 years ago)
- Last Synced: 2024-12-24T10:20:57.689Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 37.1 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elda
[](https://travis-ci.org/wpup/elda)
[](http://codecov.io/github/wpup/elda?branch=master)
[](http://unmaintained.tech/)
Simple WordPress Plugin Bootstrapper. Elda loades files and register the [wp-autoload](https://github.com/wpup/autoload). Default Elda looks for code in `src` directory in your plugin directory, this can be changed with `src_dir` in options array.
## Install
```
composer require frozzare/elda
```
## Example
```php
/**
* Plugin Name: Customer
* Description: Customer description
* Author: Customer
* Author URI: http://example.com
* Version: 1.0.0
* Textdomain: customer
*/
use Frozzare\Elda\Elda;
/**
* Bootstrap Customer plugin with Elda.
*/
Elda::boot( __FILE__, [
'domain' => 'customer',
'files' => [
'lib/papi.php'
],
'namespace' => 'Customer\\'
] );
```
## License
MIT © [Fredrik Forsmo](https://github.com/frozzare)