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.
- Host: GitHub
- URL: https://github.com/bitfertig/laravel-carbon-function
- Owner: Bitfertig
- License: mit
- Created: 2021-02-13T16:31:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T08:44:16.000Z (almost 4 years ago)
- Last Synced: 2023-03-11T04:12:18.098Z (over 3 years ago)
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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