putuariepra / devbadung-helpers
There is no license information available for the latest version (v1.0) of this package.
Service provider for helpers for Developer Diskominfo Kab. Badung
v1.0
2022-01-20 06:02 UTC
Requires
- php: >=7.0.0
- laravel/framework: >=5.5
Requires (Dev)
- laravel/laravel: >=5.5
This package is auto-updated.
Last update: 2025-04-20 13:51:15 UTC
README
Developer Diskominfo Kab. Badung
Usage
- All helper's files inside directory app/Helpers/Methods will be registered automatically
- Add PHP files that contain helper's functions to directory app/Helpers/Methods
Example: app/Helpers/Methods/formatter.php
<?php
if (!function_exists('array_delete')) {
/**
* Delete from array by value.
*
* @param array $array
* @param mixed $value
*/
function array_delete(&$array, $value)
{
foreach ($array as $index => $item) {
if ($value == $item) {
unset($array[$index]);
}
}
}
Installation
Run composer require to install
composer require putuariepra/devbadung-helpers