22. Restaurant Panel Setup
The Restaurant (Vendor) Panel is the Laravel 12 application restaurant owners and their employees log into. Upload the package to its own domain or subdomain (for example restaurant.yourdomain.com) and extract it.
22.1. Upload the files
22.1.1. Connect over FTP/SFTP with FileZilla or a similar client — port 21 for FTP, port 22 for SFTP.
22.1.2. Transfer the ZIP file to the server, for example /var/www/html.
22.1.3. Extract it from the terminal or the cPanel File Manager:
unzip your-application.zip
22.1.4. Point the subdomain’s document root at the project’s public/ folder.
22.2. Configure the panel
22.2.1. Install the dependencies and generate the application key:
composer install cp .env.example .env php artisan key:generate
22.2.2. Create a MySQL database for this panel and import the .sql file supplied with the Restaurant Panel package — through phpMyAdmin → Import, or from the command line:
mysql -u your_db_user -p your_database < restaurant_panel.sql
There is no php artisan migrate step; the .sql file already contains the tables and default data.
22.2.3. Add the same Firebase credentials you used for the Admin Panel, including the same database name:
APP_NAME=Restaurant APP_URL=https://restaurant.yourdomain.com DB_DATABASE=your_database DB_USERNAME=your_db_user DB_PASSWORD=your_db_password FIREBASE_PROJECT_DB=(default) FIREBASE_APIKEY= FIREBASE_AUTH_DOMAIN= FIREBASE_DATABASE_URL= FIREBASE_PROJECT_ID= FIREBASE_STORAGE_BUCKET= FIREBASE_MESSAAGING_SENDER_ID= FIREBASE_APP_ID= FIREBASE_MEASUREMENT_ID= # Required for "Sign in with Google" GOOGLE_CLIENT_ID=
Note: use the same Firebase project and the same FIREBASE_PROJECT_DB value for the Admin Panel, the Restaurant Panel, the Website Panel and the mobile apps — that is what keeps all clients on one live dataset.
22.3. Google login
To enable “Sign in with Google” you need your Google Client ID.
Where to find it:
- Open your project in the Firebase Console.
- Go to Authentication → Sign-in method.
- Click Google in the provider list.
- Expand Web SDK configuration.
- Copy the Web client ID.
- Paste it into
GOOGLE_CLIENT_IDin the panel’s.envfile.
Authorise your domains for the OAuth 2.0 client:
- Open the Google Cloud Console.
- Go to APIs & Services → Credentials.
- Open your OAuth 2.0 Client ID (Web application type).
- Add both panels under Authorized JavaScript origins:
https://yourdomain.comhttps://restaurant.yourdomain.com
- Add both under Authorized redirect URIs:
https://yourdomain.com/__/auth/handlerhttps://restaurant.yourdomain.com/__/auth/handler
Also add both domains under Firebase Console → Authentication → Settings → Authorized domains.
22.4. First login

The panel is now ready at your chosen address, for example https://restaurant.yourdomain.com/. Restaurant owners register from this panel and then wait for admin approval (unless auto-approve restaurants is enabled under Settings → Feature Settings in the Admin Panel). If document verification is switched on, the owner must upload the required documents before the rest of the menu unlocks.
