Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 16, 2024 via composer

composer/package-versions-deprecated 1.11.99.5

Composer plugin that provides efficient querying for installed package versions (no runtime IO)
Package summary
Share
0
issues
1
license
1
MIT
Package created
23 Apr 2020
Version published
17 Jan 2022
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Install Script Usage

β“˜ This section contains AI-generated explanations for this package's install scripts.

The "post-install-cmd" Script

PackageVersions\Installer::dumpVersionsClass

This script calls the dumpVersionsClass method within the Installer class of the PackageVersions. This method is usually used to generate and dump the package versions to a PHP file which can then be used in the application for package version reporting or checks. No harmful actions are apparent from the provided script alone.

The "post-update-cmd" Script

PackageVersions\Installer::dumpVersionsClass

This line of code just calls the dumpVersionsClass method from the Installer class in the PackageVersions namespace. This method is typically used to dump or output a list of installed packages with their respective versions. As given, it doesn't appear to have any inherent security vulnerabilities or do anything unsafe. It's just a single line of code that invokes a method, and there's no context suggesting that it's being used in a potentially dangerous or suspicious way.

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
composer/package-versions-deprecated@1.11.99.5
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of composer/package-versions-deprecated 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does composer/package-versions-deprecated do?

The Composer plugin "composer/package-versions-deprecated" enables efficient querying for installed package versions, without needing to perform runtime IO. This functionality is particularly useful in scenarios where developers want to verify the versions of their installed packages swiftly and efficiently. The plugin is a fully-compatible fork from ocramius/package-versions, optimized to provide compatibility with both Composer 1 and 2 on any PHP version 7 and above. Aimed at developers who prefer utilizing Composer v2 without the immediate necessity to upgrade to PHP 7.4, this plugin also substitutes ocramius/package-versions. Nevertheless, please note this composer package is end-of-life (EOL) and deprecated, indicating that it might cease receiving updates, fixes, or support in the near future. Therefore, it is highly recommended for users to transition to other available alternatives as soon as possible.

How do you use composer/package-versions-deprecated?

To use the "composer/package-versions-deprecated" plugin, you must first require the package in your project. Here is an example on how to require the package using command line:

composer require composer/package-versions-deprecated

After it's required, you can utilize the functionality throughout your project. However, if you're currently using ocramius/package-versions, you are encouraged to switch to the Composer\InstalledVersions class upon migrating to Composer 2.x. After this, you can remove the requirement for the deprecated package.

Where are the composer/package-versions-deprecated docs?

The documentation for "composer/package-versions-deprecated" is not specifically hosted at a dedicated location. However, you can gain insights about this package, including its functionality and usage guides, directly from its GitHub repository. For detailed information about Composer and classes related to this package, you can use the official Composer documentation. It is important to always adhere to best practices suggested in the documentation for optimum performance and maintainability of your codebase.