PHPackages                             muhammadanasdevs/laravel-vue-modules - 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. muhammadanasdevs/laravel-vue-modules

ActiveLibrary

muhammadanasdevs/laravel-vue-modules
====================================

Laravel Vue Module management

v1.0.0(2y ago)08MITPHPPHP &gt;=8.1

Since May 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/muhammadanasdevs/laravel-vue-modules)[ Packagist](https://packagist.org/packages/muhammadanasdevs/laravel-vue-modules)[ GitHub Sponsors](https://github.com/muhammadanasdevs)[ RSS](/packages/muhammadanasdevs-laravel-vue-modules/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

laravel-vue-modules
===================

[](#laravel-vue-modules)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](README.md)[![GitHub all releases](https://camo.githubusercontent.com/854d393298b0941240aa56f3d692c3e68fabbdf38e4a5028488862202a0e0fee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6d7568616d6d6164616e6173646576732f6c61726176656c2d7675652d6d6f64756c65732f746f74616c3f636f6c6f723d677265656e267374796c653d706c6173746963)](https://camo.githubusercontent.com/854d393298b0941240aa56f3d692c3e68fabbdf38e4a5028488862202a0e0fee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6d7568616d6d6164616e6173646576732f6c61726176656c2d7675652d6d6f64756c65732f746f74616c3f636f6c6f723d677265656e267374796c653d706c6173746963)

**Laravel****laravel-modules**10.0^1.0.0`muhammadanasdevs/laravel-vue-modules` is a Laravel package which created to manage your large Laravel app using modules. Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 10.

Install
-------

[](#install)

To install through Composer, by run the following command:

```
composer require muhammadanasdevs/laravel-vue-modules
```

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

```
php artisan vendor:publish --provider="Muhammadanasdevs\Modules\LaravelModulesServiceProvider"
```

### Autoloading

[](#autoloading)

By default, the module classes are not loaded automatically. You can autoload your modules using `psr-4`. For example:

```
{
  "autoload": {
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "Modules/",
      "Database\\Factories\\": "database/factories/",
      "Database\\Seeders\\": "database/seeders/"
  }

}
```

**Tip: don't forget to run `composer dump-autoload` afterwards.**

Documentation
-------------

[](#documentation)

You'll find installation instructions and full documentation on .

Addition
--------

[](#addition)

I only added vue router:

```
    npm run dev
    npm install vue vue-router vue-axios --save
    npm i @vitejs/plugin-vue
    npm install vuex --save
    php artisan vue-init

```

add this to web.php

```
Route::get('{any}', function () {
    return view('welcome');
})->where('any', '.*');

```

Next, add below script to welcome.blade.php

```

        @vite('resources/css/app.css')

    @vite('resources/js/app.js')

```

Finally, add this to your vite.config.js

```
import vue from "@vitejs/plugin-vue";

```

```
plugins: [
        vue(),
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js'],
            refresh: true,
        }),
    ],

```

About Muhammadanasdevs
----------------------

[](#about-muhammadanasdevs)

Muhammadanasdevs is a freelance web developer specialising on the Laravel framework. View all my packages [on my website](#), or visit my [LinkedIn](https://www.linkedin.com/in/muhammad-anas-76158717b).

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% 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

1078d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/739eaaa748d06f24f96e4c43e8ab04957e70931f2a322f5967fafb357df868e1?d=identicon)[muhammadanasdevs](/maintainers/muhammadanasdevs)

---

Top Contributors

[![muhammadanasdevs](https://avatars.githubusercontent.com/u/134830845?v=4)](https://github.com/muhammadanasdevs "muhammadanasdevs (89 commits)")[![anas1144](https://avatars.githubusercontent.com/u/74809092?v=4)](https://github.com/anas1144 "anas1144 (2 commits)")

---

Tags

laravelmodulemodulesradvuemuhammadanasdevs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/muhammadanasdevs-laravel-vue-modules/health.svg)

```
[![Health](https://phpackages.com/badges/muhammadanasdevs-laravel-vue-modules/health.svg)](https://phpackages.com/packages/muhammadanasdevs-laravel-vue-modules)
```

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

6.1k14.6M273](/packages/nwidart-laravel-modules)

PHPackages © 2026

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