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

pear/pear-core-minimal v1.10.14

Minimal set of PEAR core files to be used as composer dependency
Package summary
Share
0
issues
0
licenses
Package created
10 Feb 2015
Version published
26 Nov 2023
Maintainers
3
Total deps
0
Direct deps
0
License
BSD-3-Clause
Generating a report...
Hold on while we generate a fresh audit report for this package.

Frequently Asked Questions

What does pear/pear-core-minimal do?

The pear/pear-core-minimal is a Composer package that serves as a minimal set of the PEAR core files often utilized in PEAR packages. This lightweight version of the PEAR core follows the pear-core repository and receives updates whenever a new PEAR version is released. By introducing a subset of crucial elements, this package is designed to function efficiently as a Composer package dependency.

How do you use pear/pear-core-minimal?

To utilize pear/pear-core-minimal, you first need to incorporate it as a dependency in your Composer package. This can be done through the Composer command line interface. For example, you can run:

composer require pear/pear-core-minimal

Following the installation, you'll often find that these core files: OS/Guess.php, PEAR.php, PEAR/Error.php, PEAR/ErrorStack.php, and System.php will make up part of your development toolset. Note that PEAR/Error.php is just a dummy file that includes PEAR.php to ensure uninterrupted functioning of autoloaders.

Therefore, you can now use the PEAR functionality or any other class from the core minimal set like this:

require 'vendor/autoload.php';

use PEAR;

// now you can use PEAR methods
PEAR::someMethod();

Where are the pear/pear-core-minimal docs?

The core documentation for pear/pear-core-minimal can be found in its GitHub repository at https://github.com/pear/pear-core-minimal.git. Here, you can access detailed information about the package including its unique functionalities and the updates that follow each new PEAR version release. However, since this is a minimal set, it takes reference from the main pear-core repository, which might provide deeper insight into how the full core works. Ensure to check the README file in the aforementioned repository for basic info and usage. For more detailed usage, refer to the PEAR documentation at http://pear.php.net/manual/.