Download the PHP package bangaping27/component-counter without Composer
On this page you can find all versions of the php package bangaping27/component-counter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bangaping27/component-counter
More information about bangaping27/component-counter
Files in bangaping27/component-counter
Package component-counter
Short Description A Laravel package to count routes, controllers, views, models, migrations, and seeders.
License MIT
Homepage https://github.com/bangaping27/component-counter
Informations about the package component-counter
Component Counter
A Laravel package to count the number of routes, controllers, views, models, migrations, and seeders in your Laravel application.
Installation
You can install the package via Composer. Run the following command in your Laravel project directory:
Usage
Once the package is installed, you can use the 'count:components' command to get a summary of various components in your Laravel application.
Running the Command
To count the number of routes, controllers, views, models, migrations, and seeders, use the following Artisan command:
Output
The command will display a neatly formatted report with the following details:
- Total Controllers: The number of controller files in app/Http/Controllers.
- Total Views: The number of view files in resources/views.
- Total Models: The number of model files in app/Models.
- Total Migrations: The number of migration files in database/migrations.
- Total Seeders: The number of seeder files in database/seeders.
- Total Routes: The number of registered routes
The output will look like this:
![alt text](<WhatsApp Image 2024-08-07 at 10.27.35_0ccf8ac9.jpg>)
License
This package is licensed under the MIT License.
Contributing
If you would like to contribute to this package, please follow the standard GitHub workflow:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Create a new Pull Request.
-
Contact
For any questions or suggestions, please contact [email protected]
Penjelasan:
- Installation: Menjelaskan bagaimana menginstal package.
- Usage: Menjelaskan cara menggunakan perintah yang disediakan oleh package.
- License: Menyediakan informasi tentang lisensi package.
- Contributing: Memberikan petunjuk tentang bagaimana orang lain bisa berkontribusi pada package.
- Contact: Informasi kontak untuk pertanyaan atau saran.