All Projects → TypistTech → sunny

TypistTech / sunny

Licence: GPL-2.0 license
Automatically purge Cloudflare cache, including cache everything rules.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to sunny

DigiPass
DigiPass (Paywall) WordPress plugin
Stars: ✭ 11 (-68.57%)
Mutual labels:  wordpress-plugin
cloudflare-ddns-updater
Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP! Written in pure BASH~
Stars: ✭ 434 (+1140%)
Mutual labels:  cloudflare
telegram-bot-api-worker
Take an alternate route to Telegram Bot API :)
Stars: ✭ 75 (+114.29%)
Mutual labels:  cloudflare
ozh-tweet-archiver
Ozh' Tweet Archiver - Import and archive your tweets in WordPress
Stars: ✭ 29 (-17.14%)
Mutual labels:  wordpress-plugin
ubnt-cloudflared
Install Cloudflare's DNS proxy on UBNT gateways
Stars: ✭ 22 (-37.14%)
Mutual labels:  cloudflare
natural
Fastest Framework for NodeJS. Written in pure ES6+
Stars: ✭ 30 (-14.29%)
Mutual labels:  cloudflare
dudestack
A toolkit for creating a new professional WordPress project with deployments. Originally based on Roots/bedrock.
Stars: ✭ 82 (+134.29%)
Mutual labels:  wordpress-plugin
wemail
Send Affordable Bulk Email Campaign Through WordPress
Stars: ✭ 19 (-45.71%)
Mutual labels:  wordpress-plugin
wordpress-importer
The WordPress Importer
Stars: ✭ 61 (+74.29%)
Mutual labels:  wordpress-plugin
WP-SVG-Icons-WordPress-Plugin
WPIcons Plugin (Formally WP SVG Icons) - Quickly and easily install font icons and custom SVG icons on any WordPress site.
Stars: ✭ 18 (-48.57%)
Mutual labels:  wordpress-plugin
WordPress-Starter-Plugin
A well documented starter plugin for quick WordPress plugin development.
Stars: ✭ 21 (-40%)
Mutual labels:  wordpress-plugin
FlareSolverrSharp
FlareSolverr .Net / Proxy server to bypass Cloudflare protection
Stars: ✭ 62 (+77.14%)
Mutual labels:  cloudflare
swiftype-wordpress
Elastic Site Search (Swiftype) Wordpress Plugin for full-text search
Stars: ✭ 26 (-25.71%)
Mutual labels:  wordpress-plugin
color-palette-generator
This WordPress plugin allows you to generate & show color palettes for all your images in your Media Library.
Stars: ✭ 19 (-45.71%)
Mutual labels:  wordpress-plugin
acf-field-boilerplate
Modernized PSR-2 boilerplate for creating custom fields for ACF5.
Stars: ✭ 54 (+54.29%)
Mutual labels:  wordpress-plugin
wp-team-list
👨‍👩‍👧‍👧 A WordPress plugin to display your teammates (users) anywhere on your WordPress site.
Stars: ✭ 15 (-57.14%)
Mutual labels:  wordpress-plugin
404-to-301
Manage 404 errors on your WordPress site and redirect them to any pages using 301 redirect for SEO
Stars: ✭ 11 (-68.57%)
Mutual labels:  wordpress-plugin
wp-cloud-deploy
WPCloudDeploy is a WordPress plugin that allows you to easily deploy and manage your own dedicated high-performance WordPress servers and sites at any cloud server provider.
Stars: ✭ 28 (-20%)
Mutual labels:  wordpress-plugin
bu-versions
Make and save edits to published posts/pages in WordPress without immediately replacing the public content.
Stars: ✭ 20 (-42.86%)
Mutual labels:  wordpress-plugin
index-autoload
Adds an index to the autoload in wp_options table and verifies it exists on a daily basis (using WP Cron), resulting in a more efficient database.
Stars: ✭ 18 (-48.57%)
Mutual labels:  wordpress-plugin

Sunny

WordPress plugin WordPress WordPress rating WordPress Build Status codecov Scrutinizer Code Quality PHP Versions Tested StyleCI Dependency Status License Donate via PayPal Hire Typist Tech

Automatically purge Cloudflare cache, including cache everything rules.

This repository is a development version of Sunny intended to facilitate communication with developers. It is not stable and not intended for installation on production sites.

Bug reports and pull requests are welcome.

If you are not a developer or you'd like to receive the stable release version and automatic updates, install it via WordPress.org instead.

Installation Instructions

If you are not a developer or you'd like to receive the stable release version and automatic updates, install it via WordPress.org instead.

The master branch is not installable. Use the nightly branch instead. See branches.

Via Manually Upload

  1. Download the built archive from nightly branch

  2. Unzip it

  3. Upload it to wp-content/plugins/

  4. Go to the WordPress plugin menu and activate it

Via WP CLI

  1. $ wp plugin install https://github.com/TypistTech/sunny/archive/nightly.zip --activate

Developing

Before start hacking, you need both composer and yarn installed. See:

To setup a developer workable version you should run these commands:

$ composer create-project --keep-vcs --no-install typisttech/sunny:dev-master
$ cd sunny
$ composer install

Build from Source

This command build the plugin into release/sunny.zip.

$ composer build

Note: You need both composer and yarn installed.

Extending Sunny

Targets and Post related urls are filterable by StrategyInterface, sunny_targets and sunny_post_related_urls. See examples on Sunny Purge Extra URLs Example.

Under the hood, Sunny uses WP Contained Hook and league/container. Sunny exposes its container via WordPress actions sunny_register and sunny_boot in Laravel style.

Within the sunny_register action, you should only bind things into the container. You should never attempt to register any hooks, actions, filters or any other piece of functionality within sunny_register action. Otherwise, you may accidentally use an instance which has not been loaded yet.

The sunny_boot action is called after this plugin and all its addons have been registered, meaning you have access to all instance that have been registered by this plugin and its addons.

Branches

Master

The master branch is the main branch where the source code of HEAD always reflects a state with the latest delivered development changes for the next release. This is where the nightly branch is built from. Since we built this plugin with composer and grunt, this branch is not installable.

Nightly

The nightly branch is built by TravisCI whenever the master branch is updated. Anything in the nightly branch is installable. See installation instructions.

Support!

Donate via PayPal Donate via PayPal

Love Sunny? Help me maintain Sunny, a donation here can help with it.

Why don't you hire me?

Ready to take freelance WordPress jobs. Contact me via the contact form here or, via email [email protected]

Want to help in other way? Want to be a sponsor?

Contact: Tang Rufus

Running the Tests

Sunny run tests on Codeception and relies wp-browser to provide WordPress integration. Before testing, you have to install WordPress locally and add *.suite.yml files.

See *.suite.example.yml for a Varying Vagrant Vagrants configuration example.

Actually run the tests:

$ composer test

We also test all PHP files against PSR-2: Coding Style Guide and part of the WordPress coding standard.

Check the code style with $ composer check-style and fix it with $ composer fix-style.

Feedback

Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.

Change log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Credits

Sunny is a Typist Tech project and maintained by Tang Rufus, freelance developer for hire.

Full list of contributors can be found here.

License

Sunny is licensed under the GPLv2 (or later) from the Free Software Foundation. Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].