Search by

coolpie / util

coolpie

PHP utility classes made by yours truly

v0.1.0 2026-11-12 19:47 UTC

This package is not auto-updated.

Last update: 2026-11-13 18:12:51 UTC


README

Selected of PHP utility classes handmade from 10+ years of experience.

  • Date Time manipulation, timezone conversion
  • String utility

Requirements

PHP 7.2 and later.

Composer

composer require coolpie/util

Example - Coolpie Date

<?php
require_once(__DIR__ . '/vendor/autoload.php');

use Coolpie\Util\Date;

$dt = CDate::create()->fromLiteral("2026-11-12 11:22:33");
$dt->addHour(7);
echo $dt->toLiteral();