[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8302":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},8302,"laravel-modules","nWidart\u002Flaravel-modules","nWidart","Module Management In Laravel","https:\u002F\u002Fdocs.laravelmodules.com",null,"PHP",6155,1018,153,13,0,1,5,30,7,72.52,"MIT License",false,"master",true,[27,28,29,5,30],"architecture","hacktoberfest","laravel","php","2026-06-12 04:00:38","# Laravel-Modules\n\n[![Latest Version on Packagist](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fnwidart\u002Flaravel-modules.svg?style=flat-square)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fnwidart\u002Flaravel-modules)\n[![Software License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Scrutinizer Coverage](https:\u002F\u002Fimg.shields.io\u002Fscrutinizer\u002Fcoverage\u002Fg\u002FnWidart\u002Flaravel-modules.svg?maxAge=86400&style=flat-square)](https:\u002F\u002Fscrutinizer-ci.com\u002Fg\u002FnWidart\u002Flaravel-modules\u002F?branch=master)\n[![Total Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Fnwidart\u002Flaravel-modules.svg?style=flat-square)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fnwidart\u002Flaravel-modules)\n\n| **Laravel** | **laravel-modules** |\n|-------------|---------------------|\n| 5.4         | ^1.0                |\n| 5.5         | ^2.0                |\n| 5.6         | ^3.0                |\n| 5.7         | ^4.0                |\n| 5.8         | ^5.0                |\n| 6.0         | ^6.0                |\n| 7.0         | ^7.0                |\n| 8.0         | ^8.0                |\n| 9.0         | ^9.0                |\n| 10.0        | ^10.0               |\n| 11.0        | ^11.0               |\n| 12.0        | ^12.0               |\n| 13.0        | ^13.0               |\n\n`nwidart\u002Flaravel-modules` is a Laravel package created to manage your large Laravel app using modules. A Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 11.\n\nThis package is a re-published, re-organised and maintained version of [pingpong\u002Fmodules](https:\u002F\u002Fgithub.com\u002Fpingpong-labs\u002Fmodules), which isn't maintained anymore.\n\nWith one big bonus that the original package didn't have: **tests**.\n\n## Install\n\nTo install via Composer, run:\n\n``` bash\ncomposer require nwidart\u002Flaravel-modules\n```\n\nThe package will automatically register a service provider and alias.\n\nOptionally, publish the package's configuration file by running:\n\n``` bash\nphp artisan vendor:publish --provider=\"Nwidart\\Modules\\LaravelModulesServiceProvider\"\n```\n\n### Autoloading\n\n> from v11.0 autoloading `\"Modules\\\\\": \"modules\u002F\",` is no longer required, and should be removed from your composer.json if present.\n\nBy default, the module classes are not loaded automatically. You can autoload your modules by adding merge-plugin to the extra section:\n\n```json\n\"extra\": {\n    \"laravel\": {\n        \"dont-discover\": []\n    },\n    \"merge-plugin\": {\n        \"include\": [\n            \"Modules\u002F*\u002Fcomposer.json\"\n        ]\n    }\n},\n```\n\n**Important**\n\non the first installation you will be asked:\n\n```bash\nDo you trust \"wikimedia\u002Fcomposer-merge-plugin\" to execute code and wish to enable it now? (writes \"allow-plugins\" to composer.json) [y,n,d,?]\n```\n\nAnswer `y` to allow the plugin to be executed. Otherwise, you will need to manually enable the following to your composer.json:\n\n```json\n\"config\": {\n    \"allow-plugins\": {\n        \"wikimedia\u002Fcomposer-merge-plugin\": true\n    }\n```\n\n> if `\"wikimedia\u002Fcomposer-merge-plugin\": false` modules will not be autoloaded.\n\n**Tip: don't forget to run `composer dump-autoload` afterwards**\n\n## Documentation\n\nYou'll find installation instructions and full documentation on [https:\u002F\u002Flaravelmodules.com\u002F](https:\u002F\u002Flaravelmodules.com\u002Fdocs).\n\n## Community\n\nWe also have a Discord community. [https:\u002F\u002Fdiscord.gg\u002FhkF7BRvRZK](https:\u002F\u002Fdiscord.gg\u002FhkF7BRvRZK) For quick help, ask questions in the appropriate channel.\n\n## Credits\n\n- [Nicolas Widart](https:\u002F\u002Fgithub.com\u002Fnwidart)\n- [David Carr](https:\u002F\u002Fgithub.com\u002Fdcblogdev)\n- [gravitano](https:\u002F\u002Fgithub.com\u002Fgravitano)\n- [All Contributors](..\u002F..\u002Fcontributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","`nWidart\u002Flaravel-modules` 是一个用于在 Laravel 应用中实现模块化管理的 PHP 包。它允许开发者将大型应用拆分为多个小模块，每个模块可以包含视图、控制器和模型等组件，从而提高代码的可维护性和扩展性。该包支持从 Laravel 5.4 到最新的 11 版本，并且通过了全面测试。此外，相比其前身 `pingpong\u002Fmodules`，此版本增加了单元测试的支持。适用于需要对复杂应用进行结构优化、希望采用模块化开发方式以增强团队协作效率以及便于后期维护升级的场景。",2,"2026-06-11 03:17:16","top_language"]