Skip to content

Commit a2eb620

Browse files
authored
Merge pull request #1 from visto9259/1.x
First version
2 parents 6b17658 + 2554521 commit a2eb620

32 files changed

Lines changed: 1315 additions & 300 deletions

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
/psalm.baseline.xml export-ignore
99
/test/ export-ignore
1010
/autoload-dev/ export-ignore
11+
# Set the default behavior, in case people don't have core.autocrlf set.
12+
* text=auto
13+
*.php text eol=lf
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
matrix:
9+
name: Generate job matrix
10+
runs-on: ubuntu-latest
11+
outputs:
12+
matrix: ${{ steps.matrix.outputs.matrix }}
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v6
16+
with:
17+
fetch-depth: '0'
18+
- name: Gather CI configuration
19+
id: matrix
20+
uses: laminas/laminas-ci-matrix-action@v1
21+
22+
qa:
23+
name: QA Checks
24+
needs: [ matrix ]
25+
runs-on: ${{ matrix.operatingSystem }}
26+
strategy:
27+
fail-fast: false
28+
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v6
32+
- name: ${{ matrix.name }}
33+
uses: laminas/laminas-continuous-integration-action@v1
34+
env:
35+
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
36+
with:
37+
job: ${{ matrix.job }}

.laminas-ci.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2025, LM-Commons Organization and its contributors. All rights reserved.
1+
Copyright (c) 2025-2026, LM-Commons Organization and its contributors. All rights reserved.
22

33
Redistribution and use in source and binary forms, with or without modification,
44
are permitted provided that the following conditions are met:

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
This is a repository template for new repositories.
44

55
This file should be replaced by your own.
6-
7-

composer.json

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,43 @@
11
{
2-
"name": "lm-commons/repository-template",
3-
"description": "Repository template",
2+
"name": "lm-commons/lmc-api-auth",
3+
"description": "API tools to authenticate requests",
44
"license": "BSD-3-Clause",
55
"authors": [
66
{
7-
"name": "Firstname Lastname",
8-
"email": "email@example.com"
7+
"name": "Eric Richer",
8+
"email": "eric.richer@vistoconsulting.com"
99
}
1010
],
1111
"require": {
12-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0"
12+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
13+
"laminas/laminas-authentication": "^2.13",
14+
"psr/http-server-handler": "^1.0",
15+
"psr/http-server-middleware": "^1.0",
16+
"psr/container": "^1.1 || ^2.0"
1317
},
1418
"require-dev": {
1519
"laminas/laminas-coding-standard": "^3.1",
16-
"phpunit/phpunit": "^11.5",
20+
"phpunit/phpunit": "11.5.48",
1721
"psalm/plugin-phpunit": "^0.19.5",
18-
"vimeo/psalm": "^6.10"
22+
"vimeo/psalm": "6.14.3",
23+
"amphp/parallel": "^2.3.3",
24+
"amphp/dns": "^2.4.0",
25+
"amphp/socket": "^2.3.1"
1926
},
2027
"autoload": {
21-
28+
"psr-4": {
29+
"Lmc\\Api\\Auth\\": "src/"
30+
}
2231
},
2332
"autoload-dev": {
24-
33+
"psr-4": {
34+
"LmcTest\\Api\\Auth\\": "test/"
35+
}
36+
},
37+
"extra": {
38+
"laminas": {
39+
"config-provider": "Lmc\\Api\\Auth\\ConfigProvider"
40+
}
2541
},
2642
"config": {
2743
"allow-plugins": {

0 commit comments

Comments
 (0)