All Projects → gallib → Laravel Short Url

gallib / Laravel Short Url

Licence: mit
A Laravel package to shorten urls

Projects that are alternatives of or similar to Laravel Short Url

Laravel Pdf
A Simple package for easily generating PDF documents from HTML. This package is specially for laravel but you can use this without laravel.
Stars: ✭ 79 (-37.8%)
Mutual labels:  laravel, laravel-package, laravel5, package
Twitter
Twitter API for Laravel 5.5+, 6.x, 7.x & 8.x
Stars: ✭ 755 (+494.49%)
Mutual labels:  laravel, laravel-package, laravel5
Laravel User Verification
PHP package built for Laravel 5.* to easily handle a user email verification and validate the email
Stars: ✭ 755 (+494.49%)
Mutual labels:  laravel, laravel-package, laravel5
Eye
Eyewitness.io package for Laravel 5 applications
Stars: ✭ 114 (-10.24%)
Mutual labels:  laravel, laravel-package, laravel5
Laravel Gitscrum
GitScrum is a Project Management Tool, developed to help entrepreneurs, freelancers, managers, and teams Skyrocket their Productivity with the Agile methodology and Gamification.
Stars: ✭ 2,686 (+2014.96%)
Mutual labels:  laravel, laravel-package, package
Urlhub
URL shortener web application based on the Laravel PHP Framework.
Stars: ✭ 217 (+70.87%)
Mutual labels:  url-shortener, laravel, url
Laravel Aws Sns
Laravel package for the AWS SNS Events
Stars: ✭ 24 (-81.1%)
Mutual labels:  laravel, laravel-package, package
Package Skeleton
📦 My base for PHP packages.
Stars: ✭ 6 (-95.28%)
Mutual labels:  laravel, laravel-package, package
Laravel Settings
Simple Settings package for a laravel application
Stars: ✭ 45 (-64.57%)
Mutual labels:  laravel, laravel-package, laravel5
Laravel Email Verification
Laravel package to handle user verification using an activation mail
Stars: ✭ 63 (-50.39%)
Mutual labels:  laravel, laravel-package, laravel5
Laravel Multilingual Routes
A package to handle multilingual routes in your Laravel application.
Stars: ✭ 241 (+89.76%)
Mutual labels:  laravel, laravel-package, package
Laravel Google Translate
This package makes using the Google Translate API in your laravel app a breeze with minimum to no configuration, clean syntax and a consistent package API.
Stars: ✭ 97 (-23.62%)
Mutual labels:  laravel, laravel-package, package
Auth Tests
Always-current tests for Laravel's authentication system. Curated by the community.
Stars: ✭ 230 (+81.1%)
Mutual labels:  laravel, laravel-package, laravel5
Framework
The truly Laravel E-commerce Framework
Stars: ✭ 456 (+259.06%)
Mutual labels:  laravel, laravel-package, laravel5
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (+55.91%)
Mutual labels:  laravel, laravel-package, package
Blade Migrations Laravel
An intelligent alternative version of Laravel 5/6 Database Migrations - uses raw-sql syntax, transactions, auto-rollback, UP-DOWN-UP testing
Stars: ✭ 25 (-80.31%)
Mutual labels:  laravel, laravel-package, laravel5
Laravel Url Shortener
Powerful URL shortening tools in Laravel
Stars: ✭ 80 (-37.01%)
Mutual labels:  laravel, laravel-package, url
Laravel Natural Language
This package makes using the Google Natural API in your laravel app a breeze with minimum to no configuration, clean syntax and a consistent package API.
Stars: ✭ 119 (-6.3%)
Mutual labels:  laravel, laravel-package, package
Laravel Factory Prefill
Prefills factories with faker method suggestions to increase productivity
Stars: ✭ 104 (-18.11%)
Mutual labels:  laravel, package
Laravel Stats
📈 Get insights about your Laravel or Lumen Project
Stars: ✭ 1,386 (+991.34%)
Mutual labels:  laravel, laravel-package

Laravel Short URL logo

Laravel Short Url Build Status StyleCI

Laravel Short Url is a package allowing you to shorten urls.

Installation

With composer

composer require gallib/laravel-short-url

then run

php artisan vendor:publish --provider="Gallib\ShortUrl\ShortUrlServiceProvider"
php artisan migrate

finally, paste ShortUrl::routes(); at the end of routes/web.php

Configuration

Laravel Short Url configuration file can be found on config/shorturl.php

  • blacklist : Allows to blacklist urls. Keywords can be either an url, a keyword or an extension

Advanced configuration

Instead of adding ShortUrl::routes(); you can call three separates methods:

  • ShortUrl::createRoutes(); to shorten urls
  • ShortUrl::manageRoutes(); to manage urls
  • ShortUrl::redirectRoute(); to redirect to the url

this allows you to add middlewares or prefix routes.

Migration Customization

If you are not going to use Short Url's default migrations, you should call the ShortUrl::ignoreMigrations(); method in the register method of your AppServiceProvider. You may export the default migrations using

php artisan vendor:publish --tag=shorturl-migrations

Nice!

Laravel short url is now set up on your homepage.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].