PHP Classes

File: src/route.php

Recommend this page to a friend!
  Classes of Moamen Eltouny   Laravel Short URL Generator   src/route.php   Download  
File: src/route.php
Role: Auxiliary script
Content type: text/plain
Description: Route script
Class: Laravel Short URL Generator
Generate and expand short URL stored in a database
Author: By
Last change:
Date: 3 years ago
Size: 245 bytes


Class file image Download

use Illuminate\Support\Facades\Route;

Route::get(config('Pharaonic.short-url.prefix', '') . '/{ShortURL}', ShortURLController::class . '@ShortURL')->middleware('web')->name('shortURL');