Qr Tool is a web application built in Laravel 9. Main function of the application are the following:
- Generate qr code
- Scan qr code using a scanner(tested scanner from Honeywell)
- Print qr code in pdf form
- Download qr code as image
- PHP8.1(Larvel 9)
- TailwindCSS
- Livewire
- Javascript
- MySQL
This guide will help you set up a Laravel project with PHP 8.1 on your local machine.
Before you begin, ensure that you have the following software installed on your machine:
- PHP 8.1
- Composer
- Git
- Node.js
- NPM
To clone the project, open a terminal window and navigate to the directory where you want to save the project. Then run the following command:
git clone https://github.com/dr3nyl/qr-tool.git
Once you have cloned the project, navigate to the project root directory and run the following command to install the project dependencies:
composer install
Next, create a new .env file by copying the .env.example file:
cp .env.example .env
Then generate a new application key:
php artisan key:generate
Edit the .env file and set the database connection details:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=<database-name>
DB_USERNAME=<database-username>
DB_PASSWORD=<database-password>
To migrate the database, run the following command:
php artisan migrate
To start the development server, run the following command:
php artisan serve
To compile the project assets, run the following command:
npm install
npm run dev
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.