Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
4296e19
Update `README.md` to align with new "High-level API for Low-level Pr…
danijelgalic Mar 23, 2026
8e4f6e2
Update `README.md` to align with new "High-level API for Low-level Pr…
danijelgalic Mar 23, 2026
16d8774
Update `README.md` to align with new "High-level API for Low-level Pr…
danijelgalic Mar 23, 2026
e50117b
Update `composer.json`: Replace `autoload-dev` with `autoload`
danijelgalic Mar 24, 2026
4f809d5
Introduce foundational contracts, shared traits, and high-level abstr…
danijelgalic Mar 24, 2026
ee02c60
Introduce foundational contracts, traits, and high-level data structu…
danijelgalic Mar 25, 2026
4071f34
Enhance core abstractions with new contracts, exception handling impr…
danijelgalic Mar 25, 2026
734f088
Add Convertable Trait, Enhance Collection Class, and Update Classmaps
danijelgalic Mar 25, 2026
f7196da
Refactor and Extend Core Data Structure Framework
danijelgalic Apr 1, 2026
c8630aa
Refactor Autoload and Namespace Structure; Add Collection Unit Tests …
danijelgalic Apr 1, 2026
642df48
Rename `Collection` to `ArrayCollection`, Refactor Abstract Base, Add…
danijelgalic Apr 1, 2026
297943e
Update public key files with new key data
danijelgalic Apr 2, 2026
eafca95
chore: add ext-openssl requirement to composer.json
danijelgalic Apr 2, 2026
aea6cac
docs: add badges for PHPStan and PHPUnit workflows in README
danijelgalic Apr 2, 2026
423bd1b
chore: add Firehub PHPStan rules and update configuration
danijelgalic Apr 7, 2026
ec33289
**Simplify namespace structure and streamline `$Id` metadata annotati…
danijelgalic Apr 7, 2026
575478f
**Simplify namespace structure and streamline `$Id` metadata annotati…
danijelgalic Apr 7, 2026
3931fb4
Add support for professional and enterprise editions with enhanced bu…
danijelgalic Apr 7, 2026
667cba6
Test
danijelgalic Apr 7, 2026
44c095b
fix(gitattributes): update .gitattributes for Phar archives to enforc…
danijelgalic Apr 7, 2026
8c21654
chore: update .gitattributes and .gitignore for PHAR file handling
danijelgalic Apr 7, 2026
4c9c930
feat: add build and release workflow for PHAR package
danijelgalic Apr 7, 2026
367083b
feat: add build and release workflow for PHAR package
danijelgalic Apr 7, 2026
fa20b0b
feat: add build and release workflow for PHAR package
danijelgalic Apr 7, 2026
2aa83e2
**chore: remove PHAR build and release workflow files**
danijelgalic Apr 7, 2026
a766b66
feat: add build and release workflow for PHAR package
danijelgalic Apr 7, 2026
e93c1f1
feat: add build and release workflow for PHAR package
danijelgalic Apr 7, 2026
c60ff90
feat: add build and release workflow for PHAR package
danijelgalic Apr 7, 2026
7ec2ed9
chore: update .gitignore to exclude build.php from PHAR artifacts
danijelgalic Apr 7, 2026
d6e89fe
Update PHAR build and release
danijelgalic Apr 7, 2026
d22355d
fix(gitattributes): enforce strict binary handling for .phar files
danijelgalic Apr 7, 2026
9ccd208
fix(gitattributes): enforce strict binary handling for .phar files
danijelgalic Apr 7, 2026
6066adc
Test PHAR
danijelgalic Apr 7, 2026
7f3d546
Test PHAR
danijelgalic Apr 7, 2026
8377d2b
Test PHAR
danijelgalic Apr 7, 2026
98cfb18
Test PHAR
danijelgalic Apr 7, 2026
3834db4
Test PHAR
danijelgalic Apr 8, 2026
d9fb3e9
Test PHAR
danijelgalic Apr 8, 2026
6783d7c
Test PHAR
danijelgalic Apr 8, 2026
84fc0a1
Test PHAR
danijelgalic Apr 8, 2026
ff7bfc2
Test PHAR
danijelgalic Apr 8, 2026
aa17bb6
Test PHAR
danijelgalic Apr 8, 2026
fdc82e7
Test PHAR
danijelgalic Apr 8, 2026
ac1f060
Test PHAR
danijelgalic Apr 8, 2026
5922510
refactor: update PHPStan rule includes for consistency
danijelgalic Apr 8, 2026
6686425
Refactored and restructured core FireHub data structures and behaviors.
danijelgalic Apr 9, 2026
c352f46
Introduce `GeneratorStorage` and enhance data structure hierarchy.
danijelgalic Apr 14, 2026
94c3ff7
Restructure core data structure architecture with modular enhancements
danijelgalic Apr 15, 2026
fb4880c
feat: introduce `EnumerableBehavior` trait and enhance `Sequence` fun…
danijelgalic Apr 15, 2026
389a8c2
refactor: remove unused data structure class mappings from classmap
danijelgalic Apr 17, 2026
41cc1e1
feat: add `EmptyStructureException` and improve exception message con…
danijelgalic Apr 23, 2026
7a6f81d
feat: add `EmptyStructureException` and improve exception message con…
danijelgalic Apr 23, 2026
dc34c56
feat: add `Enumerable` and `Collection` interfaces to strengthen data…
danijelgalic Apr 27, 2026
b040d49
feat: add `SizeException`, mark builders as internal, and fix typos i…
danijelgalic Apr 28, 2026
d8fe8f4
refactor: update namespace paths for enhanced consistency and structure
danijelgalic Apr 29, 2026
69557fe
feat: implement Maybe type and related exceptions for value handling
danijelgalic May 4, 2026
32e80e7
fix: update parameter type hint for array key in firehub.Arr.php
danijelgalic May 4, 2026
26e8d15
feat: enhance `range` method in `firehub.Arr.php` with stricter type …
danijelgalic May 6, 2026
82bafa5
feat: enhance `range` method in `firehub.Arr.php` with stricter type …
danijelgalic May 6, 2026
7a506d1
fix: correct typo in exception message in `firehub.Arr.php` documenta…
danijelgalic May 6, 2026
ce61610
feat: redesign and expand data structure capabilities with flexible a…
danijelgalic May 19, 2026
03bdc55
fix: correct method and static call typos in `ArrTest.php`
danijelgalic May 19, 2026
f6c9043
feat: add `autoload.files` directive to composer for PHAR integration
danijelgalic May 19, 2026
ac98fbf
chore: remove `autoload.files` directive and update PHAR builds in `c…
danijelgalic May 19, 2026
0400d2e
feat: introduce extensible data structure framework with granular cap…
danijelgalic May 25, 2026
dd2dfb9
chore: update changelog to include release notes for v0.3.1
danijelgalic May 25, 2026
1117c8b
introduce Data Transfer Object and Rehydratable capabilities for stru…
danijelgalic May 26, 2026
cc098de
Add Rebuildable and Convertible capabilities to data structures
danijelgalic May 26, 2026
16353ce
Correct documentation and improve mutation outcome handling in BackIn…
danijelgalic May 27, 2026
a8db5c5
Enhance `Vector` capabilities with advanced index-based operations an…
danijelgalic May 27, 2026
0c6eb1d
Update CHANGELOG for v0.3.2 release with new features and fixes
danijelgalic May 27, 2026
377be90
Replace `addFirst` with `addLast` in `Vector` initialization logic
danijelgalic May 27, 2026
15b5c3a
Add `Map` and `Associative` data structures with advanced capabilities
danijelgalic May 28, 2026
0c8970b
**Replace `ArrMapStorage` with new `HashStorage` abstraction; introdu…
danijelgalic May 28, 2026
b430fe0
Add `crc32` checksum calculation to `StrSB` with unit test coverage
danijelgalic May 28, 2026
61ae7d5
Update CHANGELOG.md
danijelgalic May 28, 2026
aba8b4c
Update CHANGELOG.md
danijelgalic May 28, 2026
db5b606
Update CHANGELOG.md
danijelgalic May 28, 2026
c1c5330
Correct typos, improve documentation consistency, and enhance mutatio…
danijelgalic May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Thumbs.db
# Composer dependencies resolver
composer.lock

# PHAR artifacts
/phar/**
!/phar/*.phar
!/phar/*.phar.pubkey
# Distribution artifacts
/dist/**
!/dist/*.phar
!/dist/*.phar.pubkey

# Storage folder for runtime-generated files
/storage/
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.3.3](https://github.com/The-FireHub-Project/Core-Foundation/compare/v0.3.2...v0.3.3) – 2026-05-28

### Added
- Add `Map` and `Associative` data structures with advanced capabilities (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`15b5c3a`](https://github.com/The-FireHub-Project/Core-Foundation/commit/15b5c3a))
- Add `crc32` checksum calculation to `StrSB` with unit test coverage (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`15b5c3a`](https://github.com/The-FireHub-Project/Core-Foundation/commit/15b5c3a))

### Changed
- Replace `ArrMapStorage` with new `HashStorage` abstraction; introduce pluggable `HashEngine` and remove outdated array-based initializers (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`b430fe0`](https://github.com/The-FireHub-Project/Core-Foundation/commit/b430fe0))

### Fixed
- Replace `addFirst` with `addLast` in `Vector` initialization logic (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`377be90`](https://github.com/The-FireHub-Project/Core-Foundation/commit/377be90))

## [v0.3.2](https://github.com/The-FireHub-Project/Core-Foundation/compare/v0.3.1...v0.3.2) – 2026-05-27

### Added
- Introduce Data Transfer Object and Rehydratable capabilities for structured data management (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`1117c8b`](https://github.com/The-FireHub-Project/Core-Foundation/commit/1117c8b))
- Add Rebuildable and Convertible capabilities to data structures (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`cc098de`](https://github.com/The-FireHub-Project/Core-Foundation/commit/cc098de))
- Enhance `Vector` capabilities with advanced index-based operations and PHP 8.1 support (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`a8db5c5`](https://github.com/The-FireHub-Project/Core-Foundation/commit/a8db5c5))

### Fixed
- Correct documentation and improve mutation outcome handling in BackInsertion and ArrListStorage (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`16353ce`](https://github.com/The-FireHub-Project/Core-Foundation/commit/16353ce))

## [v0.3.1](https://github.com/The-FireHub-Project/Core-Foundation/compare/v0.3.0...v0.3.1) – 2026-05-25

### Added
- Introduce an extensible data structure framework with granular capabilities and runtime state management (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`0400d2e`](https://github.com/The-FireHub-Project/Core-Foundation/commit/0400d2e))

## [v0.3.0](https://github.com/The-FireHub-Project/Core-Foundation/compare/v0.2.0...v0.3.0) – 2026-05-19

### Added
- Redesign and expand data structure capabilities with flexible abstraction contracts (issue: [#11](https://github.com/The-FireHub-Project/Core-Foundation/issues/11), pr: [#13](https://github.com/The-FireHub-Project/Core-Foundation/pull/13), commit: [`ce61610`](https://github.com/The-FireHub-Project/Core-Foundation/commit/ce61610))

## [v0.2.0](https://github.com/The-FireHub-Project/Core-Foundation/compare/v0.1.1...v0.2.0) – 2026-03-23

### Added
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ title: The FireHub Project - Core Foundation
abstract: The essential PHP core for clean, domain-driven architecture.
type: software
license: Apache-2.0
version: v0.2.0
date-released: 2026-03-23
version: v0.3.1
date-released: 2026-05-25

url: "https://the-firehub-project.github.io/core-foundation"
repository-code: "https://github.com/The-FireHub-Project/Core-Foundation"
Expand Down
169 changes: 86 additions & 83 deletions README.md

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@
"license": "Apache-2.0",
"require": {
"php": "^8.5",
"ext-openssl": "*",
"ext-mbstring": "*"
},
"require-dev": {
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"firehub/phpstan-rules": "^1.0",
"phpunit/phpunit": "^13.0"
},
"autoload-dev": {
"psr-4": {
"FireHub\\PHPStan\\": "phpstan/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
Expand Down
Binary file added dist/core.min.phar
Binary file not shown.
14 changes: 14 additions & 0 deletions dist/core.min.phar.pubkey
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0IDxH1kkgj+hINvM/oMR
w0CINronO5r+c2JWx52MrmdZw98TgMsu29XYXX92Vq6RuoVQxU9BHXZLEeeTdlJZ
yJ8RPUM+FoKF0IfyvtUcd6P0r/Fuy6W2oAHYz9gF/Jo9OYK0gWAjf/LakLjY4BkD
VntFcK0REXVPb88nbXk8HRTCP2cAEZU9YKopD7Q1Thq0lRRy0QSXT9E/sG4C9w9r
mGXoTtfSB3qMkSZ4hrWkYLXeEoNVivLfOIjPv/hvHTl/kwZKFHr2Hyz/zsBREnw2
cZfwpjdL3pNtvIonfDNbI7mDPw9joPMfpapk5BapoYyBZDuTETOC/5nw2RiX5F2n
+7THEK1u3YCqqPwVT9dWxGhH0+wcvs1QfBEcCBSXOBiFlvcw5y3yIPlwFUloDuN+
hUn6GV68FhbKYBRUop9JhVLG/3/FCENfk7bm3vMDdWSkNWBnKt1s2LbRK4M6oBYG
3/6xfS91zhh7XQsJvZpD6AxpsJx/50ailmgheLdycGaeflqpawC+L/fkTusOyjM1
TKHHPKIKCieaeOW+bI1jaeKAmJuZGRouYun8No7S9ybS58Z/xjGrbLC2fjKRrRTE
EBHb+o66gXTecCgNcSs0LmGkBLAsNL5HxhOk67GQexStuiTaAp4wjGuEPG1vQSQG
+dx6NDW9JrFPud0MgwRKTV8CAwEAAQ==
-----END PUBLIC KEY-----
Binary file renamed phar/core.phar → dist/core.phar
Binary file not shown.
14 changes: 14 additions & 0 deletions dist/core.phar.pubkey
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0IDxH1kkgj+hINvM/oMR
w0CINronO5r+c2JWx52MrmdZw98TgMsu29XYXX92Vq6RuoVQxU9BHXZLEeeTdlJZ
yJ8RPUM+FoKF0IfyvtUcd6P0r/Fuy6W2oAHYz9gF/Jo9OYK0gWAjf/LakLjY4BkD
VntFcK0REXVPb88nbXk8HRTCP2cAEZU9YKopD7Q1Thq0lRRy0QSXT9E/sG4C9w9r
mGXoTtfSB3qMkSZ4hrWkYLXeEoNVivLfOIjPv/hvHTl/kwZKFHr2Hyz/zsBREnw2
cZfwpjdL3pNtvIonfDNbI7mDPw9joPMfpapk5BapoYyBZDuTETOC/5nw2RiX5F2n
+7THEK1u3YCqqPwVT9dWxGhH0+wcvs1QfBEcCBSXOBiFlvcw5y3yIPlwFUloDuN+
hUn6GV68FhbKYBRUop9JhVLG/3/FCENfk7bm3vMDdWSkNWBnKt1s2LbRK4M6oBYG
3/6xfS91zhh7XQsJvZpD6AxpsJx/50ailmgheLdycGaeflqpawC+L/fkTusOyjM1
TKHHPKIKCieaeOW+bI1jaeKAmJuZGRouYun8No7S9ybS58Z/xjGrbLC2fjKRrRTE
EBHb+o66gXTecCgNcSs0LmGkBLAsNL5HxhOk67GQexStuiTaAp4wjGuEPG1vQSQG
+dx6NDW9JrFPud0MgwRKTV8CAwEAAQ==
-----END PUBLIC KEY-----
Binary file removed phar/core.min.phar
Binary file not shown.
14 changes: 0 additions & 14 deletions phar/core.min.phar.pubkey

This file was deleted.

14 changes: 0 additions & 14 deletions phar/core.phar.pubkey

This file was deleted.

8 changes: 2 additions & 6 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- phpstan/rule.neon
- phpstan/type.neon
- vendor/firehub/phpstan-rules/rule.neon
- vendor/firehub/phpstan-rules/type.neon

parameters:
level: max
paths:
- src/
- phpstan/
excludePaths:
analyse:
- phpstan/**
tmpDir: storage/cache/phpstan/
ignoreErrors:
- identifier: ternary.shortNotAllowed
Expand Down
125 changes: 0 additions & 125 deletions phpstan/Rule/NoNativeFunctionsRule.php

This file was deleted.

Loading
Loading