How to check carbon version in Laravel?

Updated at 26-Aug-2022, By samar

How to check carbon version in Laravel?

In this session, we’ll try our hand at solving the "How to check carbon version in Laravel?" puzzle by using the computer language.

You can check the carbon version using composer command. You have to open your window terminal and move to the project directory in which you are working and run `composer show nesbot/carbon` command to get the version of carbon in Laravel.
  • Check carbon version using command

    composer show nesbot/carbon
    

    Output

    name     : nesbot/carbon
    descrip. : An API extension for DateTime that supports 281 different languages.
    keywords : date, datetime, time
    versions : * 2.61.0
    

Back to code snippet queries related laravel