- QR Code Generation
- Barcode Generation
- URL Shortener
- 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
- 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.
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.
- Clone or download the repository
- Go to the project directory and run
composer install
- Create
.env
file by copying the.env.example
. You may use the command to do thatcp .env.example .env
- Update the database name and credentials in
.env
file - Run
composer require simplesoftwareio/simple-qrcode "~4"
andcomposer require picqer/php-barcode-generator
to add the packages. - Run the command to generate application key
php artisan key:generate
- Run the command
php artisan migrate --seed
- Link storage directory:
php artisan storage:link
- Run this command to create a table
php artisan make:migration create_url_mappings_table
and migrate usingphp artisan migrate
- You may create a virtualhost entry to access the application or run
php artisan serve
from the project root and visithttp://127.0.0.1:8000