iinmass / laravel-package-checker
A powerful tool for managing package dependencies in Laravel projects. Get insights into package versions, installation status, and sizes.
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.0
- illuminate/support: ^9.0|^10.0
- laravel/framework: 9.*|10.*
Requires (Dev)
- phpunit/phpunit: ^9.0
- vimeo/psalm: ^4.30
README
Features
Retrieves a list of packages required in your project's composer.json file. Displays the current version, latest version, installation status, and size for each package. Offers a treemap visualization of the vendor directory, showing the size distribution of packages. Helps optimize project dependencies by highlighting large packages. Easy installation and seamless integration with your existing project.
Description
Package Checker is a powerful tool that provides insights into the packages used in your project. It helps you manage your project's dependencies, keeping you informed about the current and latest versions of each package, their installation status, and their sizes. The package also offers a treemap visualization that displays the size distribution of packages within your vendor directory, allowing you to identify large packages that might require optimization.
Installation
The Laravel Package Checker can be easily installed via Composer. Run the following command in your terminal:
composer require iinmass/laravel-package-checker
After the installation is complete, the package will be ready to use in your Laravel project.
Usage
To access the Package Checker, navigate to the following URL in your web browser: http://your-app-url/package-checker/list
.
This page provides a comprehensive overview of your Laravel project's packages, including the required packages from composer.json, their versions, installation status, and sizes as well as the tree of all the packages and their dependencies.
Configuration
The Laravel Package Checker requires no additional configuration. It seamlessly integrates with your Laravel project and retrieves the necessary information from the composer.json file and vendor directory.
Alternatively, you can publish the package's configuration file and customize it to suit your needs by running the following command in your terminal:
php artisan vendor:publish --tag=package-checker-config
Contributing
Contributions to the Laravel Package Checker are welcome! If you would like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix.
- Make the necessary modifications.
- Commit your changes.
- Push the branch to your fork.
- Submit a pull request. Please ensure that your code adheres to the project's coding standards and includes appropriate tests.
License
The Laravel Package Checker is open-source software licensed under the MIT license.
Credits
The Laravel Package Checker is developed and maintained by inmass
Support
If you encounter any issues or have any questions, please create a new issue on the issue tracker. I will be happy to assist you.