PHP code example of carbon-cli / carbon-cli
1. Go to this page and download the library: Download carbon-cli/carbon-cli library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
carbon-cli / carbon-cli example snippets
shell
./vendor/bin/carbon macro NameSpace1\\Class1 NameSpace2\\Class2 src/macro-file.php
json
{
"extra": {
"carbon": {
"macros": [
"NameSpace1\\Class1",
"NameSpace2\\Class2",
"src/macro-file.php"
]
}
}
}