Download the PHP package letsdrink/ouzo-goodies without Composer
On this page you can find all versions of the php package letsdrink/ouzo-goodies. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ouzo-goodies
Ouzo Goodies
What is it
Utility classes, test assertions and mocking framework extracted from Ouzo framework. PHP 8.4 or later is required.
How to use it
Couple of examples.
Fluent assertions for strings:
This is just a taste of Ouzo. Look at the documentation for more goodies.
Where to get it
Download from github or simply add composer dependency:
Documentation
Tutorials:
Utilities:
- Arrays - Helper functions for arrays.
- FluentArray - Interface for manipulating arrays in a chained fashion.
- Iterators - Helper functions for iterators.
- FluentIterator- Interface for manipulating iterators in a chained fashion.
- Strings - Helper functions for strings.
- Objects- Helper functions that can operate on any PHP object.
- Functions - Static utility methods returning closures that can be used with Arrays and FluentArray, or other PHP functions.
- FluentFunctions - Fluent utility for function composition.
- Cache - General-purpose cache.
- Path - Helper functions for path operations.
- Clock - DateTime replacement.
- Comparators - Sorting.
Tests:
- Assertions for arrays
- Assertions for exceptions
- Assertions for strings
- Mocking
- Testing time-dependent code
Check out full docs at http://ouzo.readthedocs.org
PhpStorm plugins:
- Ouzo framework plugin
- DynamicReturnTypePlugin - for Mock and CatchException. You have to copy dynamicReturnTypeMeta.json to your project root.
For ideas, questions, discussions write to [email protected].
Support for older PHP versions
Ouzo Goodies 4.x requires PHP 8.4 or later. For older PHP versions:
- PHP 8.2 — use Ouzo 3.x branch
- PHP 8.0 — use Ouzo 2.x branch
- PHP 5.6 / 7.x — use Ouzo 1.x branch
All versions of ouzo-goodies with dependencies
PHP Build Version
Package Version
No informations.
The package letsdrink/ouzo-goodies contains the following files
Loading the files please wait ...