PHP code example of avto-dev / dev-tools
1. Go to this page and download the library: Download avto-dev/dev-tools 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/ */
avto-dev / dev-tools example snippets
class MyBootstrap extends \AvtoDev\DevTools\Tests\Bootstrap\AbstractLaravelTestsBootstrapper
{
use AvtoDev\DevTools\Tests\PHPUnit\Traits\CreatesApplicationTrait;
public function bootPrepareDatabase()
{
$this->app->make(Illuminate\Contracts\Console\Kernel::class)->call('migrate:refresh');
}
}
class MyBootstrap extends \AvtoDev\DevTools\Tests\Bootstrap\AbstractTestsBootstrapper
{
public function bootMakeSome()
{
// Put your code here
}
public function bootMakeSomethingElse()
{
// Put your code here
}
}