PHP Package: spatie/laravel-package-tools

Spatie's Laravel Package Tools is a comprehensive set of utilities tailored for Laravel developers, enabling easier package management and development.

Current Version: 1.92.7
Last Updated: 2025-07-17
PHP Requirement: ^8.0
Dependencies:
spatie/laravel-partialcache
illuminate/support
symfony/console
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Spatie's Laravel Package Tools is designed to enhance the Laravel developer experience by providing a suite of utilities for effortless package creation, management, and deployment. With a focus on efficiency and flexibility, this library streamlines the process of building and maintaining Laravel packages, empowering developers to create robust solutions with ease.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.92.7

Download Download v1.92.7

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-package-tools/1.92.7/loader.php';
require_once 'libs/spatie/laravel-partialcache/1.3.0/loader.php';
require_once 'libs/illuminate/support/12.33.0/loader.php';
require_once 'libs/symfony/console/7.3.4/loader.php';

use Spatie\LaravelPackageTools\Tests\PackageTest;
use Illuminate\Support\Testing\TestCase;
use Symfony\Component\Console\Tester\CommandTester;

$obj = new PackageTest();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.