micayael/php-extras

Funciones extras sobre el core de php

1.0.5 2018-07-27 17:27 UTC

This package is auto-updated.

Last update: 2024-10-25 20:31:19 UTC


README

Build Status PHP Version Downloads License Packagist

Array Functions and Static Methods

  • array_filter_recursive: ArrayFunctions::ArrayFilterRecursive

Date Functions and Static Methods

  • getSanitizedDate: DateFunctions::getSanitizedDate
  • getSanitizedTime: DateFunctions::getSanitizedTime
  • getSanitizedDateTime: DateFunctions::getSanitizedDateTime
  • getNextEndOfMonth: DateFunctions::getNextEndOfMonth
  • getNextEndOfMonth: DateFunctions::getNextEndOfMonth, DateFunctions::getNextEndOfMonthQuiet
  • getNextSaturday: DateFunctions::getNextSaturday
  • getEndOfYear: DateFunctions::getEndOfYear
  • getRemainingDays: DateFunctions::getRemainingDays, DateFunctions::getRemainingDaysQuiet
  • isFutureDate: DateFunctions::isFutureDate, DateFunctions::isFutureDateQuiet
  • isPastDate: DateFunctions::isPastDate, DateFunctions::isPastDateQuiet

Html Functions and Static Methods

  • createTable: HtmlFunctions::createTable
  • nl2p: HtmlFunctions::nl2p

String Functions and Static Methods

  • highlight: StringFunctions::highlight
  • lipsum: StringFunctions::lipsum
  • slugify: StringFunctions::slugify
  • sanitizeFilename: StringFunctions::sanitizeFilename
  • hideEmail: StringFunctions::hideEmail, StringFunctions::hideEmailQuiet
  • stringFormat: StringFunctions::stringFormat
  • formatUrl: StringFunctions::formatUrl

Unit Tests

vendor/bin/simple-phpunit