Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 45 | All time: 10,795 This week: 673 |
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
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 (44) |
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 (44) | / | 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 (44) | / | public | / | css |
File | Role | Description | ||
---|---|---|---|---|
source (2 files) | ||||
wp-plugin-rating.min.css | Data | Auxiliary data |
Files (44) | / | public | / | css | / | source |
File | Role | Description |
---|---|---|
wp-plugin-rating.css | Data | Auxiliary data |
wp-plugin-rating.css.map | Data | Auxiliary data |
Files (44) | / | resources |
File | Role | Description |
---|---|---|
screenshot-1.png | Data | Auxiliary data |
screenshot-2.png | Data | Auxiliary data |
Files (44) | / | src | / | controller |
File | Role | Description |
---|---|---|
class-launcher.php | Class | Class source |
class-main.php | Class | Class source |
Files (44) | / | 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 (44) | / | tests | / | sample-app | / | components |
File | Role | Description | ||
---|---|---|---|---|
wp-plugin-rating (1 file, 3 directories) | ||||
.components-states.jsond | Data | Auxiliary data |
Files (44) | / | 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 (44) | / | 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 (44) | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | public |
Files (44) | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | public | / | css |
File | Role | Description |
---|---|---|
wp-plugin-rating.css | Data | Auxiliary data |
Files (44) | / | 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 (44) | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | src |
File | Role | Description | ||
---|---|---|---|---|
controller (2 files) | ||||
template (1 file) |
Files (44) | / | 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 (44) | / | tests | / | sample-app | / | components | / | wp-plugin-rating | / | src | / | template |
File | Role | Description |
---|---|---|
component.php | Example | Example script |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.