piscarocarlos/helpify

A package that catalogs common utility functions for Laravel

v1.0.0 2023-11-11 13:25 UTC

This package is auto-updated.

Last update: 2024-11-15 03:32:18 UTC


README

Latest Version on Packagist Total Downloads

This package consolidates a set of commonly used utility functions for Laravel. It aims to streamline development by providing practical and reusable tools for common tasks. Whether it's string manipulation, date handling, or other routine operations, this helper package simplifies developers' lives by centralizing these essential functionalities.

Installation

You can install the package via composer:

composer require piscarocarlos/helpify

And then, if using Laravel 5, include the service provider within config/app.php.

'providers' => [
    Piscarocarlos\Helpify\HelpifyServiceProvider::class,
];

And, for convenience, add a facade alias to this same file at the bottom:

'aliases' => [
    'Helpify' => Piscarocarlos\Helpify\Facades\Helpify::class,
];

Usage

use Helpify\Helpers;

$url = 'https://www.example.com';
$shortenedURL = short_url($url);
// OR
$shortenedURL = Helpers::short_url($url);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.