sikessem/values

This package is abandoned and no longer maintained. No replacement package was suggested.

Objects with strict types to manage PHP variables and values.

0.x-dev 2024-09-27 16:57 UTC

This package is auto-updated.

Last update: 2024-10-27 17:08:21 UTC


README

sikessem-logo


php-icon packagist-version-icon packagist-download-icon license-icon actions-icon pr-icon twitter-icon

PHP Value Objects

Objects with strict types to manage PHP variables and values.

Warning

This package is no longer maintained. Please use sikessem/core instead.

πŸ”– Contents

πŸ“‹ Requirements

  • Requires PHP >=8.0 (at least 8.0.30 recommended to avoid potential bugs).
  • Requires Composer v2+ to manage PHP dependencies.

πŸŽ‰ Getting Started

⚑️ Installation

Use Composer to install sikessem/values:

composer require sikessem/values

πŸ§‘β€πŸ’» Usage

<?php

use Sikessem\Values\Value;

$two = Value::from(2); // 2
$two->update(fn($val) => $val * $val); // 4
$two->set(5); // 5

πŸ§ͺ Testing and debugging

🧹 Keep a modern codebase with Pint:

composer lint

βš—οΈ Run static analysis:

  • Using PHPStan:
composer analyse
  • Using Psalm:
composer inspect

βœ… Run unit tests using PEST

composer test

πŸ› Check all code bugs:

composer debug

πŸš€ Fix the entire code:

composer fix

πŸ“– Documentation

The full documentation for the Sikessem Values can be found on this address.

πŸ‘ Contribution

The main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.

πŸ‘· Code of Conduct

Sikessem has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

πŸ‘₯ Contributing Guide

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.

πŸ”’οΈ Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

πŸ’¬ Discussions

Larger discussions and proposals are discussed in Sikessem's GitHub discussions.

πŸ” Security Reports

If you discover a security vulnerability within Sikessem, please email SIGUI KessΓ© Emmanuel at contact@sigui.ci. All security vulnerabilities will be promptly addressed.

πŸ“„ License

The Sikessem Values is open-sourced software licensed under the MIT License - see the LICENSE file for details.

Made with ❀︎ by @siguici.