Download .zip |
Info | Documentation | View files (44) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2018-02-25 (6 months ago) | Not enough user ratings | Total: 39 | All time: 9,300 This week: 492 |
Version | License | PHP version | Categories | |||
wp-plugin-rating 1.0.1 | MIT/X Consortium ... | 5.6 | PHP 5, Content management |
Show plugin rating in WordPress administration pages for plugins developed with Eliasis Framework.
This component requires that the page where the action hook will be inserted has been created with WP_Menu.
<p align="center">
<img src="resources/screenshot-1.png" alt="">
<img src="resources/screenshot-2.png" alt="">
</p>
This component is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.
The preferred way to install this component is through Composer.
To install WP Plugin Rating, simply:
$ composer require eliasis-framework/wp-plugin-rating
The previous command will only install the necessary files, if you prefer to download the entire source code you can use:
$ composer require eliasis-framework/wp-plugin-rating --prefer-source
You can also clone the complete repository with Git:
$ git clone https://github.com/eliasis-framework/wp-plugin-rating.git
Available methods in this component:
Hook::doAction('get_plugin_rating', $slug);
| Atttribute | Description | Type | Required | --- | --- | --- | --- | | $slug | WordPress plugin slug. | string | Yes |
@return HTML output.
To use this component with Composer:
use Josantonius\Hook\Hook;
Hook::doAction('get_plugin_rating', 'search-inside');
To run tests you just need composer and to execute the following:
$ git clone https://github.com/eliasis-framework/wp-plugin-rating.git
$ cd wp-plugin-rating
$ bash bin/install-wp-tests.sh wordpress_test root '' localhost latest
$ composer install
Run unit tests with PHPUnit:
$ composer phpunit
Run WordPress code standard tests with PHPCS:
$ composer phpcs
Run PHP Mess Detector tests to detect inconsistencies in code style:
$ composer phpmd
Run all previous tests:
$ composer tests
If you would like to help, please take a look at the list of issues or the To Do checklist.
Pull requests
composer install
to install the dependencies.
This will also install the dev dependencies.composer fix
to excute code standard fixers.This project is licensed under MIT license. See the LICENSE file for more info.
2017 - 2018 Josantonius, josantonius.com
If you find it useful, let me know :wink:
Files |
File | Role | Description | ||
---|---|---|---|---|
bin (1 file) | ||||
config (5 files) | ||||
public (2 directories) | ||||
resources (2 files) | ||||
src (2 directories) | ||||
tests (3 files, 1 directory) | ||||
.editorconfig | Data | Auxiliary data | ||
.travis.yml | Data | Auxiliary data | ||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
CONDUCT.md | Data | Auxiliary data | ||
gulpfile.js | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
package.json | Data | Auxiliary data | ||
phpcs.xml | Data | Auxiliary data | ||
phpmd.xml | Data | Auxiliary data | ||
README-ES.md | Doc. | Documentation | ||
README.md | Doc. | Documentation | ||
wp-plugin-rating.jsond | Data | Auxiliary data |
Files | / | config |
File | Role | Description |
---|---|---|
add-urls.php | Example | Example script |
assets.php | Example | Example script |
namespaces.php | Aux. | Auxiliary script |
paths.php | Example | Example script |
set-hooks.php | Example | Example script |
Files | / | public | / | css |
File | Role | Description | ||
---|---|---|---|---|
source (2 files) | ||||
wp-plugin-rating.min.css | Data | Auxiliary data |
Files | / | public | / | css | / | source |
File | Role | Description |
---|---|---|
wp-plugin-rating.css | Data | Auxiliary data |
wp-plugin-rating.css.map | Data | Auxiliary data |
Files | / | resources |
File | Role | Description |
---|---|---|
screenshot-1.png | Data | Auxiliary data |
screenshot-2.png | Data | Auxiliary data |
Files | / | src | / | controller |
File | Role | Description |
---|---|---|
class-launcher.php | Class | Class source |
class-main.php | Class | Class source |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
sample-app (1 directory) | ||||
bootstrap.php | Aux. | Auxiliary script | ||
class-back-end-test.php | Class | Class source | ||
class-front-end-test.php | Class | Class source |
Files | / | tests | / | sample-app | / | components |
File | Role | Description | ||
---|---|---|---|---|
wp-plugin-rating (1 file, 3 directories) | ||||
.components-states.jsond | Data | Auxiliary data |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating |
File | Role | Description | ||
---|---|---|---|---|
config (5 files) | ||||
public (2 directories) | ||||
src (2 directories) | ||||
wp-plugin-rating.jsond | Data | Auxiliary data |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | config |
File | Role | Description |
---|---|---|
add-urls.php | Example | Example script |
assets.php | Example | Example script |
namespaces.php | Aux. | Auxiliary script |
paths.php | Example | Example script |
set-hooks.php | Example | Example script |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | public |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | public | / | css |
File | Role | Description |
---|---|---|
wp-plugin-rating.css | Data | Auxiliary data |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | public | / | sass |
File | Role | Description |
---|---|---|
wp-plugin-rating.css.map | Data | Auxiliary data |
wp-plugin-rating.sass | Data | Auxiliary data |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | src |
File | Role | Description | ||
---|---|---|---|---|
controller (2 files) | ||||
template (1 file) |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | src | / | controller |
File | Role | Description |
---|---|---|
class-launcher.php | Class | Class source |
class-main.php | Class | Class source |
Files | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | src | / | template |
File | Role | Description |
---|---|---|
component.php | Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.