Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Extended Php Laravel Package

open-southeners/extended-php

Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects.

View on GitHub
Deep Wiki
Context7
1.2.0

Added

  • Arrays\array_to_csv function to convert an array to a CSV string.
  • Arrays\array_csv function to convert a CSV string to an array.
  • Arrays\array_csv_assoc function to convert a CSV string to an associative array.
1.1.0

Added

  • Classes\class_traits function to get traits used in class or object recursively or not.

Changed

  • Strings\is_json function now doesn't throw a deprecation notice on PHP 8.3+

Removed

  • Laravel dependency (changing internally functions like Strings\get_email_domain and Classes\class_use)
1.0.1

Fixed

  • Deprecation notices with PHP 8.4 around nullable parameters
1.0.0

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

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 to 1K, 1000000 to 1M)
0.14.0

Changed

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

Fixed

  • OpenSoutheners\ExtendedPhp\Utils\parse_http_query handle empty input with empty return
  • OpenSoutheners\ExtendedPhp\Utils\build_http_query handle empty input with empty return
0.13.1

Fixed

  • OpenSoutheners\ExtendedPhp\Utils\parse_http_query with nested modifiers under parameter keys & simple values (strings)
  • OpenSoutheners\ExtendedPhp\Utils\build_http_query with nested modifiers under parameter keys & simple values (strings)
0.13.0

Added

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

Added

  • OpenSoutheners\ExtendedPhp\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\ExtendedPhp\Strings\is_json fallback to PHP 8.3 json_validate native function with deprecation warning

Changed

  • OpenSoutheners\ExtendedPhp\Strings\is_json now accepts any type as input value following PHP's functions
0.11.0

Added

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

Added

  • PHPUnit 10 support
  • Tests for Laravel 10

Changed

  • Types to native PHP (when possible)
0.9.0

Added

  • PHP 8.2 support
0.8.1

Removed

  • class_exists function, using PHP's instead (was an anti-pattern function)
0.8.0

Changed

  • Enum functions now are namespaced as OpenSoutheners\ExtendedPhp\Enums instead of OpenSoutheners\ExtendedPhp
  • has_case enum function now throws exception when value is not an enum

Added

  • Enum functions: enum_is_backed, get_enum_class, enum_to_array, enum_values
0.7.0

Changed

  • Models\instance_from now takes 2 more parameters (with relationships & enforce, which prevents lazyLoading when false)
0.6.1

Fixed

  • Missing autoload-dev, tests were autoloaded with the released version (ouch!)
0.6.0

Removed

  • Drop support for PHP 7.4
  • Unused dependency laravel/helpers
0.5.1

Fixed

  • is_model returns deprecation notice when sending null value
0.5.0

Added

  • get_email_domain string helper to get the domain part of an email adress

Changed

  • Make instance_from fail-safe
0.4.0

Added

  • Way to nest methods in call helper

Fixed

  • Minor fixes to model and class functions
0.3.0

Added

  • call and call_static functions
0.2.0

Changed

  • Simplify tests and functions improving coverage
  • Move the repository to a new organization
0.1.0

Added

  • Initial release!
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky