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 30, 2024 via composer

spatie/laravel-package-tools 1.16.1

Tools for creating Laravel packages
Package summary
Share
0
issues
1
license
4
MIT
Package created
24 Jan 2021
Version published
23 Aug 2023
Maintainers
1
Total deps
4
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
4 Packages, Including:
illuminate/contracts@v10.48.10
psr/container@2.0.2
psr/simple-cache@3.0.0
spatie/laravel-package-tools@1.16.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 spatie/laravel-package-tools 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
illuminate/contractsv10.48.10-MIT
prod

Visualizations

Frequently Asked Questions

What does spatie/laravel-package-tools do?

Spatie/laravel-package-tools is a powerful PHP package designed for Laravel that simplifies the process of creating Laravel packages. It offers a PackageServiceProvider that can be utilized in the Laravel packages to register config files, migrations, views, translations, routes, and assets with ease. It also supports command registration and has lifecycle hooks for customization during the package start-up process.

How do you use spatie/laravel-package-tools?

To utilize the Spatie/laravel-package-tools, it needs to be installed via composer using composer require spatie/laravel-package-tools. Then, you can allow your service provider to extend the Spatie\LaravelPackageTools\PackageServiceProvider and use this packageServiceProvider to register various elements of your Laravel packages.

For instance, to register a config file:

use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

class YourPackageServiceProvider extends PackageServiceProvider
{
    public function configurePackage(Package $package) : void
    {
        $package->name('your-package-name')
                ->hasConfigFile();
    }
}

Moreover, the package also provides methods for registering views, migrations, commands, translations, etc.

Where are the spatie/laravel-package-tools docs?

The comprehensive documentation for spatie/laravel-package-tools is located directly on its GitHub repository at https://github.com/spatie/laravel-package-tools.git. This includes detailed instructions on installing and using the package, as well as a plethora of informative, code-complete examples on how to best utilize the provided tools within your Laravel packages.