Skip to content

A package that catalogs common utility functions for Laravel

License

Piscarocarlos/helpify

Repository files navigation

A package that catalogs common utility functions for Laravel

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.

About

A package that catalogs common utility functions for Laravel

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages