I can write this in a file:
use Carbon\Carbon as Carbon;
I have tried to create a file 'aliases.php':
use Carbon\Carbon as Carbon;
which I then reference like so:
require __DIR__.'/../bootstrap/aliases.php';
printf("Right now is %s", Carbon::now()->toDateTimeString());
but that gives me the error: "Fatal error: Class 'Carbon' not found"
So how can I 'include' one file with all the pre-defined aliases?