Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 28, 2024 via composer

fig/link-util 1.2.0

Common utility implementations for HTTP links
Package summary
Share
0
issues
1
license
2
MIT
Package created
6 Aug 2016
Version published
11 Mar 2021
Maintainers
2
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

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
2 Packages, Including:
fig/link-util@1.2.0
psr/link@2.0.1
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

1
All Dependencies CSV
β“˜ This is a list of fig/link-util 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
psr/link2.0.15.66 kBMIT
prod

Visualizations

Frequently Asked Questions

What does fig/link-util do?

fig/link-util is a common utility PHP package that is primarily designed to aid with the implementation of PSR-13 (PHP standard recommendation). This package does not offer a complete PSR-13 implementation but it equips developers with a set of utilities that could streamline the process of writing other implementations.

How do you use fig/link-util?

fig/link-util can be used by integrating it into your PHP projects through Composer, a package manager used for the PHP programming language. Here is how you can get started:

  1. Install the package with Composer. If you don't have Composer, first install it and then run this command in your terminal:

    composer require php-fig/link-util
    
  2. Once installed, you can use the utilities provided by the package in your PHP files. For example, to use the Link class:

    <?php
    use Fig\Link\Link
    
    $link = new Link('payment', 'http://example.com');
    

This is a very basic example. The actual usage would depend on your specific project requirements. Also, remember to read about PSR-13 to understand better how to use this and other similar utilities.

Where are the fig/link-util docs?

The primary source of documentation for fig/link-util is found on the official PHP-FIG website, specifically under the PSR-13 section. This package is intended for developers who are implementing PSR-13, so referring to that PSR would be crucial. Further usage examples, tutorials or API references may not be available as this package is more of a utility kit helping with PSR-13 implementation rather than a fully-fledged library or framework. Although, you could also refer to the package's GitHub page https://github.com/php-fig/link-util.git for more information or to raise issues and feature requests.