Skip to content

Commit 17837c9

Browse files
authored
Merge pull request #63 from visto9259/2.1.x
Added support for PHP 8.4 and other QA changes
2 parents 839c830 + b59c6f1 commit 17837c9

29 files changed

+3427
-3606
lines changed

.github/workflows/build_test.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
7+
push:
8+
paths-ignore:
9+
- 'docs/**'
10+
branches:
11+
tags:
12+
13+
jobs:
14+
ci:
15+
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2+
3+
name: "Automatic Releases"
4+
5+
on:
6+
milestone:
7+
types:
8+
- "closed"
9+
10+
jobs:
11+
release:
12+
uses: laminas/workflow-automatic-releases/.github/workflows/release-on-milestone-closed.yml@1.x
13+
secrets:
14+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
15+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
16+
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
17+
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}

.laminas-ci.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"ignore_php_platform_requirements": {
3+
"8.4": true
4+
}
5+
}

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
1+
# LmcAdmin Module for Laminas Framework
2+
13
[![Latest Stable Version](https://poser.pugx.org/lm-commons/lmc-admin/v/stable)](https://packagist.org/packages/lm-commons/lmc-admin)
24
[![Total Downloads](http://poser.pugx.org/lm-commons/lmc-admin/downloads)](https://packagist.org/packages/lm-commons/lmc-admin)
35
[![License](http://poser.pugx.org/lm-commons/lmc-admin/license)](https://packagist.org/packages/lm-commons/lmc-admin)
46
[![PHP Version Require](http://poser.pugx.org/lm-commons/lmc-admin/require/php)](https://packagist.org/packages/lm-commons/lmc-admin)
57

6-
# LmcAdmin Module for Laminas Framework
78
Originally created by [Jurian Sluiman](http://juriansluiman.nl) and [Martin Shwalbe](https://github.com/Hounddog).
89

910
## Introduction
11+
1012
LmcAdmin is a minimal admin interface for generic administrative purposes. It is a common screen with navigation that hides behind authentication and authorization.
1113

1214
## Requirements
1315

1416
- PHP 8.1 or higher
1517

1618
## Installation
17-
LmcAdmin is enabled to be installed via composer.
19+
20+
LmcAdmin is enabled to be installed via composer.
1821

1922
```bash
2023
$ composer require lm-commons/lmc-admin
2124
```
22-
Enable the module by adding `Lmc\Admin` key to your `application.config.php` or `modules.config.php` file.
25+
26+
Enable the module by adding `Lmc\Admin` key to your `application.config.php` or `modules.config.php` file.
2327

2428
Customize the module by copy-pasting the `config/lmcadmin.global.php.dist` file to your `config/autoload` folder.
2529

2630
## Usage
27-
LmcAdmin allows you to create routes under a single parent "lmcadmin" route. You can also use it to enable navigation in
31+
32+
LmcAdmin allows you to create routes under a single parent "lmcadmin" route. You can also use it to enable navigation in
2833
your admin layout. Furthermore, integration of [LmcRbacMvc](https://github.com/LM-Commons/LmcRbacMvc) is provided.
2934

30-
The complete configuration is flexible, so you can update the lmc_admin parent route, its children, the navigation
31-
and all default provided view scripts. Read more in the [documentation](https://lm-commons.github.io/LmcAdmin) about
35+
The complete configuration is flexible, so you can update the lmc_admin parent route, its children, the navigation
36+
and all default provided view scripts. Read more in the [documentation](https://lm-commons.github.io/LmcAdmin) about
3237
usage and customization of LmcAdmin.
3338

3439
## Support

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
17+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
1818
"laminas/laminas-modulemanager": "^2.5",
1919
"laminas/laminas-loader": "^2.6",
2020
"laminas/laminas-eventmanager": "^3.0",
@@ -43,7 +43,7 @@
4343
}
4444
},
4545
"require-dev": {
46-
"laminas/laminas-coding-standard": "^2.5",
46+
"laminas/laminas-coding-standard": "^3.0",
4747
"laminas/laminas-test": "^4.10",
4848
"phpunit/phpunit": "^10.5.30 || ^11.3.0",
4949
"psalm/plugin-phpunit": "^0.19.0",
@@ -64,6 +64,9 @@
6464
"config": {
6565
"allow-plugins": {
6666
"dealerdirect/phpcodesniffer-composer-installer": true
67+
},
68+
"platform": {
69+
"php": "8.1.99"
6770
}
6871
}
6972
}

0 commit comments

Comments
 (0)