sikuda/testlib

Test lib for PHP

2.0 2025-02-21 19:22 UTC

This package is auto-updated.

Last update: 2025-02-22 06:25:10 UTC


README

Test empty library for composer v2

1.Add library into project:

  • composer require sikuda\testlib

2.Ensure in composer.json
"require": {
"sikuda/testlib": "^2.0"
}

version 1.0 don't work

3. Make php file in project
<-?-php
declare(strict_types = 1);

namespace Sikuda\TestlibProject;
require __DIR__ . '/../vendor/autoload.php';

use Sikuda\Testlib\TestLib;

$test = new TestLib();
$test->hello();