Skip to content

Instantly share code, notes, and snippets.

View amansheaven's full-sized avatar
🎯
Focusing

Aman Singh amansheaven

🎯
Focusing
  • Airbus
  • Gurgaon
View GitHub Profile
@amansheaven
amansheaven / UserComponent.php
Created June 17, 2020 20:49
Cakephp-Minio Db update component
<?php
namespace App\Controller\Component;
use Cake\Controller\Component;
use Cake\ORM\TableRegistry;
use Aws\S3\S3Client;
use Aws\Exception\AwsException;
use Cake\Core\Exception\Exception;
require 'vendor/autoload.php';