takuya829 / laravel-old-helpers
Wrapper for safe use of Laravel old functions
v0.0.1-alpha
2024-02-20 05:01 UTC
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: 2024-09-21 17:01:20 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.