PHPackages                             yarscript/laraveleton-api-demo - 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. yarscript/laraveleton-api-demo

ActiveProject

yarscript/laraveleton-api-demo
==============================

Laraveleton demo API

00PHP

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yarscript/laraveleton-api)[ Packagist](https://packagist.org/packages/yarscript/laraveleton-api-demo)[ RSS](/packages/yarscript-laraveleton-api-demo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laraveleton-api
===============

[](#laraveleton-api)

### 🥷 Laravel-based API demo app with packaging structure 🥷

[](#ninja-laravel-based-api-demo-app-with-packaging-structure-ninja)

###### /\*\* the following idea of packaging respresented in monolyte architecture so i don't cared some thins like migrations publishing \*/

[](#-the-following-idea-of-packaging-respresented-in-monolyte-architecture-so-i-dont-cared-some-thins-like-migrations-publishing--)

---

Dependencies
------------

[](#dependencies)

```
    "require": {
        "php": "^7.4|^8.0",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^1.0",
        "laravel/framework": "^8.0",
        "laravel/ui": "^3.1",
        "prettus/l5-repository": "^2.6",
        "tymon/jwt-auth": "^1.0.0",
        "guzzlehttp/guzzle": "^6.3",
        "yarscript/laraveleton-core": "*",
        "yarscript/laraveleton-api": "*",
        "yarscript/laraveleton-dashboard": "*",
        "yarscript/laraveleton-organisation": "*",
        "yarscript/laraveleton-project": "*",
        "yarscript/laraveleton-serviceplan": "*",
        "yarscript/laraveleton-task": "*",
        "yarscript/laraveleton-user": "*"
    },
    "require-dev": {
        "roave/security-advisories": "dev-latest",
        "fzaninotto/faker": "^1.9",
        "barryvdh/laravel-debugbar": "^3.1"
    },
```

Install
-------

[](#install)

To install through Composer, by run the following command:

```
git clone https://github.com/yarscript/laraveleton-api.git
```

Then.. Deefault laravel deploy

Autoloading
-----------

[](#autoloading)

### root composer.json autoload

[](#root-composerjson-autoload)

By default, the App lovated at Core packagee so fill the vendor path:

```
{
    "autoload": {
        "classmap": [
            "database/seeders",
            "database/factories"
        ],
        "psr-4": {
            "App\\": "vendor/yarscript/laraveleton-core/src"
        }
    },

}
```

### packages autoloading

[](#packages-autoloading)

All the packages includes src/composer.json depeendencies file so we need to put them at the "require" as dependencies

```
{
    "require": {
        "yarscript/laraveleton-core": "*",
        "yarscript/laraveleton-api": "*",
        "yarscript/laraveleton-dashboard": "*",
        "yarscript/laraveleton-organisation": "*",
        "yarscript/laraveleton-project": "*",
        "yarscript/laraveleton-serviceplan": "*",
        "yarscript/laraveleton-task": "*",
        "yarscript/laraveleton-user": "*"
    },
}
```

To let Compeser know about the local depeendencies we are useeing the following structure:

```
    "repositories": [
        {
            "type": "path",
            "url": "packages/Yarscript/Core"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/Api"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/Dashboard"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/Organisation"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/Project"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/ServicePlan"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/Task"
        },
        {
            "type": "path",
            "url": "packages/Yarscript/User"
        }
    ],
```

Finally, how the required package's dependency looks like

```
{
    "name": "yarscript/laraveleton-core",
    "description": "description",
    "minimum-stability": "stable",
    "license": "MIT",
    "authors": [
        {
            "name": "yar",
            "email": "yar.yason@gmail.com"
        }
    ],
    "require": {
    },
    "autoload": {
        "psr-4": {
            "Yarscript\\Core\\": "src/"
        }
    },
    "extra": {
        "laravel": {
            "providers": [
                "Yarscript\\Core\\Providers\\CoreServiceProvider"
            ],
            "aliases": {}
        }
    }
}
```

***Conclusion***

> ### So this stuff let us to build TRUE Modular Lavael's application structure. Clear with it, fine. Fron now, my dear reader, you are completeley open to dive into the true DDD with Laravel. Please enjoy to use it!
>
> [](#so-this-stuff-let-us-to-build-true-modular-lavaels-application-structure-clear-with-it-fine-fron-now-my-dear-reader-you-are-completeley-open-to-dive-into-the-true-ddd-with-laravel-please-enjoy-to-use-it)

Credits
-------

[](#credits)

- [YAro Script](https://github.com/yarscript)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

🇺🇦 MADE IN UKRAINE 🇺🇦

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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/d6648e83d7015c1961df7393378be001121b4c45c4d8568ae27618e71ad889fc?d=identicon)[yarscript](/maintainers/yarscript)

---

Top Contributors

[![yarscript](https://avatars.githubusercontent.com/u/26656665?v=4)](https://github.com/yarscript "yarscript (36 commits)")

### Embed Badge

![Health badge](/badges/yarscript-laraveleton-api-demo/health.svg)

```
[![Health](https://phpackages.com/badges/yarscript-laraveleton-api-demo/health.svg)](https://phpackages.com/packages/yarscript-laraveleton-api-demo)
```

PHPackages © 2026

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