takuya829/laravel-old-helpers

Wrapper for safe use of Laravel old functions

v0.0.1-alpha 2024-02-20 05:01 UTC

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.