archphp/doraemon

a robotic cat who provides lots of magic tools for PHP developers

0.2.4 2019-02-09 17:58 UTC

This package is auto-updated.

Last update: 2024-04-10 05:30:03 UTC


README

  • Apparently, Doraemon is the robotic cat, who has lots of magic tools.
  • The PHP community needs such a cat desperately.
  • We hope our peer PHP developers would enjoy the tools this cat provides.

Getting Started

requires

  • php: >=7.0.0

Installation

 composer require archphp/doraemon

Usage

use ArchPHP\Doraemon\Basics\ArrayHelper;

$myArr = [ 
    NULL,
    false,
    0,
    "hello" => "",
    "world" => "world", 
    "", 
    []
];

print_r( ArrayHelper::compact($myArr) );