PHP.GT

Latest releases

ServiceContainer: LazyLoad is no longer required

Published on by Greg Bowler

The main feature to this minor release is to drop the requirement of the #[LazyLoad] attribute. This attribute’s usage has been removed, due to the simplification of the library to utilise any public method on the service container class.

What’s Changed

Full Changelog: https://github.com/PhpGt/ServiceContainer/compare/v1.2.1...v1.2.2

Session: Same-site cookie option

Published on by Greg Bowler

After enhancing the default security options in v1.1.5, this has added difficulty to some users when developing locally (as a strict same-site cookie option causes lots of issues on localhost or 127.* IPs). The default option is now changed to Same-site: Lax, which introduces the cookie option but doesn’t enforce the strict policy on localhost.

Cipher: May 2023 release

Published on by Greg Bowler

What’s Changed

New Contributors

Full Changelog: https://github.com/PhpGt/Cipher/compare/v1.0.0...v1.0.1

Curl: Loosening of types for test frameworks

Published on by Greg Bowler

The only change in this minor patch release is a loosening of types on the CurlInterface, which allows for test frameworks to inject their own CurlInterface implementation - the purpose of this library is to help test endpoints without requiring an internet connection, so this is a vital feature.

What’s Changed

Full Changelog: https://github.com/PhpGt/Curl/compare/v3.1.0...v3.1.1

Promise: Simplification of chain handling

Published on by Greg Bowler

This release introduces much more QA tooling and matrix builds in Github Actions.

There has been significant effort put into the refactoring of handleChain() function, so that it is easier to understand and debug. This was done because of an outstanding bug with the Fetch library.

Every effort has been put in place to retain the same footprint, as the unit tests show.

What’s Changed

Full Changelog: https://github.com/PhpGt/Promise/compare/v2.2.0...v2.2.1

Session: CI and QA improvements

Published on by Greg Bowler

Matrix builds are now standard for every push, building on all supported PHP versions concurrently.

During the CI process, three QA tools are introduced: Mess Detector, Code Sniffer and PHPStan.

Have fun!

DataObject: CI and QA improvements

Published on by Greg Bowler

Matrix builds are now standard for every push, building on all supported PHP versions concurrently.

During the CI process, three QA tools are introduced: Mess Detector, Code Sniffer and PHPStan.

Have fun!

Curl: March 2023 minor release

Published on by Greg Bowler

This minor release was made following on from the documentation being finalised, after everything has been tested with real usage.

The only functionality introduced/changed is in regards to the header/write function callback usage - now, if there is an existing write function, a new one will not be added when adding a Curl to a CurlMulti.

Read about concurrent curl requests here: https://github.com/PhpGt/Curl/wiki/Concurrent-Curl-requests

Curl: Test coverage

Published on by Greg Bowler

This minor patch release doesn’t change any functionality - instead it unit tests the internal implementation of the classes of the system. There are a couple of tests that are only checking that an exception hasn’t been thrown, but most of the tests deliver genuine quality assurance for the dependent projects of this library.

Dom: March 2023 minor release

Published on by Greg Bowler

This minor release introduces a lot more quality assurance checks in Github Actions, along with a small bugfix when using an element’s data-* attributes.

What’s Changed

Full Changelog: https://github.com/PhpGt/Dom/compare/v4.1.0...v4.1.2

DomTemplate: March 2023 minor release

Published on by Greg Bowler

What’s Changed

Full Changelog: https://github.com/PhpGt/DomTemplate/compare/v3.1.5...v3.2.0

DomValidation: CI and QA improvements

Published on by Greg Bowler

What’s Changed

Full Changelog: https://github.com/PhpGt/DomValidation/compare/v1.0.0...v1.0.1

DomValidation: Stable release with DOM v4

Published on by Greg Bowler

This is the v1 release for DomValidation which comes with a variety of default rules, along with the ability to extend the ruleset with custom rules.

What’s Changed

Full Changelog: https://github.com/PhpGt/DomValidation/compare/v0.3.2...v1.0.0

Dom: Update for compatibility with PHP 8.1

Published on by Greg Bowler

Thanks to @sidolov for their support keeping v2 up to date. This is a minor release with only a few tweaks to keep the v2 release compatible with the latest release of PHP.

What’s Changed

New Contributors

Full Changelog: https://github.com/PhpGt/Dom/compare/v2.2.3...v2.2.4

Fetch: Replaced async functionality

Published on by Greg Bowler

This feature removes any third part implementations of the underlying Promise implementation.

What’s Changed

Full Changelog: https://github.com/PhpGt/Fetch/compare/v1.0.1...v1.1.0

DomTemplate: January 2023 release

Published on by Greg Bowler

What’s Changed

Full Changelog: https://github.com/PhpGt/DomTemplate/compare/v3.1.4...v3.1.6

DomTemplate: v3 December 2022 release

Published on by Greg Bowler

What’s Changed

Full Changelog: https://github.com/PhpGt/DomTemplate/compare/v3.1.4...v3.1.5