laravel-modules
phpinsights
laravel-modules | phpinsights | |
---|---|---|
9 | 7 | |
5,303 | 5,194 | |
- | - | |
9.6 | 5.7 | |
1 day ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-modules
-
Do you find Laravel to feel like CSS sometimes?
Oh you mean Domain Driven Design, you can do that in Laravel. I worked on plenty of projects who did it like that. You can even find packages for that, like this one https://github.com/nWidart/laravel-modules.
-
if I wanted to build a modular system, how could i add routes, menu links etc, from model view.
I recommend using this package https://github.com/nWidart/laravel-modules makes building with modules easier.
-
How do you guys manage your laravel code when it starts growing?
We recently changed our repository with using https://github.com/nwidart/laravel-modules
-
Trying to making my large app more manageable
There are a bunch of options, we started with Domain Driven Design which I like since it organizes things while still allowing for core laravel. But you need to answer some questions first like will you support/handle multi tenancy? if so, how? Do you want features like Single Sign On? And so on. No need to answer me, thats for you to answer yourself as it may impact your layout decisions. After doing some work with the Laravel modules package from nWidart (https://github.com/nWidart/laravel-modules), there are some things I really like in there as well, which I kind of wish I had used that first. We're too long in the tooth so to speak to migrate over, and I haven't answer all my questions for that, such as how that handles vue.js, it seems very blade centric and we don't use blade at all in our app. But having a Modules folder with all of the bits from controllers, models, views, etc contained is very nice. In your case I would do some research on those things and what others here have suggested. One of the hardest things no one talks about is maintaining a large app as it grows in scope and creep. Implementing strong organization up front can be a huge help.
-
Laravel 8 how to write modular app
I totally agree with this, but I’d like to mention an exception. I found using nWidart’s laravel-modules library highly useful as a utility for creating and interacting with individual modules, as well as the ability to customise the stubs that generates them.
- Laravel Modular Package
-
who worked with -> nwidart/laravel-modules?
i'm trying to edit an existing application which it's using this package and what i want is to add the SaaS module for this application and also have a dynamic subdomain that depends on the company that want to buy this product..;
-
Monolith or Microservices
For a typical Laravel application, you could leverage namespaces, service providers, autoloaders, packages, API routes to totally separate these modules. There is a package that could help with this. Check it out here: nwidart/laravel-modules.
-
Where do you put regular business logic?
If you find your project is getting truly large, you could always explore breaking the entire codebase into modules: https://github.com/nWidart/laravel-modules
phpinsights
-
Laravel code-quality tools
PHP Insights is a code quality analysis tool that checks for code quality, coding style, complexity, and architecture. Just like Pint, it's also opinionated, so you'll have to customize it to fit your needs.
- Recommended Code Review Plugin for Github?
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
PHP Insights is a static analysis tool of your code directly from your terminal. By running a single command it displays the Quality of Code, Complexity of Code, Architecture and Coding Style.
-
How to Build and Distribute Beautiful Command-Line Applications with PHP and Composer
PHP Insights
-
🍃 Termwind v1.0 Released!
https://github.com/nunomaduro/phpinsights.
-
PHP libraries and tools
PHP Insights: Instant PHP quality checks from your console
-
What dev composer packages are a must have?
But there are no similar tools. Here would be the issue, where this problem is discussed. https://github.com/nunomaduro/phpinsights/issues/445
What are some alternatives?
tenancy - Automatic multi-tenancy for Laravel. No code changes needed.
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
apiato - PHP Framework for building scalable API's on top of Laravel.
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
modular - Modularize your Laravel application
phpstan-rules - 👓 Provides a composer package with rules for phpstan/phpstan.
modular-laravel - Modular Laravel - Boilerplate project starter
laravel-ide-helper - IDE Helper for Laravel
Monica - Personal CRM. Remember everything about your friends, family and business relationships.
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
modular - A smart project structure
laravel-stats - 📈 Get insights about your Laravel or Lumen Project