Download the PHP package industrious/wp-helpers without Composer
On this page you can find all versions of the php package industrious/wp-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download industrious/wp-helpers
More information about industrious/wp-helpers
Files in industrious/wp-helpers
Download industrious/wp-helpers
More information about industrious/wp-helpers
Files in industrious/wp-helpers
Vendor industrious
Package wp-helpers
Short Description A WP Helpers package.
License MIT
Homepage https://github.com/industrious-mouse/wp-helpers
Package wp-helpers
Short Description A WP Helpers package.
License MIT
Homepage https://github.com/industrious-mouse/wp-helpers
Please rate this library. Is it a good library?
Informations about the package wp-helpers
Introduction
industrious/wp-helpers is a [[]].
License
industrious/wp-helpers is open-sourced software licensed under the MIT license
Installation
To get started with industrious/wp-helpers, use Composer to add the package to your project's dependencies:
composer require industrious-mouse/wp-helpers
Examples
Validation Helpers
Below is an example of how you might be able to use the ValidatesRequests trait, to validate a form.
use ValidatesRequests;
/**
*
*/
public function __construct()
{
$data = [
'abc' => '123',
'def' => '123',
];
$rules = [
'abc' => 'required',
'def' => 'required',
];
$errors = $this->validate($data, $rules);
if (! $errors) {
wp_send_json_success();
}
wp_send_json_error([
'errors' => $errors->toArray()
]);
}
All versions of wp-helpers with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-openssl Version *
guzzlehttp/guzzle Version ^7
hashids/hashids Version ^4.1
illuminate/filesystem Version ^9
illuminate/translation Version ^9
illuminate/validation Version ^9
j7mbo/twitter-api-php Version ^1.0
ext-openssl Version *
guzzlehttp/guzzle Version ^7
hashids/hashids Version ^4.1
illuminate/filesystem Version ^9
illuminate/translation Version ^9
illuminate/validation Version ^9
j7mbo/twitter-api-php Version ^1.0
The package industrious/wp-helpers contains the following files
Loading the files please wait ....