Skip to content

A Laravel application that provides a QR code generator, a barcode generator, and a URL shortener

Notifications You must be signed in to change notification settings

Omais-Rana/Code-and-Link-Utility-Suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

Multi-Purpose Code and Link Management Platform

Features:

  • QR Code Generation
  • Barcode Generation
  • URL Shortener

Working:

For usage with user authentication

- Makes use of a laravel template to authenticate the user before they are able to use the features.
- You may use the following account credentials to login. The sign up option is not accessible but the module has been built.
User: [email protected]
Pass: secret

General uses

- Provides the option of downloading codes as PNG files in the user's default Download directory.
- In storage/app/qrcodes or /barcodes the codes are automatically stored (as PNG) after being generated.
- Original URLs and their shortened versions are stored in the database with the table named as "url_mappings".
- The prefix "sho.rt/" is used in shortened links which can be changed from URL controller and the web route files.

Installation

Follow the steps mentioned below to install and run the project. You may find more details about the template and packages used in the Links portion below.

  1. Clone or download the repository
  2. Go to the project directory and run composer install
  3. Create .env file by copying the .env.example. You may use the command to do that cp .env.example .env
  4. Update the database name and credentials in .env file
  5. Run composer require simplesoftwareio/simple-qrcode "~4" and composer require picqer/php-barcode-generator to add the packages.
  6. Run the command to generate application key php artisan key:generate
  7. Run the command php artisan migrate --seed
  8. Link storage directory: php artisan storage:link
  9. Run this command to create a table php artisan make:migration create_url_mappings_table and migrate using php artisan migrate
  10. You may create a virtualhost entry to access the application or run php artisan serve from the project root and visit http://127.0.0.1:8000

Imagick extension for PHP is must for PNG format. You can change the format for SVG in the code and it wouldn't require any extensions

Links:

QR Code Package.
Barcode Package.
Laravel Template.

About

A Laravel application that provides a QR code generator, a barcode generator, and a URL shortener

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published