Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
75ae30c
starting ep4 with a CS commit
llegaz Dec 10, 2025
6b4bf74
RedisCache class will suffer to keep those todos a bit longuer
llegaz Dec 19, 2025
8213288
tidying the code (mainly RedisEnhancedCache class, used with PSR-6 po…
llegaz Dec 19, 2025
700c9ca
AI generated documentation
llegaz Dec 19, 2025
6b1749b
more doc, README.md updated
llegaz Dec 19, 2025
c661543
documentation DONE on RedisEnchancedCache (class used for PSR-6 imple…
llegaz Dec 21, 2025
614eade
Key validation reworked
llegaz Dec 21, 2025
c158113
adding github actions v1
llegaz Dec 21, 2025
e2a9be1
adding some contribution docs
llegaz Dec 21, 2025
aa54d14
more on contributing, README.md to rework
llegaz Dec 21, 2025
88aea5c
PR template OK
llegaz Dec 22, 2025
ca4eece
ci.yml OK
llegaz Dec 23, 2025
6b6ef08
commiting the rest but still have to trim / clean all
llegaz Dec 23, 2025
8eb5db1
new RedisAdapter release !
llegaz Dec 23, 2025
4b0c31c
CI should work now
llegaz Dec 24, 2025
7137d72
psrs v3 only work on php8bro
llegaz Dec 24, 2025
aa0a4d9
Doc and SecurityTest added, todo complete it
llegaz Dec 25, 2025
5bd57c7
[security] testing key injection
llegaz Dec 25, 2025
fda8150
CS + CI updated
llegaz Dec 25, 2025
93b769f
more CI testing
llegaz Dec 25, 2025
5f5b008
still CI testing...
llegaz Dec 25, 2025
3cb6fe3
stuck on conditional CI
llegaz Dec 26, 2025
56e483d
sudo
llegaz Dec 26, 2025
4d65ee0
still debugging CI script
llegaz Dec 26, 2025
ecdb8d8
CI fix
llegaz Dec 26, 2025
6eb87b4
CI, last try for today
llegaz Dec 26, 2025
3bc3b87
CI, last try for today, 2nd iteration
llegaz Dec 26, 2025
9323953
CI, last try for today, 3rd iteration
llegaz Dec 26, 2025
0187ba9
CI, last try for today, 4th iteration
llegaz Dec 26, 2025
67082a7
CI - 2 separate workflows
llegaz Dec 26, 2025
fd91a22
worflows renamed
llegaz Dec 26, 2025
84e1e4c
some more tests for CI
llegaz Dec 27, 2025
2a07cd2
CI done ?
llegaz Dec 27, 2025
8b07cac
CI done !
llegaz Dec 27, 2025
3a7aa5d
trigger CI while finishing community guidelines review
llegaz Feb 11, 2026
26862ca
github actions, try to improve cache capabilities
llegaz Feb 11, 2026
340e4ab
hash on composer.json file
llegaz Feb 11, 2026
3f3978c
CI should be pristine this time (or not)
llegaz Feb 11, 2026
6088077
nandato kisamawa ?
llegaz Feb 11, 2026
e8c6bba
reworking README.md wip
llegaz Feb 11, 2026
f950311
key validation enhanced PSR16
llegaz Feb 15, 2026
ca8359b
key validation enhanced PSR16 with persistent connections
llegaz Feb 16, 2026
a222025
key validation enhanced PSR6
llegaz Feb 16, 2026
c46f180
key validation enhanced PSR6 with persistent connections
llegaz Feb 16, 2026
d82e2fa
review wording
llegaz Feb 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/PR_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## Description

<!-- Provide a clear and concise description of what this PR does -->

## Type of Change

-Please check the relevant option(s):

- [ ] 🐛 Bug fix
- [ ] ✨ New feature
- [ ] 💥 Breaking change
- [ ] 📝 Documentation
- [ ] 🧪 Tests
- [ ] ♻️ Refactoring
- [ ] ⚡ Performance
- [ ] 🔧 Configuration change

## Testing

- [ ] Unit tests
- [ ] Integration tests
- [ ] Manual testing

Code style and test suite exectuion.
```bash
composer cs
composer test
```

## Checklist

- [ ] PSR-12 compliant (CS)
- [ ] Tests pass
- [ ] Coverage maintained
- [ ] Docs updated

## Related Issues

<!-- Fixes #123 -->

---

**@See** you space cowboy... 🚀

82 changes: 82 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ main, develop ]
workflow_dispatch:

jobs:
tests:
name: Tests (PHP ${{ matrix.php }} - ${{ matrix.adapter }})
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4', '8.5']
adapter: ['predis', 'phpredis']

services:




redis:
image: redis:7.2-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
# Step 1: Checkout repository code
- name: Checkout code
uses: actions/checkout@v4

# Step 2: Setup PHP with required extensions
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, mbstring, ${{ matrix.adapter == 'phpredis' && 'redis' || ':opcache, :redis' }}
coverage: none
tools: composer:v2

# Step 3: Cache Composer dependencies (speeds up subsequent builds)
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: |
vendor
composer.lock
~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-composer-

# Step 4: Install project dependencies via Composer
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-interaction

# Step 5: Validate composer.json and composer.lock structure
- name: Validate composer files
run: composer validate --strict

# Step 6: Display installed versions
- name: Display versions
run: |
php -v
composer --version

# Step 7
- name: Check code style (PSR-12)
run: composer cs

# Step 8: Run entire tests suite
- name: Run all tests
run: composer test
Loading