itsimiro/php-carbon-parse-any-format

Adds the ability to get a date object with any format.

v1 2023-03-01 14:54 UTC

This package is auto-updated.

Last update: 2024-10-29 22:40:44 UTC


README

How to install:

composer require itsimiro/php-carbon-parse-any-format 

How to use:

    $dateParser = new \Itsimiro\PhpCarbonParseAnyFormat\DateParser();

    $dateParser->parseSafety('10/08/2023')->format('Y-m-d'); // output: 2023-08-10