- Using Operator class in the tests
- Updating readme with 2 use cases
- Adding rector to composer scripts
- Welcome PHP 8.4 (adding GitHub actions configuration for PHP 8.4)
- Implementing the
groupByFunction()
to group elements based on a specific function. - Implementing
getString()
for returning a string - Implementing Operator Class with constants like Operator::EQUAL, Operator::GREATER_THAN ...
- Implementing LIKE Operator
- Implementing
getFormattedByte()
for getting value as formatted byte
in
andhas
operator- Implementing a Trait for formatting data
- Implementing getFormattedDateTime for getting value as formatted data
- Implementing the
saveToJson()
method
- Implementing the
exists()
method
- Implementing the
applyField()
method
- Implementing the
forEach()
method
- Implementing the
groupBy()
method
- Fix returning nested array type after
where()
- Add
orderBy
for nestable attributes - Add filtering for array values (
in
parameter forwhere()
method) - Add
dump()
anddumpJson()
method to Block class
- Add
append()
for elements of Block and array - Add
appendItem()
for adding a single element to a Block object
- Add
fromJsonUrl()
method for loading Block data from a remote JSON (like APIs) - Add
like
operator forwhere()
method, so you can filter for a substring - add more tests
- Add
has()
andhasKey()
method
- Add validation with JSON Schema https://json-schema.org/
- Add Yaml capabilities (loading from Yaml and exporting to Yaml)
- Add toJson() method for exporting JSON string
- Cleaning and refactoring the behavior of returning Block or native array in loops
- Add the
iterateBlock()
method, which allows to return of current elements as Block while looping. - Improve the documentation and the unit tests for "query" methods like
select()
,where()
andorderBy()
select()
method for selecting fields
where()
method supports operatorsorderBy()
method allows you to sort Block data (ascending and descending order)
toArray()
for exporting data into an array (associative and nested array)
Fine-tuning initial release
Initial release:
make
: static method for initializing the object from a nested arrayfromJsonString
: static method for initializing the object from a JSON fileget
: method for retrieving elements on a nested keygetBlock
: method for retrieving Block on a nested keyset
: method for setting elements on a nested keywhere
: method for filtering data