Skip to content

Instantly share code, notes, and snippets.

View olasesi's full-sized avatar

Ahmed Olusesi olasesi

  • Nigeria
View GitHub Profile
@olasesi
olasesi / Dockerfile
Created June 24, 2023 18:38 — forked from ChewySalmon/Dockerfile
Laravel development Docker setup using PHP 8+, Apache, MySql 8+, PhpMyAdmin and Mailhog. Includes relevant application Dockerfile and the Compose file. [GD edition]
FROM php:8.0-apache
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg-dev \
libpng-dev \
libwebp-dev \
--no-install-recommends \
&& docker-php-ext-enable opcache \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
@olasesi
olasesi / MysqlDb.php
Created February 25, 2022 01:15 — forked from weishuaiwang/MysqlDb.php
PHP Mysql Database Class
<?php
class MysqlDB {
protected $_mysql;
protected $_where = array();
protected $_query;
protected $_paramTypeList;
protected $_crudType = null;