PHP Package: illuminate/contracts

Illuminate Contracts provides a set of interfaces for Laravel framework components.

Current Version: 12.2.0
Last Updated: Date not available
PHP Requirement: >=7.1
Dependencies: illuminate/support, illuminate/container
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Illuminate Contracts is a package that defines a set of PHP interfaces for various components in the Laravel framework. By using these interfaces, developers can write code that is decoupled from specific implementations, allowing for greater flexibility and testability. The package includes interfaces for services such as caching, database, events, and more.

🔗 View on GitHub

Download Latest Version: 12.2.0

Download Download v12.2.0

Code Integration Example

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

<?php

// Example from PHPlibraries.com
require_once 'libs/illuminate/contracts/lib_version/autoload.php';

use Illuminate\Contracts\Cache\Factory;
use Illuminate\Contracts\Database\Connection;
use Illuminate\Contracts\Events\Dispatcher;


$obj = new Illuminate\Contracts\Cache\Factory();
echo "✅ Example created successfully.";

?>

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