CodeCanyon Setup & Configuration Documentation

7 Web AI SaaS — Setup Guide

Complete installation, Admin Panel configuration, and Flutter Android app build instructions.

1. Package Structure

Folder / File Purpose
Admin_Panel/ Laravel 11 PHP Admin Panel & Mobile REST API. Upload and extract on your web server.
Flutter_App/ Android Flutter 3.x mobile application source code. Open in VS Code or Android Studio.
Category_Photo_Cards_Pack.zip Pre-built pack of 8 categories, 48 Before/After photo pairs, and copy-paste prompts.
Documentation/ Contains Setup_Guide.pdf, Documentation.html, and README.txt.

2. Admin Panel Setup (4-Step Web Installer)

Server Requirements: PHP 8.2 or higher, MySQL 8.0+ / MariaDB, Apache or Nginx with mod_rewrite enabled, and standard PHP extensions (pdo_mysql, curl, gd, mbstring, zip).

  1. Upload & Extract: Upload the Admin Panel ZIP to your domain's public_html/ directory and extract all files directly inside public_html/.
  2. Launch Installer: Open https://yourdomain.com/install.php in your browser.
  3. Complete the 4-Step Wizard: Verify server requirements, enter your MySQL Database credentials, create your Super Admin email and password, and click Finish.
  4. Configure 1-Minute Cron Job: In cPanel or HestiaCP Cron Jobs, add this command to run every minute for automated subscription expiry checks and reminder emails:
* * * * * php /path/to/public_html/cron.php >/dev/null 2>&1

3. Admin Panel Configuration

Manage Categories & Photo Cards

Open Manage Categories (/admin/app-catalog) and extract Category_Photo_Cards_Pack.zip on your computer:

  1. Click Add Category and create each category (e.g., Halloween, Ghibli & Cartoonize, Age & Face Magic).
  2. Click + Add Photo, select the Category, and copy-paste the Card Title and AI Style Prompt from that category's _Prompts.txt file.
  3. Upload the matching _Before.jpg as the Small Circle Photo and _After.jpg as the Large Card Photo, then click Save.
Admin Panel Manage Categories and Photo Cards
Admin Panel → Manage Categories & Photo Cards gallery view.

Pricing Plans, Payment Gateways & AI Providers

Section Configuration Steps
Pricing Plans Configure Weekly, Monthly, and Yearly subscription prices, credits, and store Product IDs ($rc_weekly, $rc_monthly, $rc_annual).
Payment Gateways Only one gateway is active at a time. Select RevenueCat (recommended for Google Play In-App Purchases), Stripe, or PayPal, enter your keys, and click Save.
AI Providers Paste your API keys for OpenAI, Black Forest (FLUX), and/or Stability AI, click Test Connection, and set credit costs per model.
SMTP & Mail Templates Under SMTP & Security, enter your SMTP Host (e.g. smtp.gmail.com), Port (587), Username, App Password, and From Address. Customize email wording under Mail Templates.
Safety, Users & Transactions Manage blocked keywords under NSFW Safety Filter, update brand colors and contact info under Theme & Settings, monitor payments under Transactions, and manage user credits/plans under Manage Users.

4. Connecting & Building the Flutter Android App

Requirements: Flutter SDK 3.x, Android SDK, and VS Code or Android Studio.

  1. Extract 02_Flutter_App.zip and open the folder in VS Code or Android Studio.
  2. Open lib/config/api_config.dart and replace line 8 with your Admin Panel domain:
static const String siteRoot = 'https://yourdomain.com';
  1. Optional Branding: Update your App Name in android/app/src/main/AndroidManifest.xml (android:label), your Package ID in android/app/build.gradle.kts (applicationId), and your app icon PNGs in android/app/src/main/res/mipmap-*/.
  2. Build APK or Play Store Bundle: Run these commands in your project terminal:
flutter pub get
flutter build apk --release
# Or for Google Play Store upload:
flutter build appbundle --release

Your compiled APK will be saved at build/app/outputs/flutter-apk/app-release.apk.

5. Platform & Support Policy

Important: Android-Only & Original Source Code Support