PHP code example of depotwarehouse / toolbox
1. Go to this page and download the library: Download depotwarehouse/toolbox 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/ */
depotwarehouse / toolbox example snippets
class MyActiveRepository extends ActiveRepositoryAbstract
{
public function __construct(\Illuminate\Database\Eloquent\Model $model, \Depotwarehouse\Toolbox\Validation\NullValidator $validator)
{
$this->model = $model;
$this->validator = $validator;
}
}
Depotwarehouse\Toolbox\FrameworkIntegration\Laravel\ErrorPartialServiceProvider::class
@
php artisan vendor:publish