Zum Inhalt springen
PHP Ecosystem
Explore

Foxy\Native

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

API reference › Foxy › Native

ClassSummary
DependencyResolver final readonlyResolves npm requirements into one version per package (flat node_modules) against an npm registry.
InstalledState final readonlyReads and writes the hidden state file of an install directory: the lock entry of every package the last successful native installation left in place, the counterpart of npm’s node_modules/.package-lock.json.
LocalPackage final readonlyRepresents a local file: package of the root manifest as the resolver selects it: a fixed version and the requirements its own manifest declares.
LockFile final readonlyReads and writes foxy.lock: the requirements fingerprint and the packages installed by the native manager.
NativeInstaller final readonlyInstalls the frontend dependencies of a package.json into a flat directory (node_modules by default) without a Node.js package manager.
NpmRange final readonlyRepresents an npm version range evaluated with npm semantics on top of Composer’s constraint engine.
NpmRegistry final readonlyProvides the npm registry access of the native manager: abbreviated metadata, integrity-verified tarballs, and bulk security advisories.
PackageMetadata final readonlyRepresents the abbreviated npm registry metadata of a package: its dist-tags and its installable versions.
PackageName final readonlyValidates the package names the native manager reads from manifests, lock files, and registry metadata.
PackageVersion final readonlyRepresents one published version of a registry package as read from the abbreviated npm metadata.
Requirement final readonlyRepresents one dependency requirement fed to the native resolver: a package name, its npm specification, and the manifest or package that declared it.
ResolvedPackage final readonlyRepresents a package chosen for installation: a registry tarball or a local file: directory.
TarballExtractor final readonlyExtracts an npm package tarball (gzip-compressed or plain tar) into a directory, stripping the first path component.
InterfaceSummary
NativeInstallerInterfaceInstalls the frontend dependencies of a manifest into a flat directory without a Node.js package manager.
NpmRegistryInterfaceProvides access to an npm registry: package metadata, verified tarballs, and security advisories.