generated from spatie/package-skeleton-laravel
-
-
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.
- Loading branch information
1 parent
b3bce7f
commit 6026570
Showing
28 changed files
with
301 additions
and
573 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 |
---|---|---|
@@ -1 +1 @@ | ||
github: :vendor_name | ||
github: Elegantly |
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,11 +1,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/:vendor_name/:package_name/discussions/new?category=q-a | ||
url: https://github.com/Elegantly/laravel-cookies-consent/discussions/new?category=q-a | ||
about: Ask the community for help | ||
- name: Request a feature | ||
url: https://github.com/:vendor_name/:package_name/discussions/new?category=ideas | ||
url: https://github.com/Elegantly/laravel-cookies-consent/discussions/new?category=ideas | ||
about: Share ideas for new features | ||
- name: Report a security issue | ||
url: https://github.com/:vendor_name/:package_name/security/policy | ||
url: https://github.com/Elegantly/laravel-cookies-consent/security/policy | ||
about: Learn how to notify us for sensitive bugs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Changelog | ||
|
||
All notable changes to `:package_name` will be documented in this file. | ||
All notable changes to `laravel-cookies-consent` will be documented in this file. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Str; | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| URL configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| These values determine the package's API route URLs. Both values are | ||
| nullable and represent the same concepts as Laravel's routing parameters. | ||
| | ||
*/ | ||
|
||
'url' => [ | ||
'domain' => null, | ||
'prefix' => 'cookiesconsent', | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Consent cookie configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| In order to keep track of the user's preferences, this package stores | ||
| an anonymized cookie. You do not need to register this cookie in the | ||
| package's cookie manager as it is done automatically (under "essentials"). | ||
| | ||
| The duration parameter represents the cookie's lifetime in minutes. | ||
| | ||
| The domain parameter, when defined, determines the cookie's activity domain. | ||
| For multiple sub-domains, prefix your domain with "." (eg: ".mydomain.com"). | ||
| | ||
*/ | ||
|
||
'cookie' => [ | ||
'name' => Str::slug(env('APP_NAME', 'laravel'), '_').'_cookiesconsent', | ||
'lifetime' => 60 * 24 * 365, | ||
'domain' => null, | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Legal page configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Most cookie notices display a link to a dedicated page explaining | ||
| the extended cookies usage policy. If your application has such a page | ||
| you can add its route name here. | ||
| | ||
*/ | ||
|
||
'policy' => null, | ||
|
||
]; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.