Menu

Tree [85157e] master /
 History

HTTPS access


File Date Author Commit
 app 7 days ago Tajwar Tajwar [85157e] Initial commit
 bootstrap 7 days ago Tajwar Tajwar [85157e] Initial commit
 config 7 days ago Tajwar Tajwar [85157e] Initial commit
 database 7 days ago Tajwar Tajwar [85157e] Initial commit
 public 7 days ago Tajwar Tajwar [85157e] Initial commit
 resources 7 days ago Tajwar Tajwar [85157e] Initial commit
 routes 7 days ago Tajwar Tajwar [85157e] Initial commit
 storage 7 days ago Tajwar Tajwar [85157e] Initial commit
 tests 7 days ago Tajwar Tajwar [85157e] Initial commit
 .editorconfig 7 days ago Tajwar Tajwar [85157e] Initial commit
 .env.example 7 days ago Tajwar Tajwar [85157e] Initial commit
 .gitattributes 7 days ago Tajwar Tajwar [85157e] Initial commit
 .gitignore 7 days ago Tajwar Tajwar [85157e] Initial commit
 LICENSE 7 days ago Tajwar Tajwar [85157e] Initial commit
 README.md 7 days ago Tajwar Tajwar [85157e] Initial commit
 artisan 7 days ago Tajwar Tajwar [85157e] Initial commit
 components.json 7 days ago Tajwar Tajwar [85157e] Initial commit
 composer.json 7 days ago Tajwar Tajwar [85157e] Initial commit
 composer.lock 7 days ago Tajwar Tajwar [85157e] Initial commit
 package-lock.json 7 days ago Tajwar Tajwar [85157e] Initial commit
 package.json 7 days ago Tajwar Tajwar [85157e] Initial commit
 phpunit.xml 7 days ago Tajwar Tajwar [85157e] Initial commit
 postcss.config.js 7 days ago Tajwar Tajwar [85157e] Initial commit
 tailwind.config.js 7 days ago Tajwar Tajwar [85157e] Initial commit
 tsconfig.json 7 days ago Tajwar Tajwar [85157e] Initial commit
 vite.config.js 7 days ago Tajwar Tajwar [85157e] Initial commit

Read Me

Freemiusfast | Laravel & React Freemius SaaS Boilerplate

Download Freemiusfast

Freemiusfast is a professional-grade SaaS boilerplate designed specifically for developers selling web applications through the Freemius ecosystem. It combines the power of a Laravel backend with a modern React SPA frontend to create a seamless licensing and management experience.


✨ Features

  • Freemius SDK Integration: Pre-configured logic for license validation, trial management, and subscription syncing.
  • Modern Tech Stack: Laravel 12, React, and Inertia.js for a smooth Single Page Application (SPA) feel.
  • Dynamic Menu System: Database-driven sidebar management with automatic active-state detection.
  • Advanced RBAC: Robust Role-Based Access Control to restrict features based on license tiers (Free vs. Pro).
  • Responsive UI: Beautiful dashboard built with Tailwind CSS and Lucide icons.

Inactive Plan Account

Inactive Plan Screenshot

Active Plan Account

Active Plan Screenshot


🛠 Installation

1. Clone the Repository

git clone https://github.com/naharsoftbd/freemiusfast.git
cd freemiusfast

2. Install Dependencies

Install PHP dependencies

composer install

Install JavaScript dependencies

npm install

3. Environment Setup

Create your environment file and generate the application key:

cp .env.example .env
php artisan key:generate

4. Freemius Configuration

Add your Freemius developer credentials to your .env file to enable licensing features:

VITE_FREEMIUS_PRODUCT_ID="----"
VITE_FREEMIUS_API_KEY="---"
VITE_FREEMIUS_SECRET_KEY="---"
VITE_FREEMIUS_PUBLIC_KEY="---"
VITE_FREEMIUS_PUBLIC_URL='http://127.0.0.1:8000'
VITE_FREEMIUS_BASE_URL='---'
VITE_FREEMIUS_PLAN_ID="---"
VITE_FREEMIUS_API_BASE_URL='---'

🔑 Licensing Architecture

Freemiusfast utilizes a middleware-based approach to verify Freemiusfast licenses. This ensures that premium React components and Laravel routes are only accessible to authorized users.

Handshake: On Istallation, the app verifies the user's license key via the license API.

Caching: Subscription status is cached locally to ensure high performance and reduce API overhead.

Gatekeeping: The CheckLicense middleware intercepts requests to "Pro" features.

🤝 Contributing

Contributions are welcome! If you have ideas for better Freemius integration or UI improvements, please fork the repo and submit a pull request.

📄 License

This project is open-source software licensed under the GNU license.


**Would you like me to generate a LICENSE file or a .gitignore specifically optimized for a Laravel-Rea

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →