PHP code example of ogmake / laravel

1. Go to this page and download the library: Download ogmake/laravel 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/ */

    

ogmake / laravel example snippets


use Ogmake\Laravel\Facades\Ogmake;

$url = Ogmake::url('blog', [
    'site' => 'My Blog',
    'author' => 'Jane Doe',
    'date' => '2026-09-20',
    'title' => 'Hello World',
]);
// https://ogmake.com/i/k_.../<sig>?author=Jane%20Doe&date=2026-09-20&site=My%20Blog&template=blog&title=Hello%20World