Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to v11 #3

Closed
wants to merge 441 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
441 commits
Select commit Hold shift + click to select a range
ab797a3
[9.x] Implement secret modal (#1258)
driesvints May 8, 2020
c274e92
Update CHANGELOG.md
driesvints May 8, 2020
d9bc3fa
Match name of personal access token methods to config
May 8, 2020
ca0e683
Merge pull request #1261 from aaronhuisinga/9.x
driesvints May 8, 2020
555e02c
Allow to change Models database connection
antonkomarev May 8, 2020
610cf06
[9.x] Update UPGRADE.md (#1265)
driesvints May 11, 2020
36acc84
wording
taylorotwell May 11, 2020
7ab3bdb
formatting
taylorotwell May 11, 2020
343e3ea
Merge branch 'add-models-database-connection-config' into 9.x
taylorotwell May 11, 2020
789bfe1
Change to forceFill. Fixes #908. (#1266)
garbetjie May 12, 2020
515cc10
Nonstandard ID in the token's relationship with the user (#1267)
May 12, 2020
9f4b881
Update CHANGELOG.md
driesvints May 12, 2020
ce4c53c
Merge branch '9.x'
driesvints May 12, 2020
5a5c0cf
Set actingAsClient token client as proper relationship
May 12, 2020
b8657e3
formatting
taylorotwell May 13, 2020
bedf02c
Fix HashCommand
driesvints May 14, 2020
0931d75
Update CHANGELOG.md
driesvints May 14, 2020
e2ef985
Merge branch '9.x'
driesvints May 14, 2020
d2d157a
correct test name
May 27, 2020
80b2f7b
Merge pull request #1287 from corbosman/9.x
driesvints May 27, 2020
0c20f31
Fix typo on param doc
PanjiNamjaElf Jun 4, 2020
ab0f5be
Merge pull request #1290 from PanjiNamjaElf/9.x
driesvints Jun 4, 2020
7359e38
Cleanup tests
driesvints Jun 5, 2020
051a4ce
Merge branch '9.x'
driesvints Jun 5, 2020
c242d48
Apply fixes from StyleCI (#1291)
driesvints Jun 5, 2020
f66b981
Apply fixes from StyleCI (#1292)
driesvints Jun 5, 2020
63c8b66
Improve `passport:install` command (#1294)
baijunyao Jun 11, 2020
f984a7f
Fix maxlength for token names (#1300)
driesvints Jun 19, 2020
7ddaa0f
Update CHANGELOG.md
driesvints Jun 25, 2020
5599571
Allow guzzle v7
ankurk91 Jun 30, 2020
9c138a7
Merge pull request #1311 from ankurk91/patch/guzzle-7
driesvints Jun 30, 2020
724acae
Update CHANGELOG.md
driesvints Jun 30, 2020
4d510ee
Merge branch '9.x'
driesvints Jun 30, 2020
5654ce8
Match property sequence
driesvints Jul 6, 2020
52fc782
Update CHANGELOG.md
driesvints Jul 7, 2020
5e36561
Add index to access_token_id column
driesvints Jul 7, 2020
d440355
Merge branch '9.x'
driesvints Jul 7, 2020
f0bd801
Update tests.yml
driesvints Jul 9, 2020
98b4425
Merge pull request #1314 from laravel/driesvints-patch-1
driesvints Jul 9, 2020
248b95a
Use custom models in purge command if set (#1316)
hettiger Jul 14, 2020
f09aee5
Apply table responsive on table class (#1318)
samtarmizi Jul 16, 2020
38d9ee0
Update CHANGELOG.md
driesvints Jul 21, 2020
a3bfbb8
Merge branch '9.x'
driesvints Jul 21, 2020
de6ae4b
fix cookie handling for security release
taylorotwell Jul 27, 2020
4977c82
Apply fixes from StyleCI (#1321)
taylorotwell Jul 27, 2020
e5a91ce
Merge pull request #1322 from laravel/cookie-fixes
driesvints Jul 27, 2020
75f1ad2
Update composer.json
driesvints Jul 27, 2020
192fe38
Update CHANGELOG.md
driesvints Jul 27, 2020
7b1f73f
Merge branch '9.x'
driesvints Jul 27, 2020
fcb7654
Update CHANGELOG.md
driesvints Jul 27, 2020
995b3f2
Merge branch '9.x'
driesvints Jul 27, 2020
6d4393e
Remove old static personal client methods (#1325)
driesvints Aug 7, 2020
bc0aca3
Remove Guzzle dependency (#1327)
X-Coder264 Aug 20, 2020
7792cd6
Use newer Github actions (#1329)
X-Coder264 Aug 20, 2020
98ad679
Allow PHPUnit 9 (#1328)
X-Coder264 Aug 20, 2020
29f137a
Use only one PSR7 implementation (#1330)
X-Coder264 Aug 21, 2020
8b41a82
Merge branch '9.x' into master
driesvints Aug 25, 2020
df21a43
[10.x] Support Laravel 8 (#1336)
driesvints Aug 25, 2020
ffcb546
style: correct NBSP for regular spaces (#1339)
iBotPeaches Sep 2, 2020
e576928
[10.x] Client Credentials Feature tests (#1341)
iBotPeaches Sep 2, 2020
11d95f5
Using assertSame to make assertion equals strict (#1343)
peter279k Sep 3, 2020
c044dcf
Merge branch '9.x' into master
driesvints Sep 8, 2020
23cc8e2
Update CHANGELOG.md
driesvints Sep 8, 2020
8a84da3
wip
driesvints Sep 8, 2020
445a445
[10.x] Upgrade guide (#1345)
driesvints Sep 8, 2020
71d1a70
Update CHANGELOG.md
driesvints Sep 8, 2020
b182a80
Update CHANGELOG.md
driesvints Sep 8, 2020
ce7f5ab
update branch alias
driesvints Sep 8, 2020
7a2ce6c
[10.x] Use newFactory to properly reference factory (#1349)
driesvints Sep 14, 2020
4e53f1b
Update CHANGELOG.md
driesvints Sep 15, 2020
61de2cf
Remove Vue components (#1352)
driesvints Sep 21, 2020
6713bd1
remove unnecessary return form service provider
siarheipashkevich Oct 5, 2020
d28948c
Merge pull request #1361 from siarheipashkevich/unnecessary-return
driesvints Oct 5, 2020
ed0e660
[10.x] Update the badges to use shields.io
pataar Oct 5, 2020
c7cb4a5
Merge pull request #1362 from pataar/patch-1
driesvints Oct 5, 2020
5758a35
Update .gitattributes
driesvints Oct 26, 2020
034b7ba
Update CHANGELOG.md
driesvints Nov 25, 2020
032e2e4
[8.x] PHP 8 Support (#1373)
driesvints Nov 26, 2020
c2b93a7
Update CHANGELOG.md
driesvints Nov 26, 2020
985577c
[10.x] Add purging of invalid refresh tokens to command (#1396)
carestad Jan 14, 2021
8b792b4
Revert "[10.x] Add purging of invalid refresh tokens to command (#139…
driesvints Jan 14, 2021
b28cd97
Update to phpseclib v3 (#1410)
driesvints Feb 18, 2021
3e10037
Merge branch '10.x'
driesvints Feb 22, 2021
fb95081
Revert model DB connection customization (#1412)
driesvints Feb 22, 2021
2ed0190
Update CHANGELOG.md
driesvints Feb 23, 2021
b2b66ad
Merge branch '10.x'
driesvints Feb 23, 2021
d429a98
[10.x] Backport phpseclib v2 (#1418)
driesvints Mar 1, 2021
9f1a5d5
Update CHANGELOG.md
driesvints Mar 2, 2021
6ee6e70
Merge branch '10.x'
driesvints Mar 2, 2021
c7c798f
Use ubuntu-18.04
driesvints Mar 5, 2021
1f1dbec
Merge pull request #1421 from laravel/ubuntu
driesvints Mar 5, 2021
6e7f85e
Merge branch '10.x'
driesvints Mar 5, 2021
2138d59
Fix `$userId` type (#1422)
baijunyao Mar 7, 2021
ab9e204
Update tests.yml
driesvints Mar 11, 2021
6dd09cf
Merge branch '10.x'
driesvints Mar 16, 2021
66b9088
Allow timestamps on Token model (#1425)
driesvints Mar 16, 2021
e3478de
fix binding
themsaid Apr 5, 2021
3d1e6bb
use app helper
taylorotwell Apr 5, 2021
a5e4471
Update CHANGELOG.md
driesvints Apr 6, 2021
5d45ccb
Merge branch '10.x'
driesvints Apr 6, 2021
95bdc16
Improve authenticateViaBearerToken() performance
alecpl May 26, 2021
b69f25a
formatting
taylorotwell May 26, 2021
cafb8e6
Update 1_Bug_report.md
driesvints Jun 4, 2021
519e1df
[10.x] Use Real Keys in Tests (#1450)
Sephster Jun 4, 2021
4b28beb
dark mode logo
driesvints Jun 12, 2021
12678fb
wip
driesvints Jun 13, 2021
9f1e2d7
Merge branch '10.x'
driesvints Jul 16, 2021
7a026ac
[11.x] Refactor routes to dedicated file (#1464)
driesvints Jul 18, 2021
5381868
Fix tests (#1469)
Sephster Jul 28, 2021
6906a6d
Fix link to documentation
ricardogobbosouza Jul 29, 2021
23cffb1
Merge pull request #1470 from ricardogobbosouza/patch-1
driesvints Jul 29, 2021
1d9d0e4
Change logo to work on Dark Theme (#1481)
xiCO2k Sep 22, 2021
0ee9586
Apply fixes from StyleCI
taylorotwell Sep 22, 2021
9b5da83
[10.x] Ensure client model factory always creates models with a prima…
axlon Oct 15, 2021
2ab4b1a
PHP 8.1 support
driesvints Oct 19, 2021
c889d9c
Update CHANGELOG.md
driesvints Oct 19, 2021
9d4aed7
Merge branch '10.x'
driesvints Oct 19, 2021
e6b20bc
Update phpunit.xml.dist
driesvints Oct 21, 2021
25fa27e
Merge pull request #1494 from laravel/php81
driesvints Oct 21, 2021
fda2c2e
Refactor expiry dates to intervals (#1500)
driesvints Oct 28, 2021
48b9534
[10.x] Add custom encryption key for JWT tokens (#1501)
thijskok Oct 29, 2021
1c69a01
Update CHANGELOG.md
driesvints Nov 2, 2021
fa30cd6
Merge branch '10.x'
driesvints Nov 2, 2021
0f02c6c
[10.x] Update test for Laravel 9 (#1509)
driesvints Nov 26, 2021
187580a
[11.x] Allow authenticated client to be retrieved from the guard (#1508)
axlon Nov 26, 2021
9e1bbad
Fix str_replace error when third parameter ($subject) is null (#1511)
kyryl-bogach Dec 1, 2021
a263428
Update CHANGELOG.md
driesvints Dec 7, 2021
bedf716
Merge branch '10.x'
driesvints Dec 7, 2021
d239c98
Apply fixes from StyleCI
taylorotwell Dec 7, 2021
c24402e
fix: Internal method return types, php 8.1 tests compatibility
Dec 7, 2021
46778b0
Merge pull request #1512 from rubengg86/php_8.1_internal_method_retur…
driesvints Dec 7, 2021
7981abe
Update CHANGELOG.md
driesvints Dec 7, 2021
9a431c5
Update tests.yml
driesvints Jan 11, 2022
fe865e3
Update tests.yml
driesvints Jan 11, 2022
b9e0b98
Laravel v9 support (#1516)
driesvints Jan 12, 2022
b4a829e
Update CHANGELOG.md
driesvints Jan 12, 2022
ba1996c
[10.x] Allow to use custom authorization server response (#1521)
yaroslawww Jan 21, 2022
231ef17
Merge branch '10.x'
driesvints Jan 24, 2022
d511a3c
[11.x] Stub client on guard when calling Passport::actingAsClient() (…
axlon Jan 24, 2022
779e34f
Update CHANGELOG.md
driesvints Jan 25, 2022
42677aa
Merge branch '10.x'
driesvints Jan 25, 2022
c56d3e0
Minor documentation tweak to UPGRADE.md (#1526)
jonrmitchell Feb 4, 2022
409e308
Create update-changelog.yml
driesvints Feb 8, 2022
c56207e
[10.x] Fix Faker deprecations (#1530)
X-Coder264 Feb 15, 2022
de6e1fd
Update CHANGELOG.md
driesvints Feb 22, 2022
1039d8b
Use anonymous migrations (#1531)
mmachatschek Feb 23, 2022
3ef9e2b
Update CHANGELOG.md
driesvints Mar 8, 2022
61832d3
Update .styleci.yml
driesvints Mar 17, 2022
f1741c3
Update .styleci.yml
driesvints Mar 17, 2022
31e4ec6
Update update-changelog.yml
driesvints Mar 23, 2022
5bb6637
Upgrade firebase/php-jwt to ^6.0 (#1538)
prufrock Mar 30, 2022
1d6280e
Update CHANGELOG
driesvints Apr 5, 2022
abd3f11
Create pull-requests.yml
driesvints Apr 8, 2022
c9591e4
Update pull-requests.yml
driesvints Apr 8, 2022
499d68d
Update tests.yml (#1540)
driesvints Apr 8, 2022
6e39bb0
[ADD] new URI Rule to validate URI and use it to RedirectRule (#1544)
victorbalssa Apr 16, 2022
b62b418
Apply fixes from StyleCI
StyleCIBot Apr 16, 2022
3498c40
Update CHANGELOG
driesvints Apr 19, 2022
9c6e8c1
Update pull-requests.yml
driesvints Jun 8, 2022
75fd509
Update update-changelog.yml
driesvints Jun 8, 2022
ed6f6c1
[11.x] Fix scope inheritance when using Passport::actingAs() (#1551)
axlon Jul 13, 2022
4cee55e
Merge branch '10.x'
driesvints Aug 16, 2022
836f550
Drop PHP 7.x and Laravel v8 (#1558)
driesvints Aug 16, 2022
516cddb
Remove deprecated properties (#1560)
driesvints Aug 16, 2022
a17975f
wip
driesvints Aug 19, 2022
a57723e
Passport v11 upgrade guide (#1561)
driesvints Aug 19, 2022
dd00df7
[11.x] Remove deprecated functionality and simplify some feature test…
driesvints Aug 19, 2022
dac2be6
Update CHANGELOG
driesvints Aug 23, 2022
5629f1a
[11.x] Custom days and hours to passport purge command (#1563)
rubengg86 Aug 24, 2022
e312f36
[11.x] Allow for bootstrapping without loading routes (#1564)
axlon Aug 29, 2022
8aeec71
Update CHANGELOG
driesvints Aug 30, 2022
cae735a
[11.x] Support prompting re-consent when redirecting for authorizatio…
hafezdivandari Sep 1, 2022
89cc197
Support disabling prompt when redirecting for authorization (#1569)
hafezdivandari Sep 5, 2022
721df11
Update CHANGELOG
driesvints Sep 6, 2022
fb2a402
Let OAuth2 server handle denying the request (#1572)
hafezdivandari Sep 7, 2022
7a514cc
Update CHANGELOG
driesvints Sep 13, 2022
5a26d6c
Improve token guard return type (#1579)
axlon Sep 29, 2022
3a4d6e5
Update CHANGELOG
driesvints Oct 4, 2022
7415957
[11.x] Support prompting login when redirecting for authorization (#1…
hafezdivandari Oct 5, 2022
22281ff
Update PurgeCommand.php (#1586)
fatoskurtishi Oct 17, 2022
c73285f
Apply fixes from StyleCI
StyleCIBot Oct 17, 2022
3bc6367
Fix ClientRepository doc blocks (#1587)
axlon Oct 18, 2022
4c21058
Update docblock (#1588)
mnabialek Oct 22, 2022
620fc16
Update CHANGELOG
driesvints Oct 25, 2022
298ea64
Test on PHP 8.2 (#1592)
driesvints Nov 2, 2022
662325a
Create issues.yml
driesvints Nov 23, 2022
835febb
Add auth guard to routes (#1603)
hafezdivandari Dec 2, 2022
78c9d3a
Update CHANGELOG
driesvints Dec 6, 2022
13329be
Update tests.yml
driesvints Dec 28, 2022
2d746b7
Adds types to migrations (#1594)
nunomaduro Jan 3, 2023
e7df6ac
Update CHANGELOG
driesvints Jan 3, 2023
3c17574
Update tests.yml
driesvints Jan 9, 2023
87dcab8
Update composer.json (#1615)
driesvints Jan 9, 2023
e97f05d
Update CHANGELOG
driesvints Jan 10, 2023
b202822
Get authenticated user from the guard (#1617)
hafezdivandari Jan 16, 2023
b0b0758
Update CHANGELOG
driesvints Jan 17, 2023
3ac7b1e
Update ClientCommand.php's user_id description (#1619)
Smoggert Jan 22, 2023
b7bc60c
Fix doc block for `withAccessToken()` (#1620)
axlon Jan 25, 2023
1d8204e
[11.x] Get model PK instead of forcibly id column (#1626)
lucaspanik Jan 31, 2023
9ee5bd9
Update CHANGELOG
driesvints Jan 31, 2023
d8cc347
Indicate current token can be `TransientToken` (#1627)
axlon Feb 3, 2023
31ed569
Update CHANGELOG
driesvints Feb 7, 2023
5b57dbc
Add support for `EncryptCookies` middleware (#1628)
axlon Feb 8, 2023
174a12a
Update CHANGELOG
driesvints Feb 14, 2023
08b1dab
Added AuthenticationException to extend the behaviour of Laravel's de…
chrispage1 Feb 14, 2023
e305ff0
[11.x] Custom authorization view response (#1629)
jonerickson Feb 16, 2023
2008d86
laravel10 The Eloquent model's deprecated $dates property has been re…
TonyWong9527 Feb 17, 2023
ab51e2b
Update CHANGELOG
driesvints Feb 17, 2023
db543b0
Revert "Added AuthenticationException to extend the behaviour of Lara…
driesvints Feb 20, 2023
f3d0315
Update CHANGELOG
driesvints Feb 20, 2023
67c3e33
Revert "Revert "Added AuthenticationException to extend the behaviour…
driesvints Feb 20, 2023
d95c095
Update CHANGELOG
driesvints Feb 20, 2023
587aa14
allow overriding the `AccessToken` class (#1638)
hafezdivandari Feb 21, 2023
112e945
Adds type checking (#1640)
nunomaduro Feb 23, 2023
fcfac3f
Update ClientRepository.php (#1642)
bram-pkg Mar 1, 2023
d603001
Fix tests
driesvints Mar 1, 2023
37ce6e6
Update CHANGELOG
driesvints Mar 2, 2023
95a2258
Update RefreshToken.php (#1645)
siarheipashkevich Mar 17, 2023
a1682d3
Update AuthCode.php (#1644)
siarheipashkevich Mar 17, 2023
b33fa25
Apply fixes from StyleCI
StyleCIBot Mar 17, 2023
b6b68fa
fix doc types (#1647)
hafezdivandari Mar 18, 2023
2583a0a
Update CHANGELOG
driesvints Mar 28, 2023
ef5fa30
[11.x] Allow `lcobucci/jwt` v5 and cleaned up version constraints (#1…
GrahamCampbell Apr 4, 2023
5417fe8
Pass user identifier through to finalize scopes in personal access gr…
GrahamCampbell Apr 4, 2023
771cedb
Update CHANGELOG
driesvints Apr 4, 2023
5e5a54f
Update 1_Bug_report.md
driesvints Apr 6, 2023
5131cea
Rename 1_Bug_report.md to 1_Bug_report.yml
driesvints Apr 6, 2023
bf5e6f4
Update 1_Bug_report.yml
driesvints Apr 7, 2023
a75f0a9
[11.x] Add Provider Guard to ClientRepository for Personal Access Cli…
michaelnabil230 Apr 24, 2023
487f183
Update CHANGELOG
driesvints Apr 25, 2023
48a03ff
Revert "[11.x] Add Provider Guard to ClientRepository for Personal Ac…
driesvints Apr 28, 2023
8cae3ef
Update CHANGELOG
driesvints Apr 28, 2023
be0d862
Update ClientFactory.php (#1669)
axlon May 31, 2023
8b88aff
Update composer.json (#1674)
Smoggert Jun 21, 2023
4018361
Update composer.json (#1677)
drhoussem Jul 7, 2023
b566e15
Update CHANGELOG
driesvints Jul 7, 2023
dd3f081
[11.x] Add the ability to limit scopes by client (#1682)
axlon Aug 23, 2023
2582d2a
Add support for inherited scopes when limiting scopes on clients (#1683)
axlon Aug 29, 2023
e225960
Update CHANGELOG
driesvints Aug 29, 2023
93bb9c3
Fix breaking change introduced by laravel/passport#1682 (#1686)
axlon Sep 1, 2023
286baeb
Update CHANGELOG
driesvints Sep 1, 2023
5e9e4b8
Test Improvements (#1688)
crynobone Sep 20, 2023
30e23b0
PHP 8.3 (#1689)
driesvints Sep 21, 2023
8c52a69
update checkout to v4 (#1690)
salehhashemi1992 Oct 13, 2023
cece4ef
Add return to revokeRefreshTokensByAccessTokenId method (#1693)
aminkhoshzahmat Oct 16, 2023
4017301
Update CHANGELOG
driesvints Oct 24, 2023
cf06f97
[11.x] Named static methods for middleware (#1695)
michaelnabil230 Nov 2, 2023
966bc8e
Simplify Conditional Statement (#1696)
michaelnabil230 Nov 2, 2023
6dab7d0
Update CHANGELOG
driesvints Nov 7, 2023
eb78ec6
Update HasApiTokens.php (#1698)
axlon Nov 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
* text=auto

*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
/art export-ignore
/tests export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
CHANGELOG.md export-ignore
phpstan.neon.dist export-ignore
phpunit.xml.dist export-ignore
UPGRADE.md
14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/1_Bug_report.md

This file was deleted.

47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/1_Bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Bug Report
description: "Report a general library issue."
body:
- type: markdown
attributes:
value: "Before submitting your report, [please ensure your Laravel version is still supported](https://laravel.com/docs/releases#support-policy)."
- type: input
attributes:
label: Passport Version
description: Provide the Passport version that you are using.
placeholder: 10.0.1
validations:
required: true
- type: input
attributes:
label: Laravel Version
description: Provide the Laravel version that you are using.
placeholder: 10.4.1
validations:
required: true
- type: input
attributes:
label: PHP Version
description: Provide the PHP version that you are using.
placeholder: 8.1.4
validations:
required: true
- type: input
attributes:
label: Database Driver & Version
description: If applicable, provide the database driver and version you are using.
placeholder: "MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)"
validations:
required: false
- type: textarea
attributes:
label: Description
description: Provide a detailed description of the issue you are facing.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue using `laravel new bug-report --github="--public"`.
validations:
required: true

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Support question
- name: Support Questions & Other
url: https://laravel.com/docs/contributions#support-questions
about: 'This repository is only for reporting bugs. If you need help using the library, click:'
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:'
- name: Documentation issue
url: https://github.com/laravel/docs
about: For documentation issues, open a pull request at the laravel/docs repository
12 changes: 12 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: issues

on:
issues:
types: [labeled]

permissions:
issues: write

jobs:
help-wanted:
uses: laravel/.github/.github/workflows/issues.yml@main
12 changes: 12 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: pull requests

on:
pull_request_target:
types: [opened]

permissions:
pull-requests: write

jobs:
uneditable:
uses: laravel/.github/.github/workflows/pull-requests.yml@main
41 changes: 41 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: static analysis

on:
push:
branches:
- master
- '*.x'
pull_request:

permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: true

name: Static Analysis

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: none

- name: Install dependencies
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

- name: Execute type checking
run: vendor/bin/phpstan
48 changes: 48 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: tests

on:
push:
branches:
- master
- '*.x'
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: true
matrix:
php: ['8.0', 8.1, 8.2, 8.3]
laravel: [9, 10]
exclude:
- php: '8.0'
laravel: 10
- php: 8.3
laravel: 9

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit --verbose
9 changes: 9 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: update changelog

on:
release:
types: [released]

jobs:
update:
uses: laravel/.github/.github/workflows/update-changelog.yml@main
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

Loading