Skip to content

Instantly share code, notes, and snippets.

View sujancse's full-sized avatar
🎯
Focused on core programming

Sujan Mahmud sujancse

🎯
Focused on core programming
  • Dhaka, Bangladesh
View GitHub Profile
@sujancse
sujancse / generator.php
Created September 22, 2020 08:29 — forked from tawfekov/generator.php
Doctrine2 Generate Entities form Existing Database
<?php
include '../vendor/autoload.php';
$classLoader = new \Doctrine\Common\ClassLoader('Entities', __DIR__);
$classLoader->register();
$classLoader = new \Doctrine\Common\ClassLoader('Proxies', __DIR__);
$classLoader->register();
// config
$config = new \Doctrine\ORM\Configuration();
@sujancse
sujancse / Excel.php
Created January 22, 2020 11:17 — forked from ihumanable/Excel.php
Simple Excel Writer in PHP
<?php
/**
* Simple excel writer class with no external dependencies, drop it in and have fun
* @author Matt Nowack
* @link https://gist.github.com/ihumanable/929039/edit
* @license Unlicensed
* @version 1.0
*/
class Excel {
@sujancse
sujancse / README.md
Created September 4, 2019 15:04 — forked from joyrexus/README.md
Map your current location