Skip to content

Reagordi Serializable Closure provides an easy and secure way to serialize closures in PHP.

License

Notifications You must be signed in to change notification settings

reagordi/support-serializable-closure

Reagordi

Reagordi Support Serializable Closure


Latest Stable Version Total Downloads Build status Code Coverage

Mutation testing badge

static analysis type-coverage psalm-level

Reagordi Serializable Closure provides an easy and secure way to serialize closures in PHP.

Requirements

  • PHP 8.2 or higher.

Installation

The package could be installed with composer:

composer require reagordi/support-serializable-closure

General usage

Testing

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:

./vendor/bin/roave-infection-static-analysis-plugin

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm

Code style

Use Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:

./vendor/bin/rector

Dependencies

Use ComposerRequireChecker to detect transitive Composer dependencies.

License

The Reagordi Support Serializable Closure is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Reagordi Group.

Support the project

Open Collective

Follow updates

Official website Telegram

About

Reagordi Serializable Closure provides an easy and secure way to serialize closures in PHP.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Languages