takuya829 / laravel-old-helpers
Wrapper for safe use of Laravel old functions
Installs: 92
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/takuya829/laravel-old-helpers
Requires
- php: ^8.1
 - illuminate/contracts: ^10.0
 - spatie/laravel-package-tools: ^1.14.0
 
Requires (Dev)
- larastan/larastan: ^2.0.1
 - laravel/pint: ^1.0
 - nunomaduro/collision: ^7.8
 - orchestra/testbench: ^8.8
 - pestphp/pest: ^2.20
 - pestphp/pest-plugin-arch: ^2.5
 - pestphp/pest-plugin-laravel: ^2.0
 - phpstan/extension-installer: ^1.1
 - phpstan/phpstan-deprecation-rules: ^1.0
 - phpstan/phpstan-phpunit: ^1.0
 
This package is auto-updated.
Last update: 2025-10-21 19:07:36 UTC
README
Installation
You can install the package via composer:
composer require takuya829/laravel-old-helpers
Usage
$oldStr = old_str('input_name', 'default value'); echo $oldStr;
Helper functions
- old_str
 - old_num
 - old_int
 - old_float
 - old_bool
 - old_array
 
Testing
composer test
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.