Skip to content

Commit a4a4c44

Browse files
authored
Merge pull request #13 from codebar-ag/feature-laravel-12
Feature Laravel 12
2 parents e138789 + 291cf50 commit a4a4c44

File tree

13 files changed

+102
-42
lines changed

13 files changed

+102
-42
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 4
6+
indent_style = space
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2

.gitattributes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Path-based git attributes
2+
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
4+
# Ignore all test and documentation with "export-ignore".
5+
/.github export-ignore
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore
8+
/phpunit.xml.dist export-ignore
9+
/art export-ignore
10+
/docs export-ignore
11+
/tests export-ignore
12+
/.editorconfig export-ignore
13+
/.php_cs.dist.php export-ignore
14+
/psalm.xml export-ignore
15+
/psalm.xml.dist export-ignore
16+
/testbench.yaml export-ignore
17+
/UPGRADING.md export-ignore
18+
/phpstan.neon.dist export-ignore
19+
/phpstan-baseline.neon export-ignore

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Bug Report
22
description: Report an Issue or Bug with the Package
33
title: "[Bug]: "
4-
labels: ["bug"]
4+
labels: [ "bug" ]
55
body:
66
- type: markdown
77
attributes:
@@ -20,26 +20,26 @@ We're sorry to hear you have a problem. Can you help us solve it by providing th
2020
attributes:
2121
label: Package Version
2222
description: What version of our Package are you running? Please be as specific as possible
23-
placeholder: "11.0"
24-
value: "11.0"
23+
placeholder: "12.0"
24+
value: "12.0"
2525
validations:
2626
required: true
2727
- type: input
2828
id: php-version
2929
attributes:
3030
label: PHP Version
3131
description: What version of PHP are you running? Please be as specific as possible
32-
placeholder: "8.3.0"
33-
value: "8.3.0"
32+
placeholder: "8.4.0"
33+
value: "8.4.0"
3434
validations:
3535
required: true
3636
- type: input
3737
id: laravel-version
3838
attributes:
3939
label: Laravel Version
4040
description: What version of Laravel are you running? Please be as specific as possible
41-
placeholder: "11.0.0"
42-
value: "11.0.0"
41+
placeholder: "12.0.0"
42+
value: "12.0.0"
4343
validations:
4444
required: true
4545
- type: dropdown

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ updates:
99
schedule:
1010
interval: "weekly"
1111
labels:
12-
- "dependencies"
12+
- "dependencies"

.github/workflows/dependabot-auto-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: ${{ github.actor == 'dependabot[bot]' }}
1212
steps:
13-
13+
1414
- name: Dependabot metadata
1515
id: metadata
1616
uses: dependabot/[email protected]
1717
with:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
19-
19+
2020
- name: Auto-merge Dependabot PRs for semver-minor updates
2121
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
2222
run: gh pr merge --auto --merge "$PR_URL"
2323
env:
2424
PR_URL: ${{github.event.pull_request.html_url}}
2525
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
26-
26+
2727
- name: Auto-merge Dependabot PRs for semver-patch updates
2828
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
2929
run: gh pr merge --auto --merge "$PR_URL"

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.3'
19+
php-version: '8.4'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release
2+
3+
on:
4+
pull_request:
5+
types:
6+
- closed
7+
branches:
8+
- main
9+
jobs:
10+
release:
11+
name: Release
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: '0'
17+
- name: Bump version and push tag
18+
uses: anothrNick/github-tag-action@master
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
21+
WITH_V: true
22+
RELEASE_BRANCHES: main
23+
DEFAULT_BUMP: minor

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
max-parallel: 1
1515
matrix:
1616
os: [ ubuntu-latest ]
17-
php: [ 8.3 ]
18-
laravel: [ 11.* ]
17+
php: [ 8.2, 8.3, 8.4 ]
18+
laravel: [ 12.* ]
1919
stability: [ prefer-lowest, prefer-stable ]
2020

2121
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.idea
22
.phpunit.result.cache
33
.phpunit.cache
4-
build
54
composer.lock
65
coverage
76
phpunit.xml
@@ -10,4 +9,4 @@ testbench.yaml
109
vendor
1110
node_modules
1211
.phpactor.json
13-
12+
build

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<img src="https://banners.beyondco.de/Laravel%20Instagram.png?theme=light&packageManager=composer+require&packageName=codebar-ag%2Flaravel-instagram&pattern=circuitBoard&style=style_1&description=An+opinionated+way+to+integrate+Instagram+with+Laravel&md=1&showWatermark=0&fontSize=175px&images=document-report">
1+
<img src="https://banners.beyondco.de/Laravel%20Instagram.png?theme=light&packageManager=composer+require&packageName=codebar-ag%2Flaravel-instagram&pattern=circuitBoard&style=style_1&description=An+opinionated+way+to+integrate+Instagram+with+Laravel&md=1&showWatermark=0&fontSize=175px&images=photograph">
22

33

44
[![Latest Version on Packagist](https://img.shields.io/packagist/v/codebar-ag/laravel-instagram.svg?style=flat-square)](https://packagist.org/packages/codebar-ag/laravel-instagram)
5-
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/codebar-ag/laravel-instagram/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/codebar-ag/laravel-instagram/actions?query=workflow%3Arun-tests+branch%3Amain)
6-
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/codebar-ag/laravel-instagram/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/codebar-ag/laravel-instagram/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
5+
[![GitHub-Tests](https://github.com/codebar-ag/laravel-instagram/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-instagram/actions/workflows/run-tests.yml)
6+
[![GitHub Code Style](https://github.com/codebar-ag/laravel-instagram/actions/workflows/fix-php-code-style-issues.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-instagram/actions/workflows/fix-php-code-style-issues.yml)
77
[![Total Downloads](https://img.shields.io/packagist/dt/codebar-ag/laravel-instagram.svg?style=flat-square)](https://packagist.org/packages/codebar-ag/laravel-instagram)
88

99
This package was developed to give you a quick start to communicate with the
@@ -39,7 +39,8 @@ This package is only designed to login with a single user account to display ins
3939

4040
| Version | PHP Version | Laravel Version |
4141
|---------|-------------|-----------------|
42-
| > v11.0 | ^8.3 | ^11.* |
42+
| v12.0.0 | ^8.2 - ^8.4 | ^12.* |
43+
| v11.0.0 | ^8.2 - ^8.3 | ^11.* |
4344

4445
## Installation
4546

0 commit comments

Comments
 (0)