-
Notifications
You must be signed in to change notification settings - Fork 37
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 #21 from dsbilling/release-1.6.0
- Loading branch information
Showing
9 changed files
with
121 additions
and
18 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "dependencies" |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: dependabot-auto-merge | ||
on: pull_request_target | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
|
||
- name: Dependabot metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v2 | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Auto-merge Dependabot PRs for semver-minor updates | ||
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}} | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Auto-merge Dependabot PRs for semver-patch updates | ||
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}} | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Release" | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: Update Changelog | ||
uses: stefanzweifel/changelog-updater-action@v1 | ||
with: | ||
latest-version: ${{ github.event.release.name }} | ||
release-notes: ${{ github.event.release.body }} | ||
|
||
- name: Commit updated CHANGELOG | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
branch: main | ||
commit_message: Update CHANGELOG | ||
file_pattern: CHANGELOG.md |
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,5 +1,14 @@ | ||
.idea | ||
.php_cs | ||
.php_cs.cache | ||
.phpunit.result.cache | ||
build | ||
composer.lock | ||
coverage | ||
docs | ||
phpunit.xml | ||
phpstan.neon | ||
testbench.yaml | ||
vendor | ||
coverage | ||
node_modules | ||
.php-cs-fixer.cache |
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 |
---|---|---|
|
@@ -25,6 +25,20 @@ composer require beyondcode/laravel-favicon | |
|
||
The service provider for this package will be automatically registered for you. | ||
|
||
### Compatibility | ||
|
||
| | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | | ||
|-------|-----|-----|-----|-----|-----|-----|-----| | ||
| 5.6.x | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| 5.7.x | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| 5.8.x | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| 6.x | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| 7.x | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| 8.x | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | | ||
| 9.x | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | | ||
| 10.x | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | | ||
| 11.x | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | | ||
|
||
## Usage | ||
|
||
To make use of this package, make use of the `favicon` helper function that this package provides. | ||
|
@@ -37,7 +51,7 @@ You can simply wrap the function around your favicon icon names, like this: | |
<link rel="shortcut icon" href="{{ favicon('favicon.ico') }}" /> | ||
``` | ||
|
||
## Customization | ||
### Customization | ||
|
||
You can completely customize which environments you want to have enabled for the favicon generation, as well as the font and colors that will be used. | ||
|
||
|
@@ -87,7 +101,7 @@ return [ | |
/* | ||
* Intervention Image supports "GD Library" and "Imagick" to process images | ||
* internally. You may choose one of them according to your PHP | ||
* configuration. By default PHP's "GD Library" implementation is used. | ||
* configuration. By default, PHP's "GD Library" implementation is used. | ||
* | ||
* If you want to convert ICO files, you need to use imagick. | ||
* | ||
|
@@ -136,23 +150,23 @@ The `shouldGenerateFavicon` method can be used to determine if a custom favicon | |
|
||
## FAQ | ||
|
||
- My ICO files are not working, why? | ||
### My ICO files are not working, why? | ||
|
||
In order to modify ICO files, you need the Imagick PHP library installed and enabled in your `config/favicon.php` file. | ||
|
||
- Is there a performance impact when I'm using this package? | ||
### Is there a performance impact when I'm using this package? | ||
|
||
No - the default generator only modifies your favicon when the specified environment is enabled. This means, that production environments only see the static assets that you already have. | ||
|
||
### Changelog | ||
## Changelog | ||
|
||
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. | ||
|
||
## Contributing | ||
|
||
Please see [CONTRIBUTING](CONTRIBUTING.md) for details. | ||
|
||
### Security | ||
## Security | ||
|
||
If you discover any security related issues, please email [email protected] instead of using the issue tracker. | ||
|
||
|
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