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
void | __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
void __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.
protected array getManifest()
Get the current package manifest.
void build()
Build the manifest and write it to disk.
protected string format(string $package)
Format the given package name.
protected array packagesToIgnore()
Get all of the package names that should be ignored.
protected void write(array $manifest)
Write the given manifest array to disk.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/PackageManifest.html