Electrik 4.x is under active development. APIs may evolve, but the project is alive and progressing.
Electrik is a source-available SaaS starter kit designed to accelerate building modern SaaS applications with Laravel.
It provides a solid, opinionated foundation for authentication, teams, billing, and dashboards — so you can focus on your product instead of rebuilding the basics.
Built with Laravel 12, Livewire 3, and Tailwind CSS 4.
-
Team Management
Multi-user and multi-team support out of the box -
Subscription Billing
Stripe-based recurring billing and plan management -
User & Access Management
Roles, permissions, and profile management -
Scalable Dashboard
Clean, minimal dashboard that grows with your product -
Modern Architecture
Event-driven, maintainable, and easy to extend
- PHP 8.3+
- Laravel 12.x
- Composer
- Node.js & NPM
Electrik is intended to be installed on a fresh Laravel application.
- Create a new Laravel project:
composer create-project laravel/laravel your-saas-app- Install Electrik:
composer require electrik/electrik- Run the installer:
php artisan electrik:install- Configure Stripe in
.env:
STRIPE_KEY=your_stripe_key
STRIPE_SECRET=your_stripe_secret- Sync plans from Stripe:
php artisan electrik:stripe:sync- Start the development server:
php artisan serveVisit: http://localhost:8000/dashboard
Note Subscription plans are synced from Stripe and stored locally. Re-run
php artisan electrik:stripe:syncwhenever plans change.
Electrik follows modern Laravel best practices:
- Event-driven — side effects handled via listeners
- 12-factor principles — environment-based configuration
- KISS — simple, readable, intentional code
- DRY — reusable components, minimal duplication
electrik/
├── src/
│ ├── Actions/ # Single-purpose actions
│ ├── Events/ # Domain events
│ ├── Listeners/ # Event listeners
│ ├── Services/ # Business logic
│ ├── Repositories/ # Data access
│ ├── Models/ # Eloquent models
│ ├── Livewire/ # UI components
│ ├── Requests/ # Validation
│ ├── Notifications/ # Notifications
│ └── Console/ # Artisan commands
├── config/
├── database/
├── resources/
└── routes/
Contributions are welcome — especially bug fixes, documentation improvements, and discussions.
If you're using Electrik for learning, experimentation, or open-source work, feel free to fork and explore.
Electrik is licensed under the Business Source License (BSL).
In short:
-
Free for:
- Personal projects
- Indie hackers and solo developers
- Open-source projects
- Educational use
- Pre-revenue experimentation
-
A commercial license is required for:
- Companies or organizations
- Client, freelance, or agency work
- Internal business tools
- Commercial products or services
- Any use as part of paid employment
Each released version of Electrik automatically becomes fully open source (Apache 2.0) four years after its release.
See the LICENSE file for full terms.
If Electrik helps your business, consider supporting its continued development by purchasing a commercial license.