conquest / core
Shared utilities for developing the Honed Laravel ecosystem.
Fund package maintenance!
Jdw5
Requires
- php: ^8.1
- illuminate/support: ^10.0||^11.0
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
This package is auto-updated.
Last update: 2024-11-23 08:13:22 UTC
README
Honed Core is a package of sharable traits and the Primitive
object used across all the Honed package ecosystem to handle serialization and other core functionality.
Installation
You can install the package via composer:
composer require honed/core
Usage
Extend a class using the Primitive
object to then use the traits provided to add functionality to your classes simply. The Primitive
object is designed for serialization to be sent over wire.
use Honed\Core\Primitive; class MyClass extends Primitive { use ...; public class toArray(): array { return []; } }
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.