2017 © Pedro Peláez
 

wordpress-plugin wordpress-plugin

Skeleton for create WordPress plugins with Eliasis Framework

image

eliasis-framework/wordpress-plugin

Skeleton for create WordPress plugins with Eliasis Framework

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Eliasis WordPress plugin skeleton

Latest Stable Version License, (*1)

Versión en español, (*2)

image, (*3)



A skeleton for creating WordPress plugins with Eliasis Framework., (*4)

Installation

You can install this application using Composer. In the root folder of WordPress run:, (*5)

composer create-project --prefer-dist eliasis-framework/wordpress-plugin

The previous command will only install the necessary files, if you prefer to download the entire source code (including tests, vendor folder, exceptions not used, docs...) you can use:, (*6)

composer create-project --prefer-source eliasis-framework/wordpress-plugin

Or you can also clone the complete repository with Git:, (*7)

https://github.com/Eliasis-Framework/WordPress-Plugin.git, (*8)

Requirements

This framework is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher., (*9)

Quick Start and Examples

To use Eliasis PHP Framework in a plugin, simply:, (*10)

$DS = DIRECTORY_SEPARATOR;

require dirname(__DIR__) . $DS . 'lib' . $DS . 'vendor' . $DS .'autoload.php';

use Eliasis\App\App;

App::run(dirname(__DIR__), 'wordpress-plugin', 'unique_id');

/**
 * The unique id is used to run Eliasis on several 
 * WordPress plugins without any conflict between them.
 *
 * Let's tell the App class the plugin that is in use using:
 * App::unique_id('namespace')
 *
 * For example:
 */

# Plugin one

App::run(dirname(__DIR__), 'wordpress-plugin', 'pluginOneId');

function getPublicPath() {

 App::pluginOneId('path', 'public');
}

# Plugin two

App::run(dirname(__DIR__), 'wordpress-plugin', 'pluginTwoId');

function getPublicPath() {

 App::pluginTwoId('path', 'public');
}

Contribute

  1. Check for open issues or open a new issue to start a discussion around a bug or feature.
  2. Fork the repository on GitHub to start making your changes.
  3. Write one or more tests for the new feature or that expose the bug.
  4. Make code changes to implement the feature or fix the bug.
  5. Send a pull request to get your changes merged and published.

This is intended for large and long-lived objects., (*11)

Licensing

This project is licensed under GPL-2.0+. See the LICENSE file for more info., (*12)

2017 Josantonius, josantonius.com, (*13)

If you find it useful, let me know :wink:, (*14)

You can contact me on Twitter or through my email., (*15)

If this project helps you to reduce your development time, you can sponsor me to support my open source work :blush:, (*16)

License

This repository is licensed under the GPL-2.0+ License., (*17)

Copyright © 2017-2022, Josantonius, (*18)

The Versions

27/06 2017

dev-master

9999999-dev

Skeleton for create WordPress plugins with Eliasis Framework

  Sources   Download

GPL-2.0+

The Requires

 

plugin wordpress php eliasis eliasis framework

27/06 2017

1.0.3

1.0.3.0

Skeleton for create WordPress plugins with Eliasis Framework

  Sources   Download

GPL-2.0+

The Requires

 

plugin wordpress php eliasis eliasis framework

04/05 2017

1.0.2

1.0.2.0

Skeleton for create WordPress plugins with Eliasis Framework

  Sources   Download

GPL-2.0+

The Requires

 

plugin wordpress php eliasis eliasis framework

26/04 2017

1.0.1

1.0.1.0

Skeleton for create WordPress plugins with Eliasis Framework

  Sources   Download

GPL-2.0+

The Requires

 

plugin wordpress php eliasis eliasis framework

09/04 2017

1.0.0

1.0.0.0

Skeleton for create WordPress plugins with Eliasis Framework

  Sources   Download

GPL-2.0+

The Requires

 

plugin wordpress php eliasis eliasis framework