A simple PHP web application to generate QR codes using the Endroid QR Code library.
- Generate QR codes from text input
- QR Code Reader
- Bootstrap-styled web interface
- Input validation and error handling
- PHP 7.4 or higher
- Composer (for dependency management)
- Web server (e.g., Apache, Nginx) or local development server
- Clone or download this repository
- Navigate to the project directory
- Install dependencies:
composer install
- Start your web server and point it to the project directory
- Open
QRcode.phpin your web browser (e.g.,http://localhost/tools/QRcode.php) - Enter the text you want to encode in the input field
- Click "Generate QR Code"
- The QR code will be displayed and available for download
This project is intentionally simple and keeps the web entry point at the repository root. As your app grows, you can move the web-accessible entry point into a public/ folder and keep the application logic in src/.
QRcode.php- Web entry point (form + QR generation logic)composer.json- Composer configuration and dependenciesvendor/- Composer dependencies (auto-generated)src/- Directory for PHP classes (currently empty, reserved for future expansion)
- Endroid QR Code - QR code generation library
- Bootstrap 5 - CSS framework for styling
- khanamiryan/qrcode-detector-decoder- QR Read libarry
This project is open source. Please check individual dependencies for their licenses.