New Classifiers #231
Replies: 3 comments 2 replies
-
|
Thanks for the suggestion. I think Eloquent Builder and View Component classifiers would fit great into this package right now. I think Enums I'm not sure honestly. Kinda like the idea to see the number of Enums a project has. 🤔 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for responding!! Glad we're on the same page for Builders and Components. I'm not sure I understand the argument that
I do agree that it's broad but that doesn't feel like an argument to exclude lines of code in a project-based count, especially if people are explicitly collecting business logic in those classes (as I am). Finally, you didn't respond to the Filament question. I can understand that it's not a simple question... there's a lot of boilerplate code with Filament resources but it's also got a HUGE adoption in the wild and ignoring it seems like a miss. How are you thinking about it? You've already got a Nova Classifier and my impression is that Filament has taken over from Nova for any new projects and is working its way through legacy projects. I'll end with another thanks - I love the open source community and if I get to contribute a PR this would be my first PR in the wild. I am happy to support a community that is open to discussion and wants to do great things. It's a tiny slice of the world that we can take joy in. :) |
Beta Was this translation helpful? Give feedback.
-
|
No need to apologize!! You're right that "Services" live in lots of places and doesn't usually (ever?) extend a given class or implement an interface. On the other hand, I know first-hand that when I refactor, one of the main things I'm thinking about is what's reusable and needs to get moved into a Service class so it would be great to be able to include that in a lines-of-code count. What if there was a config option to just include custom namespaces? It could be used for Services or any other code pattern that doesn't fall into an existing Classifier. I'm thinking it would just take an array of strings to be treated as namespaces. Does that feel satisfying at all? And we're on exactly the same page with Filament. I looked at the Spatie package you linked but most of it over my head, TBH. I know enough to know that Spatie packages are generally great so my default would be to try to leverage that if possible, but I also know enough to know that "complete rewrite" doesn't sound like fun. :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Love the package but I found a few parts of my application that weren't counted. Would you consider including:
I tried my hand at writing them up and I'm happy to share if you're interested.
Thank you either way!!
Beta Was this translation helpful? Give feedback.
All reactions