Laravel Configuration

Quick Start

Get details about Requirements, Basic Installation, Structure, Logo, favicon, and loader set up your project with easy steps.


  1. PHP 7.3 or greater
  2. OpenSSL PHP Extension
  3. PDO PHP Extension
  4. Mbstring PHP Extension
  5. Tokenizer PHP Extension
  6. XML PHP Extension
  7. Ctype PHP Extension
  8. JSON PHP Extension
  9. GD PHP Extension (or Imagick PHP Extension)
  10. PHP Fileinfo extension
  11. PHP Zip Archive
  12. Rewrite Module (Apache or Nginx)
php.ini Requirements
  1. open_basedir must be disabled
File and folder permissions
  1. /bootstrap 775
  2. /bootstrap 775

Basic Server Setup

Follow below steps for setup the project  on server.


Get the project zip from the CodeCanyon. Extract that zip, Go to the below path: MainFile_SourceCode/Admin Panel/ and upload that zip and extract in your Cpanel.


Upload that project zip to your server public_html directory.


Extract the zip file to that directory.


Then Create a new database from your server MySQL database.


Create a DB user to the database.


After all this, you have to just hit your URL in the browser and go on.

File Structure


  • app
    • Console
    • Exceptions
    • Helpers
    • Http
      • Controllers
        • Auth
          • Controller.php
          • HomeController.php
      • Middleware
      • Requests
    • Model
    • Provider
    • View
  • bootstrap
  • config
  • database
  • node_modelus
  • public
    • css
    • js
    • images
    • vendor
  • resources
    • css
    • js
    • lang
    • sass
    • views
      • auth
      • components
      • layout
      • home.blade.php
      • welcome.blade.php
  • route
  • tests
  • .editorconfig
  • .env.example
  • .styleci.yml
  • artisan
  • composer.json
  • package.json
  • phpunit.xml
  • server.php
  • webpack.mix.js


  1. Create Database
  2. Upload the Codes in below directory based on your server In Linux
    Path: var/www/html/
    In cPanel:
    Inside File manager -> Path: public_html/
  3. For database settings, open the .env file with a text editor and set your database settings.
    Note: .env is a hidden file, you can see it by opening directory to a text editor.
  4. Link your storage folder to public Run in terminal or CMD: php artisan storage:link. After this if you are facing a problem storage link using command please follow the below steps :  ln -s /home/your_application/storage/app/public /home/your_application/public/storage

Basic Steps

  1. Start command prompt window or terminal and change directory laravel:
    • cd qr_menu_laravel_api
  2. Copy .env.example to .env file:
    • cp .env.example .env
  3. Generate Key for project in terminal or CMD:
    • php artisan key:generate

Database Configurations

  1. Create the database on your server
  2. Open and edit the /.env file and provide your server details:
  1. After that run command,
    php artisan migrate --seed Or php artisan migrate:fresh --seed
  2. If you are facing a problem migrating database using command then,
    import the qr-menu.sql file in your database
    You will find the SQL file in qr_menu_laravel_api/qr-menu.sql.

Mail Configurations

  1. Open and edit the /.env file and provide following details:
    • MAIL_MAILER=your mail driver
    • MAIL_HOST=your mail host
    • MAIL_PORT=your mail port
    • MAIL_USERNAME=your mail id
    • MAIL_PASSWORD=your mail password
    • MAIL_ENCRYPTION=your mail encryption
  2. Enter mail host name, mail port, mail username( Mail ID ), mail password and mail encryption type.