-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from bearsunday/php84
Enable PHP 8.4 compat
- Loading branch information
Showing
12 changed files
with
36 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ jobs: | |
cs: | ||
uses: ray-di/.github/.github/workflows/coding-standards.yml@v1 | ||
with: | ||
php_version: 8.1 | ||
php_version: 8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
# BEAR.FastlyModule | ||
Fastly integration for BEAR.Sunday | ||
|
||
## Installation | ||
> There are only two hard things in Computer Science: cache invalidation and naming things. | ||
> | ||
> – Phil Karlton | ||
composer install | ||
Fastly CDN integration module for BEAR.Sunday | ||
|
||
## Available Commands | ||
## Example | ||
|
||
composer test // Run unit test | ||
composer tests // Test and quality checks | ||
composer cs-fix // Fix the coding style | ||
composer sa // Run static analysis tools | ||
composer run-script --list // List all commands | ||
```php | ||
use BEAR\FastlyModule\FastlyEnableSoftPurgeModule; | ||
use BEAR\FastlyModule\FastlyPurgeModule; | ||
|
||
// Set API key and service ID | ||
$this->install(new FastlyPurgeModule( | ||
$fastlyApiKey, | ||
$fastlyServiceId | ||
)); | ||
|
||
// Enable soft purge | ||
$this->install(new FastlyEnableSoftPurgeModule()); | ||
``` | ||
See more at https://bearsunday.github.io/manuals/1.0/ja/cache.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters