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.5.0(1mo ago)0710MITPHPPHP ^8.3

Since Nov 2Pushed 1mo agoCompare

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

READMEChangelog (3)Dependencies (9)Versions (27)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 VersionSupported VersionsLaravel1212, 13php8.38.3, 8.4### 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

52

—

FairBetter than 96% of packages

Maintenance92

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 66.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 ~56 days

Recently: every ~135 days

Total

25

Last Release

38d ago

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

v1.1.0PHP ^8.2

v1.5.0PHP ^8.3

### 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 (3 commits)")[![BipinMhzn](https://avatars.githubusercontent.com/u/25446399?v=4)](https://github.com/BipinMhzn "BipinMhzn (3 commits)")[![sabin-koju](https://avatars.githubusercontent.com/u/19516598?v=4)](https://github.com/sabin-koju "sabin-koju (1 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.8k2.5k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

28.0k175.2k9](/packages/bagisto-bagisto)[code16/sharp

Laravel Content Management Framework

79466.1k10](/packages/code16-sharp)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

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

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

12115.1k55](/packages/kompo-kompo)[ecotone/laravel

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

21327.3k4](/packages/ecotone-laravel)

PHPackages © 2026

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