PackageManifest
class PackageManifest (View source)
Properties
Filesystem | $files | The filesystem instance. |
|
string | $basePath | The base path. |
|
string | $vendorPath | The vendor path. |
|
string|null | $manifestPath | The manifest path. |
|
array | $manifest | The loaded manifest array. |
Methods
__construct(Filesystem $files, string $basePath, string $manifestPath)
Create a new package manifest instance.
array
providers()
Get all of the service provider class names for all packages.
array
aliases()
Get all of the aliases for all packages.
array
config(string $key)
Get all of the values for all packages for the given configuration name.
array
getManifest()
Get the current package manifest.
void
build()
Build the manifest and write it to disk.
string
format(string $package)
Format the given package name.
array
packagesToIgnore()
Get all of the package names that should be ignored.
void
write(array $manifest)
Write the given manifest array to disk.
Details
__construct(Filesystem $files, string $basePath, string $manifestPath)
Create a new package manifest instance.