mossengine / helpersstatement
A PHP sub library for the Mossengine/Helper library that provides Statement helper functions
1.0.1
2021-06-25 17:34 UTC
Requires
- php: >=7.0
- ext-json: *
- illuminate/support: ^5.2.32
- ramsey/uuid: ^3.4.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2
- phpunit/phpunit: ~4.0 || ~5.0
This package is auto-updated.
Last update: 2024-11-04 20:40:22 UTC
README
A PHP sub library for the Mossengine/Helper library that provides Statement helper functions
About
This library can be used on it's own, however, it is intended to be used with the Mossengine/Helper library.
There is a group of Statement type classes with single methods within that single out logic only needed for the given use, you can call them directly or using the Mossgnein Helper you can call into them simply without needing to use them in your project.
Installation
Using composer to install
$ composer require mossengine/helpersstatement
Adding to package.json
{ "require": { "mossengine/helpersstatement": "~1.0.0" } }
Usage
Call helper method on a specific helper class
// Require the autoloader, normal composer stuff require 'vendor/autoload.php'; // Direct usage ( not intended ) $result = Mossengine\Helpers\_Statement\_Is::_Is(1, '===', 1); // Mossengine Helper usage ( intended ) $result = Mossengine\Helper::Statement()->Is(1, '===', 1);
Documentation
Read the docs for more details on Helpers Statement methods.