Skip to content

Commit

Permalink
Merge pull request #63 from visto9259/2.1.x
Browse files Browse the repository at this point in the history
Added support for PHP 8.4 and other QA changes
  • Loading branch information
visto9259 authored Jan 8, 2025
2 parents 839c830 + b59c6f1 commit 17837c9
Show file tree
Hide file tree
Showing 29 changed files with 3,427 additions and 3,606 deletions.
66 changes: 0 additions & 66 deletions .github/workflows/build_test.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Continuous Integration"

on:
pull_request:
paths-ignore:
- 'docs/**'
push:
paths-ignore:
- 'docs/**'
branches:
tags:

jobs:
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected]
17 changes: 17 additions & 0 deletions .github/workflows/release-on-milestone-closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions

name: "Automatic Releases"

on:
milestone:
types:
- "closed"

jobs:
release:
uses: laminas/workflow-automatic-releases/.github/workflows/[email protected]
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
5 changes: 5 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"ignore_php_platform_requirements": {
"8.4": true
}
}
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
# LmcAdmin Module for Laminas Framework

[![Latest Stable Version](https://poser.pugx.org/lm-commons/lmc-admin/v/stable)](https://packagist.org/packages/lm-commons/lmc-admin)
[![Total Downloads](http://poser.pugx.org/lm-commons/lmc-admin/downloads)](https://packagist.org/packages/lm-commons/lmc-admin)
[![License](http://poser.pugx.org/lm-commons/lmc-admin/license)](https://packagist.org/packages/lm-commons/lmc-admin)
[![PHP Version Require](http://poser.pugx.org/lm-commons/lmc-admin/require/php)](https://packagist.org/packages/lm-commons/lmc-admin)

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

## Introduction

LmcAdmin is a minimal admin interface for generic administrative purposes. It is a common screen with navigation that hides behind authentication and authorization.

## Requirements

- PHP 8.1 or higher

## Installation
LmcAdmin is enabled to be installed via composer.

LmcAdmin is enabled to be installed via composer.

```bash
$ composer require lm-commons/lmc-admin
```
Enable the module by adding `Lmc\Admin` key to your `application.config.php` or `modules.config.php` file.

Enable the module by adding `Lmc\Admin` key to your `application.config.php` or `modules.config.php` file.

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

## Usage
LmcAdmin allows you to create routes under a single parent "lmcadmin" route. You can also use it to enable navigation in

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

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

## Support
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"laminas/laminas-modulemanager": "^2.5",
"laminas/laminas-loader": "^2.6",
"laminas/laminas-eventmanager": "^3.0",
Expand Down Expand Up @@ -43,7 +43,7 @@
}
},
"require-dev": {
"laminas/laminas-coding-standard": "^2.5",
"laminas/laminas-coding-standard": "^3.0",
"laminas/laminas-test": "^4.10",
"phpunit/phpunit": "^10.5.30 || ^11.3.0",
"psalm/plugin-phpunit": "^0.19.0",
Expand All @@ -64,6 +64,9 @@
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "8.1.99"
}
}
}
Loading

0 comments on commit 17837c9

Please sign in to comment.