PHPackages                             electrik/electrik - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. electrik/electrik

ActiveLibrary[Framework](/categories/framework)

electrik/electrik
=================

Starter kit for Laravel based SaaS projects

4.0.0-b1(4mo ago)2941.5k24[6 issues](https://github.com/electrikhq/electrik/issues)MITPHPPHP ^8.3CI passing

Since Oct 2Pushed 4mo ago9 watchersCompare

[ Source](https://github.com/electrikhq/electrik)[ Packagist](https://packagist.org/packages/electrik/electrik)[ GitHub Sponsors](https://github.com/electrikhq)[ RSS](/packages/electrik-electrik/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (2)Dependencies (15)Versions (21)Used By (0)

Electrik 4.x
============

[](#electrik-4x)

> 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**.

---

Features
--------

[](#features)

- **Team Management**
    Multi-user and multi-team support out of the box
- **Subscription Billing**
    Stripe-based recurring billing and plan management
- **User &amp; 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

---

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 12.x
- Composer
- Node.js &amp; NPM

---

Quick Start
-----------

[](#quick-start)

Electrik is intended to be installed on a fresh Laravel application.

1. Create a new Laravel project:

```
composer create-project laravel/laravel your-saas-app
```

2. Install Electrik:

```
composer require electrik/electrik
```

3. Run the installer:

```
php artisan electrik:install
```

4. Configure Stripe in `.env`:

```
STRIPE_KEY=your_stripe_key
STRIPE_SECRET=your_stripe_secret
```

5. Sync plans from Stripe:

```
php artisan electrik:stripe:sync
```

6. Start the development server:

```
php artisan serve
```

Visit:

> **Note**Subscription plans are synced from Stripe and stored locally. Re-run `php artisan electrik:stripe:sync` whenever plans change.

---

Architecture
------------

[](#architecture)

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

---

Package Structure
-----------------

[](#package-structure)

```
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/

```

---

Contributing
------------

[](#contributing)

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.

---

License
-------

[](#license)

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`](./LICENSE) file for full terms.

---

Sponsors
--------

[](#sponsors)

If Electrik helps your business, consider supporting its continued development by purchasing a commercial license.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance73

Regular maintenance activity

Popularity37

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Recently: every ~140 days

Total

18

Last Release

145d ago

Major Versions

0.0.13 → 1.0.02023-06-17

1.0.0 → 2.0.02023-06-17

2.x-dev → 4.0.0-beta.02025-12-24

3.x-dev → 4.0.0-b12025-12-25

PHP version history (3 changes)0.0.1PHP ^8.1

4.0.0-beta.0PHP ^8.3

3.x-devPHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/f02ffb8f3bc26ae1f6b24160279025c4eff4c59c360c71610624dccabf636a86?d=identicon)[neerajsohal](/maintainers/neerajsohal)

---

Top Contributors

[![neerajsohal](https://avatars.githubusercontent.com/u/88097?v=4)](https://github.com/neerajsohal "neerajsohal (147 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![pleveris](https://avatars.githubusercontent.com/u/19773291?v=4)](https://github.com/pleveris "pleveris (1 commits)")

---

Tags

laravellaravel-adminlaravel-frameworklaravel-novalaravel-packagelaravel-starter-kitlaravel9phpsaassaas-boilerpatesaas-boilerplatetailwindcss

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/electrik-electrik/health.svg)

```
[![Health](https://phpackages.com/badges/electrik-electrik/health.svg)](https://phpackages.com/packages/electrik-electrik)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[microweber/microweber

New generation CMS with drag and drop

3.4k13.8k1](/packages/microweber-microweber)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
