Merge branch 'laravel-12' into 'main'

feat: ✨ add laravel 12 compatibility

See merge request ldc-web/projets/ldc-web-admin-secure-laravel!5
This commit is contained in:
Vincent BRIDIER 2025-04-07 11:07:16 +00:00
commit 26f818b6b9
4 changed files with 88 additions and 52 deletions

68
CHANGELOG.md Normal file
View file

@ -0,0 +1,68 @@
# Changelog
All notable changes to `admin-secure-laravel` will be documented in this file.
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
- Commits respect [Conventionnal commits](https://www.conventionalcommits.org/en/v1.0.0/) & use [Gitmoji](https://gitmoji.dev/).
## **[v4.0.0] - 07/04/2025**
### Added
- feat: ✨ add Laravel 12 compatibility
## **[v3.0.0] - 03/09/2024**
### Added
- Add Laravel 11 compatibility
- Bump deps for Laravel 11
### Changed
- Change namespace for UWIL complience
## **[v2.0.3] - 04/04/2024**
### Added
- Add staging to environnements where sync command should be executed
### Changed
- PHPCS and PHPSTAN fixes
## **[v2.0.2] - 19/09/2024**
### Changed
- fixed artisan command to fetch list
## **[v2.0.1] - 19/09/2023**
### Changed
- Delete API key
- Artisan config cache fix
- Cache was ignored
## **[v2.0.0] - 05/06/2023**
### Added
- Bump laravel 10
- Add manual Cird possibility
### Changed
- Allows connections from private ip ranges
- Add posibility to config manual CIDR exceptions
## **[v1.0.1] - 04/07/2022**
- Run scheduled only on production envirronement
## **[v1.0.0] - 24/06/2022**
- Initial release

View file

@ -33,3 +33,15 @@ Put 'admin-secure' middleware on route to protect it.
Nothing to do command is already configureed to run everyday.
You just need to install this package.
**!! Runs only in production !!**
# Changelog
Latest version v4.0.0.
See the [CHANGELOG.md](CHANGELOG.md) file for details.
# Copyright and License
[Admin Secure Laravel](https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel) was written by Uwil.
Copyright (c) 2022 and beyond Uwil.

View file

@ -1,42 +0,0 @@
# Changelog
## **Version 3.0.0**
- Add Laravel 11 compatibility
- Bump deps for Laravel 11
- Change namespace for UWIL complience
## **Version 2.0.3**
- Add staging to environnements where sync command should be executed
- PHPCS and PHPSTAN fixes
## **Version 2.0.2**
### *2.0.2 Fixed*
- fixed artisan command to fetch list
## **Version 2.0.1**
### *2.0.1 Fixed*
- artisan config cache fix
- Cache was ignored
## **Version 2.0.0**
### *2.0.0 Changed*
- Bump laravel 10
- Add manual Cird possibility
## **Version 1.0.1**
### *1.0.1 Changed*
- Run scheduled only on production envirronement
## **Version 1.0.0**
### Initial release

View file

@ -2,18 +2,16 @@
"name": "uwil/admin-secure-laravel",
"description": "Restrict access to LDC Network",
"license": "MIT",
"version": "3.0.0",
"authors": [
{
"name": "Equipe Web",
"email": "equipe.web@ldc.fr",
"homepage": "https://www.ldc.fr"
}
],
"version": "4.0.0",
"readme": "https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel/-/blob/main/README.md",
"support": {
"email": "equipe.web@ldc.fr",
"issues": "https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel/-/issues"
},
"require": {
"php": "^8.3",
"illuminate/support": "~11",
"laravel/framework": "~11",
"illuminate/support": "~11|~12",
"laravel/framework": "~11|~12",
"symfony/options-resolver": "^7.0",
"dxw/cidr": "^3.2"
},