2017 © Pedro Peláez
 

library utilus

Camilo3rd's PHP Utils Library

image

camilord/utilus

Camilo3rd's PHP Utils Library

  • Friday, July 27, 2018
  • by camilo3rd
  • Repository
  • 0 Watchers
  • 0 Stars
  • 893 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 11 Versions
  • 191 % Grown

The README.md

camilord/utilus

Camilo3rd's PHP Utils Library, (*1)

codecov, (*2)

Installing the library

{
    "require": {
        "camilord/utilus": "^1.0"
    }
}

or, (*3)

composer require camilord/utilus

Usage

This library is my collection from my various projects. It is a mini library which every time I create a project, I don't have to recreate these classes and functions, all I need to do is add this package and start my work. Few example below:, (*4)

GENERATING UUID ```$php // I need UUID echo UUID::v4();, (*5)

OUTPUT:

``b9ef0e9e-3249-31a1-a529-640a129890ac``

UPLOADING FILE
```$php
// I need to process upload file
$tmp_dir = '/tmp/junkies/';
$uploader = new FileUpload($_FILES);
$uploader->setTemporaryUploadDir($tmp_dir, true);
$fileObj = $uploader->processUpload('document_name');
echo $fileObj->getFilePath();

OUTPUT:, (*6)

/tmp/junkies/tmp_073240_03927845092742.jpg, (*7)

GET DOMAIN SSL EXPIRY DAYS LEFT $php // I need to know the number of days left for my domain SSL $sslUtil = new SSLUtil(); $url = 'https://www.abcs.co.nz'; $days = $sslUtil->getSslDaysLeft($url); if ($days === false) { echo "Error! Cannot fetch SSL information."; } else { echo $days.' days left'; } OUTPUT:, (*8)

370 days left, (*9)

The Versions

27/07 2018

dev-master

9999999-dev https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Requires

  • php >5.6

 

The Development Requires

utils util

27/07 2018

1.0.9

1.0.9.0 https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Requires

  • php >5.6

 

The Development Requires

utils util

21/06 2018

1.0.8

1.0.8.0 https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Requires

  • php >5.6

 

The Development Requires

utils util

17/06 2018

1.0.7

1.0.7.0 https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Requires

  • php 5.6.*

 

The Development Requires

utils util

14/06 2018

1.0.6

1.0.6.0 https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Development Requires

utils util

21/05 2018

1.0.5

1.0.5.0 https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Development Requires

utils util

20/05 2018

1.0.4

1.0.4.0 https://github.com/camilord/utilus

Camilo3rd's PHP Utils Library

  Sources   Download

MIT

The Development Requires

utils util

01/05 2018

1.0.3

1.0.3.0 https://github.com/camilord/utilus

Camilo3rd's PHP Util Library

  Sources   Download

MIT

utils util

24/03 2018

1.0.2

1.0.2.0 https://github.com/camilord/utilus

Camilo3rd's PHP Util Library

  Sources   Download

MIT

utils util

17/03 2018

1.0.1

1.0.1.0 https://github.com/camilord/utilus

Camilo3rd's PHP Util Library

  Sources   Download

MIT

utils util

17/03 2018

1.0.0

1.0.0.0 https://github.com/camilord/utilus

Camilo3rd's PHP Util Library

  Sources   Download

MIT

utils util