PHP Package: carbonphp/carbon-doctrine-types

Carbon Doctrine Types is a PHP library that provides custom Doctrine types for seamless integration with Carbon PHP, enhancing date and time handling in your applications.

Current Version: 2.1.0
Last Updated: 2023-12-11
PHP Requirement: ^7.4 || ^8.0
Dependencies:
doctrine/doctrine-bundle
carbonphp/carbon
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Carbon Doctrine Types is a powerful PHP library designed to simplify and optimize date and time management within your applications. With seamless integration with Carbon PHP, this library offers custom Doctrine types for effortless handling of temporal data. Enhance your projects with improved date and time functionality, streamlining database interactions and ensuring consistency in time-related operations.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.1.0

Download Download v2.1.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/carbonphp/carbon-doctrine-types/2.1.0/loader.php';
require_once 'libs/doctrine/doctrine-bundle/{lib_version}/loader.php';
require_once 'libs/carbonphp/carbon/3.10.0/loader.php';

use Carbon\Doctrine\Types\CarbonDateTimeType;

$obj = new CarbonDateTimeType();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.