Releases: open-southeners/extended-php
Releases · open-southeners/extended-php
1.0.1
1.0.0
Changed
- Name of the package from
open-southeners/laravel-helpers
toopen-southeners/extended-php
as Laravel Helpers are now located asopen-southeners/extended-laravel
(repository here - As package name changed we reflected the change to all namespaces, search
OpenSoutheners/LaravelHelpers
and replace byOpenSoutheners/ExtendedPhp
Removed
- All functions from models (moved to the extended-laravel package so replace this one with the Laravel one). To get this right you should search
OpenSoutheners/LaravelHelpers/Models
and replace byOpenSoutheners/ExtendedLaravel/Models
0.15.1
Fixed
- Function
short_number
stops at M (millions) preventing overflow number removals
0.15.0
Added
- Function
short_number
to convert big numbers to suffixed strings like (1000
to1K
,1000000
to1M
)
0.14.0
Changed
- Reusable
GetsAttributes::getDescription()
method (now public), backward compatible change
0.13.2
Fixed
OpenSoutheners\LaravelHelpers\Utils\parse_http_query
handle empty input with empty returnOpenSoutheners\LaravelHelpers\Utils\build_http_query
handle empty input with empty return
0.13.1
Fixed
OpenSoutheners\LaravelHelpers\Utils\parse_http_query
with nested modifiers under parameter keys & simple values (strings)OpenSoutheners\LaravelHelpers\Utils\build_http_query
with nested modifiers under parameter keys & simple values (strings)
0.13.0
Added
OpenSoutheners\LaravelHelpers\Utils\parse_http_query
function for HTTP query parameters parse to multidimensional arraysOpenSoutheners\LaravelHelpers\Utils\build_http_query
function for HTTP query parameters build from arrays
0.12.0
Added
OpenSoutheners\LaravelHelpers\Strings\is_json_structure
function that covers whatis_json
does not, will also check if the json is a structure and not cases like0
,"0"
,"hello world"
... which are valid inis_json
OpenSoutheners\LaravelHelpers\Strings\is_json
fallback to PHP 8.3json_validate
native function with deprecation warning
Changed
OpenSoutheners\LaravelHelpers\Strings\is_json
now accepts any type as input value following PHP's functions
0.11.0
Added
OpenSoutheners\LaravelHelpers\Enums\GetsAttributes
trait andOpenSoutheners\LaravelHelpers\Enums\Description
attribute so enums cases can be described and used in arrays.