danpalmieri/laravel-custom-domains

A package to connect the Cloudflare custom domain service to a Laravel application.

dev-main 2023-07-03 11:20 UTC

README

A package to connect the Cloudflare custom domain service to a Laravel application.

Installation

You can install the package via composer:

composer require danpalmieri/laravel-custom-domains

You can publish and run the migrations with:

php artisan vendor:publish --tag="custom-domains-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="custom-domains-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="custom-domains-views"

Usage

$variable = new VendorName\Skeleton();
echo $variable->echoPhrase('Hello, VendorName!');

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.