feat: initial ACRIB WordPress deployment

- WordPress 6.9.4 (es_ES) with Kadence theme
- Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto
- Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold
- Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI)
- Plugins: Kadence Blocks, Polylang, Contact Form 7
- Custom CSS with full brand styling and responsive layout
- HTTPS enforced via wp-config.php proxy detection
This commit is contained in:
Malin
2026-05-19 19:25:59 +02:00
commit f3ff7b7186
6119 changed files with 1984255 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
StellarWP Arrays is a PHP library providing 50+ array manipulation utilities for WordPress plugins and PHP projects. It's designed as a standalone library that can be integrated into any PHP 7.4+ project.
## Commands
### Testing
```bash
# Run tests with SLIC
slic use arrays
slic run wpunit
# Run specific test
slic run wpunit tests/wpunit/GetTest.php
```
### Static Analysis
```bash
# Run PHPStan static analysis (level 5)
composer test:analysis
```
### Documentation
```bash
# Generate API documentation
composer create-docs
```
### Development Setup
```bash
# Install dependencies
composer install
# The arrays.php file is a WordPress plugin bootstrap for testing only
# Actual library code is in src/Arrays/Arr.php
```
## Architecture
### Core Structure
- **Main Class**: `StellarWP\Arrays\Arr` in `src/Arrays/Arr.php` - Contains all array manipulation methods
- **Namespace**: `StellarWP\Arrays` (PSR-4 autoloaded)
- **Methods**: 50+ static methods for array manipulation (get, set, filter, map, etc.)
### Testing Architecture
- **Framework**: Codeception with WP Browser for WordPress integration
- **Test Suite**: `wpunit` - WordPress unit tests
- **Test Location**: `tests/wpunit/` - Each method has its own test file
- **Base Class**: Tests extend `ArraysTestCase` for common functionality
- **CI**: Uses SLIC (StellarWP's infrastructure CLI) for automated testing
### Key Design Patterns
1. **Static Methods**: All array utilities are static methods on the `Arr` class
2. **Dot Notation**: Many methods support dot notation for nested array access (e.g., 'user.profile.name')
3. **Fluent Interface**: Methods can be chained for complex operations
4. **Laravel-inspired**: Many methods ported from Laravel's array helpers
### Integration Notes
- Can be used standalone via Composer: `composer require stellarwp/arrays`
- For production use in plugins, use Strauss for namespace prefixing to avoid conflicts
- The `arrays.php` file is only for testing - not needed in production
### Development Considerations
- No JavaScript/frontend components - pure PHP library
- WordPress coding standards should be followed
- All public methods must have comprehensive PHPDoc blocks
- New methods require corresponding test files in `tests/wpunit/`

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 StellarWP
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,8 @@
<?php
/**
* Plugin Name: Arrays
* Description: Arrays library with a plugin bootstrap file for automated testing.
* Version: 1.3.2
* Author: StellarWP
* Author URI: https://stellarwp.com
*/

File diff suppressed because it is too large Load Diff