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)0626MITPHPPHP ^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 today

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

37

—

LowBetter than 81% of packages

Maintenance41

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

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

490d 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

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[aimeos/aimeos-core

Full-featured e-commerce components for high performance online shops

4.5k361.1k75](/packages/aimeos-aimeos-core)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

12014.8k49](/packages/kompo-kompo)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)

PHPackages © 2026

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