PHP code example of iviphp / contracts

1. Go to this page and download the library: Download iviphp/contracts library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

iviphp / contracts example snippets




declare(strict_types=1);

use Ivi\Contracts\ServiceProviderInterface;

final class AppServiceProvider implements ServiceProviderInterface
{
    public function register(): void
    {
        // Register services, bindings, factories, or configuration.
    }

    public function boot(): void
    {
        // Boot services after all providers have been registered.
    }
}