PHPackages                             ensue/snap - 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. ensue/snap

ActiveLibrary[Framework](/categories/framework)

ensue/snap
==========

Modular architecture build on top of laravel for any laravel project

v1.3.0(1y ago)0504MITPHPPHP ^8.2

Since Nov 2Pushed 1y agoCompare

[ Source](https://github.com/ensue-llc/SnapSystem)[ Packagist](https://packagist.org/packages/ensue/snap)[ RSS](/packages/ensue-snap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (25)Used By (0)

Snap System
===========

[](#snap-system)

Snap System is the underlying architecture for Laravel projects, providing essential functionalities and features.

Getting Started
---------------

[](#getting-started)

### Install package

[](#install-package)

Install the package using Composer. Run the following command:

```
composer require ensue/snap

```

### Prerequisites

[](#prerequisites)

PackageMinimum VersionLaravel10php8.2### Exception handler

[](#exception-handler)

In your **Handler.php** located at **app/Exceptions/Handler.php**, follow these steps:

1. Remove all existing code within the file.
2. Extend class with **SnapExceptionHandler**
3. Override any methods as needed.

### Publish Config and Language Files (Optional)

[](#publish-config-and-language-files-optional)

You have the option to publish the configuration and language files. Use the following command:

```
php artisan vendor:publish --tag=snap

```

### Generate module

[](#generate-module)

To generate a module, run the following command:

```
php artisan snap:generate

```

Make sure to replace  with the actual name of the module you want to generate.

### Extend Model

[](#extend-model)

Extend your model from the **SnapAppModel** class to inherit additional functionalities.

Module structure
----------------

[](#module-structure)

```
app
├── Modules
│   └──
│       ├── Controllers
│       │   └── Controller.php
│       ├── Database
│       │   └── Models
│       │       └── .php
│       ├── Exceptions
│       ├── Filters
│       │   └── Filter.php
│       ├── Interfaces
│       │   └── Interface.php
│       ├── Middlewares
│       ├── Providers
│       ├── Repositories
│       │   └── Repository.php
│       ├── Requests
│       │   ├── CreateRequest.php
│       │   └── UpdateRequest.php
│       ├── Routes
│       │   ├── api.php
│       │   └── web.php
│       ├── Views
│       └── ServiceProvider.php
└── System
    └──
        └── Database
            ├── Exceptions
            ├── Models
            │   └── .php
            └── Traits

```

Feel free to customize and expand upon the provided instructions as needed for your project. If you encounter any issues or need further assistance, please don't hesitate to contact us.

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

[](#contributing)

Feel free to contribute :)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance44

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~38 days

Recently: every ~137 days

Total

23

Last Release

444d ago

PHP version history (2 changes)v1.0.0PHP ^8.0.2

v1.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/41be2bc4f7692b281ea90b572d99e4617cb2becd68ca99931ca074c7d7d6f67f?d=identicon)[shiva\_ensue](/maintainers/shiva_ensue)

![](https://www.gravatar.com/avatar/2b9a2c6d395662236f382dc68d708cc84ac01493d438a52713266b0bf00a3790?d=identicon)[bipinensue](/maintainers/bipinensue)

![](https://www.gravatar.com/avatar/431c9c457ef18bdabff31dc290756de51120377a426b878007a8e76e1a9e1071?d=identicon)[ensueamar](/maintainers/ensueamar)

---

Top Contributors

[![shivathapa41](https://avatars.githubusercontent.com/u/82861883?v=4)](https://github.com/shivathapa41 "shivathapa41 (14 commits)")[![bipinensue](https://avatars.githubusercontent.com/u/188851020?v=4)](https://github.com/bipinensue "bipinensue (2 commits)")

---

Tags

laravelmodulemodularsnapEnsuearchtecture

### Embed Badge

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

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[orchid/platform

Platform for back-office applications, admin panel or CMS your Laravel app.

4.8k2.5M59](/packages/orchid-platform)[internachi/modular

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[artem-schander/l5-modular

Modular pattern generator for Laravel

223235.5k](/packages/artem-schander-l5-modular)[mhmiton/laravel-modules-livewire

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.

236409.6k9](/packages/mhmiton-laravel-modules-livewire)

PHPackages © 2026

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