Skip to content

A Laravel Nova card for Cloudflare

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

skore/nova-cloudflare-card

 
 

Repository files navigation

Laravel Nova Cloudflare Card

Latest Version on Packagist Total Downloads

Purge your Cloudflare's cache in two clicks from a Laravel Nova dashboard card.

nova-cloudflare-card

Installation

You can install the package in to a Laravel app that uses Laravel Nova via composer:

composer require zoxta/nova-cloudflare-card

Once the package is installed, you need to add the card to your NovaServiceProvider.php file:

// in app/Providers/NovaServiceProvder.php

// ...

public function cards()
{
    return [
        // ...
        new \Zoxta\NovaCloudflareCard\NovaCloudflareCard(),
    ];
}

Config

You need to add your Cloudflare's credentials to config/services.php file as shown:

    'cloudflare' => [
        'email'   => env('CLOUDFLARE_EMAIL', ''), # your cloudflare email
        'key'     => env('CLOUDFLARE_KEY', ''), # your cloudflare api key, from https://dash.cloudflare.com/profile
        'zone_id' => env('CLOUDFLARE_ZONE_ID', ''), # your domain's zone id, from the domain overview page
    ],

nova-cloudflare-card-config

Usage

A new card will appear on your dashboard giving you the option to purge your Cloudflare's cache in two clicks whenever you need.

Credits

License

This card is released under the MIT License (MIT). Please see the included license file for more information.

About

A Laravel Nova card for Cloudflare

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 56.5%
  • PHP 39.8%
  • JavaScript 3.7%