1. Go to this page and download the library: Download chomenko/auto-install 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/ */
chomenko / auto-install example snippets
use Chomenko\AutoInstall\AutoInstall;
class MyService implements AutoInstall
{
}
use Chomenko\AutoInstall\AutoInstall;
class MyService implements AutoInstall
{
}
interface IMyService
{
/**
* @return MyService
*/
public function create();
}
use Chomenko\AutoInstall\Config;
use Chomenko\AutoInstall\AutoInstall;
/**
* @Config\Tag({"My.tag", "My.nextag"})
*/
class MyService implements AutoInstall
{
}
use Chomenko\AutoInstall\Config;
use Chomenko\AutoInstall\AutoInstall;
/**
* @Config\Implement("App\IMyService")
*/
class MyService implements AutoInstall
{
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.