An open API service indexing awesome lists of open source software.

https://github.com/bitfertig/laravel-carbon-function

A function for Carbon.
https://github.com/bitfertig/laravel-carbon-function

Last synced: over 1 year ago
JSON representation

A function for Carbon.

Awesome Lists containing this project

README

          

# bitfertig/laravel-carbon-function

A package for Laravel with a single function for a shorter and fast way to work with Carbon.

## Install

### Install via Packagist

...Todo...

### Install via Git-Repo

Add the following to ```composer.json```:
```json
{

"repositories": [
{
"type": "git",
"url": "https://github.com/Bitfertig/laravel-carbon-function.git"
}
],
"require": {
"bitfertig/laravel-carbon-function": "dev-main"
}

}
```

## Usage

```php
carbon('2021-02-13')->format('d.m.Y'); // 13.02.2021
```

## Author

Aurelian "dipser" Hermand