PHP code example of piscarocarlos / helpify

1. Go to this page and download the library: Download piscarocarlos/helpify library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

piscarocarlos / helpify example snippets


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

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

use Helpify\Helpers;

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