Popular PHP library for working with dates and times The 100th post on PHP. Wow. Okay, enough patting myself on the back. Let’s get to Carbon. What is Carbon? Remember when we covered the DateTime object? It was post 98. Well, Carbon is a PHP dependency that extends the DateTime class. It has a lot more simplified interface and is extremely simple to use. https://blog.devgenius.io/php-p98-datetime-object-1191e4b457c1 https://blog.devgenius.io/php-p99-dependency-management-intro-fe42877964d4 Installing the Carbon Dependency Before you can install Carbon, you’ll need to make sure that you have composer installed. Composer is a dependency manager and was the topic of the last article. Once you have composer installed, run the following command. composer require nesbot/carbon