PHPackages                             incrusio21/laravel-erp - 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. [Admin Panels](/categories/admin)
4. /
5. incrusio21/laravel-erp

ActiveLibrary[Admin Panels](/categories/admin)

incrusio21/laravel-erp
======================

A demo package

v0.0.1(3y ago)010MITPHPPHP ^8.1

Since Apr 3Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

Description
-----------

[](#description)

This package allows a Laravel to work like erpnext that have doctype and can work with multiple HTTP domains.

this package inpired from `https://github.com/frappe/frappe` (most likely copy paste frappe and change programing language to php) and learn from `https://github.com/gecche/laravel-multidomain` to make laravel can work with multiple HTTP domains

### Installation

[](#installation)

Update your packages with composer update or install with composer install.

You can also add the package using `composer require incrusio21/laravel-erp` and later specify the version you want.

If yout want to work with multiple HTTP domains with this package. you needs a few more configuration steps than most Laravel packages.

#### Site Installation

[](#site-installation)

To override the detection of the HTTP site in a minimal set of Laravel core functions at the very start of the bootstrap process in order to get the specific environment file.

Installation steps:

1. replace the whole Laravel container by modifying the following lines at the very top of the `bootstrap/app.php` file.

```
//$app = new Illuminate\Foundation\Application(
$app = new LaravelErp\Foundation\Application(
    $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__),
    'site'
);
```

2. update the two application Kernels (HTTP and CLI).

At the very top of the `app/Http/Kernel.php` file , do the following change:

```
//use Illuminate\Foundation\Http\Kernel as HttpKernel;
use LaravelErp\Foundation\Http\Kernel as HttpKernel;
```

Similarly in the `app/Console/Kernel.php` file:

```
//use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use LaravelErp\Foundation\Console\Kernel as ConsoleKernel;
```

#### Make Public Link

[](#make-public-link)

A way to obtain multiple storage links could be the following. Let us suppose to have two domains, namely `site1.com` and `site2.com` with associated storage folders `site/site1.com/public` and `site/site2.com/public`.

1. call command link (delete folder link in public first):

```
php artisan erp:storage_link

```

2. add this line to your `.htacces`:

```
RewriteCond %{REQUEST_URI} ^/storage/(.+)$
RewriteRule ^storage/(.+)$ %{HTTP_HOST}/$1 [L]

RewriteCond %{REQUEST_URI} ^/(site1\.com|site2\.com)(.*)?$
RewriteRule ^ "-" [F]

```

it make you can call it like default storage and force to forbidden page if you try to access it from folder name

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1189d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34fb39ee47b06f8f4c678fc3cfebbbfa069f6f9a434a278b04d1355bf1d0ca2b?d=identicon)[incrusio21](/maintainers/incrusio21)

---

Top Contributors

[![incrusio21](https://avatars.githubusercontent.com/u/31911793?v=4)](https://github.com/incrusio21 "incrusio21 (14 commits)")

### Embed Badge

![Health badge](/badges/incrusio21-laravel-erp/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M204](/packages/sulu-sulu)

PHPackages © 2026

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