PHPackages                             echowine/laravel-app - 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. echowine/laravel-app

ActiveLibrary

echowine/laravel-app
====================

141PHP

Since Mar 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/EchoWine/laravel-app)[ Packagist](https://packagist.org/packages/echowine/laravel-app)[ RSS](/packages/echowine-laravel-app/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Multi Application
=========================

[](#laravel-multi-application)

A simple loader that permits to split the project in multiple parts or even create multiple application. All the basic functions of laravel will be automatically loaded: Commands, Resources/views, Resources/public, routes, Exceptions/Handler, Providers

Installation
------------

[](#installation)

- Add the package and the folder psr-4 to your `composer.json` and run `composer update`.

```
{
    "require": {
        "echowine/laravel-app": "*@dev"
    },
    "autoload": {
        "psr-4": {
            "": "src/"
        }
    },
}
```

- Add the service provider to the `providers` array in `config/app.php`

```
EchoWine\Laravel\App\AppServiceProvider::class,
```

- Replace "HandlerException in app/Exceptions/Handler" (Only laravel 5.3 +)

```
use EchoWine\Laravel\App\Exceptions\Handler as ExceptionHandler;
```

Usage
-----

[](#usage)

- Create a new src package folder with `php artisan src:generate Example` at the root of your project.

### Return view

[](#return-view)

```
return view('Example::index');
```

### Assets

[](#assets)

```
{{asset('src/Example/assets/welcome/main.css')}}
```

### Exception Handler (Only laravel 5.3 +)

[](#exception-handler-only-laravel-53-)

```
    public function report(Exception $exception)
    {
        # Report only if it's a custom report
        # echo "A custom report";
    }

    public function render($request, Exception $exception)
    {

        # Return only if it's a custom render
        # The first handler with a return in render method will be used
        # return parent::render($request, $exception);

    }
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![EchoWine](https://avatars.githubusercontent.com/u/16058223?v=4)](https://github.com/EchoWine "EchoWine (21 commits)")

### Embed Badge

![Health badge](/badges/echowine-laravel-app/health.svg)

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

PHPackages © 2026

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