Skip to content

Releases: open-southeners/extended-php

1.0.1

05 Dec 08:15
95e9585
Compare
Choose a tag to compare

Fixed

  • Deprecation notices with PHP 8.4 around nullable parameters

1.0.0

15 Aug 16:55
6186054
Compare
Choose a tag to compare

Changed

  • Name of the package from open-southeners/laravel-helpers to open-southeners/extended-php as Laravel Helpers are now located as open-southeners/extended-laravel (repository here
  • As package name changed we reflected the change to all namespaces, search OpenSoutheners/LaravelHelpers and replace by OpenSoutheners/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 by OpenSoutheners/ExtendedLaravel/Models

0.15.1

22 Jan 00:40
01b9f00
Compare
Choose a tag to compare

Fixed

  • Function short_number stops at M (millions) preventing overflow number removals

0.15.0

22 Jan 00:23
ca6c3d8
Compare
Choose a tag to compare

Added

  • Function short_number to convert big numbers to suffixed strings like (1000 to 1K, 1000000 to 1M)

0.14.0

17 Nov 11:41
0a11a59
Compare
Choose a tag to compare

Changed

  • Reusable GetsAttributes::getDescription() method (now public), backward compatible change

0.13.2

25 Oct 09:28
926ab89
Compare
Choose a tag to compare

Fixed

  • OpenSoutheners\LaravelHelpers\Utils\parse_http_query handle empty input with empty return
  • OpenSoutheners\LaravelHelpers\Utils\build_http_query handle empty input with empty return

0.13.1

24 Oct 16:01
0f4ccc8
Compare
Choose a tag to compare

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

23 Oct 22:06
d2148c6
Compare
Choose a tag to compare

Added

  • OpenSoutheners\LaravelHelpers\Utils\parse_http_query function for HTTP query parameters parse to multidimensional arrays
  • OpenSoutheners\LaravelHelpers\Utils\build_http_query function for HTTP query parameters build from arrays

0.12.0

23 Oct 14:54
7f77780
Compare
Choose a tag to compare

Added

  • OpenSoutheners\LaravelHelpers\Strings\is_json_structure function that covers what is_json does not, will also check if the json is a structure and not cases like 0, "0", "hello world"... which are valid in is_json
  • OpenSoutheners\LaravelHelpers\Strings\is_json fallback to PHP 8.3 json_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

09 Jun 23:05
8ad0e2f
Compare
Choose a tag to compare

Added

  • OpenSoutheners\LaravelHelpers\Enums\GetsAttributes trait and OpenSoutheners\LaravelHelpers\Enums\Description attribute so enums cases can be described and used in arrays.