Skip to content

mutuku/saasboilerplate

Repository files navigation

Laravel + Livewire SaaS Boilerplate

A SaaS-ready boilerplate built on top of the official Laravel + Livewire starter kit.

Features

  • Multitenancy powered by Spatie Multitenancy, without tenant identifiers or custom subdomains.
  • Permissions handled via Spatie Laravel-Permission, roles are not used.
  • Simple user-based access control:
    • super_admin and tenant_admin boolean flags are stored in the users table.
    • Other users have null for both fields.
  • Tenant onboarding includes:
    • Selecting a country
    • Choosing a currency
    • Setting a unit of measurement (e.g. kg, lbs, liters)
  • Superadmin Subscription Plan Management:
    • The superadmin can manage subscriptions using Paddle (set up with Laravel Cashier for Paddle). This includes the ability to view and manage subscription plans, and manage the billing process for tenants.

Installation

# 1. Clone the repository
git clone git@github.com:mutuku/saasboilerplate.git
cd saasboilerplate

# 2. Install dependencies
composer install

# 3. Copy and configure environment
cp .env.example .env
php artisan key:generate

# 4. Run database migrations and seeders
php artisan migrate --seed

# 5. Serve the application
php artisan serve

Default Credentials

  • Superadmin:
    Email: admin@example.com
    Password: password

  • Tenant:
    Email: john@acme.com
    Password: password

Notes

  • This application is provided as is, with no guarantees regarding security, performance, or functionality. It is meant for developers to use as a base for their own applications.
  • Developers should thoroughly test the application for security, functionality, and performance before using it in a production environment.

License

The Laravel + Livewire SaaS Boilerplate is open-sourced software licensed under the MIT license.

Developed By

Agile.co.ke

About

Laravel and Livewire Based Saas Boilerplate

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages