PHPackages                             keljtanoski/modular-laravel - 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. keljtanoski/modular-laravel

ActiveProject[Framework](/categories/framework)

keljtanoski/modular-laravel
===========================

Personal blueprint project starter.

v1.3.9(3y ago)4713110[7 issues](https://github.com/keljtanoski/modular-laravel/issues)MITPHPPHP ^8.0.2

Since Aug 26Pushed 3y ago3 watchersCompare

[ Source](https://github.com/keljtanoski/modular-laravel)[ Packagist](https://packagist.org/packages/keljtanoski/modular-laravel)[ RSS](/packages/keljtanoski-modular-laravel/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (14)Versions (44)Used By (0)

[![Logo](https://repository-images.githubusercontent.com/400247224/3f248688-2547-4d7b-adea-a10f6ab19b6a)](https://repository-images.githubusercontent.com/400247224/3f248688-2547-4d7b-adea-a10f6ab19b6a)

[![Total Downloads](https://camo.githubusercontent.com/72bda4e1349d0677cd70805425e6d9806d819f3b1322a1fcab3e73b940e86e03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b656c6a74616e6f736b692f6d6f64756c61722d6c61726176656c)](https://packagist.org/packages/keljtanoski/modular-laravel)[![Laravel Latest Stable Version](https://camo.githubusercontent.com/9e6071b5dd1a4a3bcabe3cca9d97a447d030caeb940f2adbd18699bc0b326702/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2f6672616d65776f726b)](https://packagist.org/packages/laravel/framework)[![Modular Laravel Latest Stable Version](https://camo.githubusercontent.com/cc562d52c36b75ac5cbf7c253fbcb398d72a16abd3921b4168c0ee9a456c5251/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b656c6a74616e6f736b692f6d6f64756c61722d6c61726176656c)](https://packagist.org/packages/keljtanoski/modular-laravel)

About Modular Laravel
---------------------

[](#about-modular-laravel)

This project is a personal blueprint starter with customized modular / SOA architecture.

[Kostadin Keljtanoski](https://keljtanoski.github.io)

Install
-------

[](#install)

You can create new Modular Laravel project using composer

`composer create-project keljtanoski/modular-laravel`

After the project is created run the following commands

`composer install`

Then generate application key

`php artisan key:generate`

Then create storage link

`php artisan storage:link`

Then run the migrations

`php artisan migrate:fresh`

Laravel Sail
------------

[](#laravel-sail)

This blueprint comes with Laravel Sail included and default configuration including `mysql` and `redis` in the `docker-composer.yml` file. You can select your own setup or preference by running `php artisan sail:install` in the terminal and select the desired configuration.

To start Docker containers run

`./vendor/bin/sail up`

This will pull the docker images and start the containers.

Alternatively you can run the following command to start the Docker containers in the background

`./vendor/bin/sail up -d`

After the Docker containers are up and ready you can run the following command to run the migrations inside Docker

`./vendor/bin/sail artisan migrate:fresh`

Then run the seeders for the example modules

`./vendor/bin/sail artisan db:seed`

Core structure
--------------

[](#core-structure)

```
app
├── Modules
│   └── Core
│       ├── Controllers
│       |   ├── ApiController.php
|       |   └── Controller.php
│       ├── Exceptions
│       |   ├── FormRequestTableNotFoundException.php
│       |   ├── GeneralException.php
│       |   ├── GeneralIndexException.php
│       |   ├── GeneralSearchException.php
│       |   ├── GeneralStoreException.php
│       |   ├── GeneralNotFoundException.php
│       |   ├── GeneralDestroyException.php
|       |   └── GeneralUpdateException.php
│       ├── Filters
│       |   ├── QueryFilter.php
|       |   └── FilterBuilder.php
│       ├── Helpers
|       |   └── Helper.php
│       ├── Interfaces
│       |   ├── FilterInterface.php
│       |   ├── SearchInterface.php
|       |   └── RepositoryInterface.php
│       ├── Models
|       |   └── .gitkeep
│       ├── Repositories
|       |   └── Repository.php
│       ├── Requests
│       |   ├── FormRequest.php
│       |   ├── CreateFormRequest.php
│       |   ├── DeleteFormRequest.php
│       |   ├── SearchFormRequest.php
│       |   ├── UpdateFormRequest.php
|       |   └── ShowFormRequest.php
│       ├── Resources
│       |   └── .gitkeep
│       ├── Scopes
|       |   └── .gitkeep
│       ├── Traits
│       |   ├── ApiResponses.php
|       |   └── Filterable.php
│       ├── Transformers
│       |   ├── EmptyResource.php
|       |   └── EmptyResourceCollection.php
│       └──
└──

```

Example Module structure
------------------------

[](#example-module-structure)

```
app
├── Modules
│   └── Example
│       ├── Config
|       |   └── .gitkeep
│       ├── Controllers
│       │   ├── Api
│       │   │   └── ExamplesController.php
|       |   └── ExamplesController.php
│       ├── Exceptions
│       |   ├── ExampleDestroyException.php
│       |   ├── ExampleIndexException.php
│       |   ├── ExampleNotFoundException.php
│       |   ├── ExampleSearchException.php
│       |   ├── ExampleStoreException.php
|       |   └── ExampleUpdateException.php
│       ├── Filters
│       |   ├── ExampleType.php
│       |   ├── ExampleTypeId.php
│       |   ├── IsActive.php
|       |   └── Name.php
│       ├── Helpers
|       |   └── .gitkeep
│       ├── Interfaces
|       |   └── ExampleInterface.php
│       ├── Models
|       |   └── Example.php
│       ├── Repositories
|       |   └── ExampleRepository.php
│       ├── Requests
│       |   ├── CreateExampleRequest.php
│       |   ├── DeleteExampleRequest.php
│       |   ├── SearchExampleRequest.php
│       |   ├── ShowExampleRequest.php
|       |   └── UpdateExampleRequest.php
│       ├── Resources
│       |   ├── lang
|       |   |   └── .gitkeep
│       |   └── views
|       |       ├── layouts
|       |       |   └── master.blade.php
|       |       ├── index.blade.php
|       |       └── create.blade.php
│       ├── routes
│       |   ├── api.php
|       |   └── web.php
│       ├── Services
|       |   └── ExampleService.php
│       ├── Traits
|       |   └── .gitkeep
│       ├── Transformers
|       |   └── ExampleResource.php
│       └──
└──

```

Route list
----------

[](#route-list)

```
+----------+---------------------------+---------------------------+------------------------------------------------------------------------+---------------+
| Method   | URI                       | Name                      | Action                                                                 | Middleware    |
+----------+---------------------------+---------------------------+------------------------------------------------------------------------+---------------+
| POST     | api/v1/example-types      | api.example_types.store   | App\Modules\ExampleType\Controllers\Api\ExampleTypesController@store   | api           |
| GET|HEAD | api/v1/example-types      | api.example_types.index   | App\Modules\ExampleType\Controllers\Api\ExampleTypesController@index   | api           |
| DELETE   | api/v1/example-types/{id} | api.example_types.destroy | App\Modules\ExampleType\Controllers\Api\ExampleTypesController@destroy | api           |
| PATCH    | api/v1/example-types/{id} | api.example_types.update  | App\Modules\ExampleType\Controllers\Api\ExampleTypesController@update  | api           |
| GET|HEAD | api/v1/example-types/{id} | api.example_types.show    | App\Modules\ExampleType\Controllers\Api\ExampleTypesController@show    | api           |
| GET|HEAD | api/v1/examples           | api.examples.index        | App\Modules\Example\Controllers\Api\ExamplesController@index           | api           |
| POST     | api/v1/examples           | api.examples.store        | App\Modules\Example\Controllers\Api\ExamplesController@store           | api           |
| GET|HEAD | api/v1/examples/{id}      | api.examples.show         | App\Modules\Example\Controllers\Api\ExamplesController@show            | api           |
| PATCH    | api/v1/examples/{id}      | api.examples.update       | App\Modules\Example\Controllers\Api\ExamplesController@update          | api           |
| DELETE   | api/v1/examples/{id}      | api.examples.destroy      | App\Modules\Example\Controllers\Api\ExamplesController@destroy         | api           |
| POST     | example-types             | example_types.store       | App\Modules\ExampleType\Controllers\ExampleTypesController@store       | web           |
| GET|HEAD | example-types             | example_types.index       | App\Modules\ExampleType\Controllers\ExampleTypesController@index       | web           |
| GET|HEAD | example-types/create      | example_types.create      | App\Modules\ExampleType\Controllers\ExampleTypesController@create      | web           |
| GET|HEAD | example-types/{id}        | example_types.show        | App\Modules\ExampleType\Controllers\ExampleTypesController@show        | web           |
| PATCH    | example-types/{id}        | example_types.update      | App\Modules\ExampleType\Controllers\ExampleTypesController@update      | web           |
| DELETE   | example-types/{id}        | example_types.destroy     | App\Modules\ExampleType\Controllers\ExampleTypesController@destroy     | web           |
| GET|HEAD | example-types/{id}/edit   | example_types.edit        | App\Modules\ExampleType\Controllers\ExampleTypesController@edit        | web           |
| GET|HEAD | examples                  | examples.index            | App\Modules\Example\Controllers\ExamplesController@index               | web           |
| POST     | examples                  | examples.store            | App\Modules\Example\Controllers\ExamplesController@store               | web           |
| GET|HEAD | examples/create           | examples.create           | App\Modules\Example\Controllers\ExamplesController@create              | web           |
| DELETE   | examples/{id}             | examples.destroy          | App\Modules\Example\Controllers\ExamplesController@destroy             | web           |
| PATCH    | examples/{id}             | examples.update           | App\Modules\Example\Controllers\ExamplesController@update              | web           |
| GET|HEAD | examples/{id}             | examples.show             | App\Modules\Example\Controllers\ExamplesController@show                | web           |
| GET|HEAD | examples/{id}/edit        | examples.edit             | App\Modules\Example\Controllers\ExamplesController@edit                | web           |
+----------+---------------------------+---------------------------+------------------------------------------------------------------------+---------------+

```

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~13 days

Recently: every ~27 days

Total

40

Last Release

1191d ago

PHP version history (2 changes)v1.0.0PHP ^7.3|^8.0

v1.1.0PHP ^8.0.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37045988?v=4)[Kostadin Keljtanoski](/maintainers/keljtanoski)[@keljtanoski](https://github.com/keljtanoski)

---

Top Contributors

[![keljtanoski](https://avatars.githubusercontent.com/u/37045988?v=4)](https://github.com/keljtanoski "keljtanoski (73 commits)")

---

Tags

architecturekeljtanoskilaravelmodularmodulesphpsoaframeworklaravellaravel-templatemodular-laravelkeljtanoski

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/keljtanoski-modular-laravel/health.svg)

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

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

Krayin CRM

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

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)

PHPackages © 2026

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