PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Axel Pardemann   Handy Properties with PHP Accessors and Mutators   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Handy Properties with PHP Accessors and Mutators
Accessors and mutators to access class variables
Author: By
Last change: Update PHP version in readme
Add PHP 8 support (#4)

Add PHP 8 support and update CI workflows and badges.

* Remove PHPInsights
* Change CI to Github Actions
* Add support for PHP 8.0
* Fix Github actions
* Updated badges in readme
* Fix action matrix
Update changelog

# |<---- Preferably using up to 50 chars --->|<------------------->|
# Example:
# Add feature for a user to like a post


# (Optional) Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|


# (Optional) Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23


# (Optional) List all co-authors, so version control systems can connect teams.
# Example: Co-authored-by: Name <[email protected]>


# (Optional) Tags suitable for searching, such as hashtags, keywords, etc.
# Example: Tags: authentication, login, security


# --- COMMIT END ---
# === Remember to ===
# * Capitalize the subject line
# * Use the imperative mood in the subject line
# Imperative verbs usage:
# - Add = Create a capability e.g. feature, test, dependency.
# - Drop = Delete a capability e.g. feature, test, dependency.
# - Fix = Fix an issue e.g. bug, typo, accident, misstatement.
# - Bump = Increase the version of something e.g. a dependency.
# - Make = Change the build process, or tools, or infrastructure.
# - Start = Begin doing something; e.g. enable a toggle, feature flag, etc.
# - Stop = End doing something; e.g. disable a toggle, feature flag, etc.
# - Optimize = A change that MUST be just about performance, e.g. speed up code.
# - Document = A change that MUST be only in the documentation, e.g. help files.
# - Refactor = A change that MUST be just refactoring.
# - Reformat = A change that MUST be just format, e.g. indent line, trim space, etc.
# - Rephrase = A change that MUST be just textual, e.g. edit a comment, doc, etc.
# * Do not end the subject line with a period
# * Separate subject from body with a blank line
# * Use the body to explain what and why vs. how
# * Can use multiple lines with "-" or "*" for bullet points in body
# --------------------
# === Use semantic versioning ===
# - Add, Start: Increment SemVer MINOR version when there is a new capability.
# - Drop, Stop: Increment SemVer MAJOR version when there is an incompatibility.
# - Fix, Bump, Make, Optimize, Document: Increment SemVer PATCH version.
# - Refactor, Reformat, Rearrange, Redraw, Reword: Increment SemVer PATCH version.
# --------------------
# === Usage ===
# Put the template wherever you want.
# Example:
# ~/.gitmessage
#
# Configure git to use the template file by running:
# git config --global commit.template ~/.gitmessage && git config --global commit.cleanup strip
#
# Or manually add the template file to the ~/.gitconfig file:
# [commit]
# template = ~/.gitmessage
# cleanup = strip
# --------------------
Date: 11 hours ago
Size: 3,386 bytes
 

Contents

Class file image Download

<div align="center">

<h1>PHP Handy Properties</h1>
<p align="center"> 
    <a href="https://packagist.org/packages/norse-blue/handy-properties"><img alt="Stable Release" src="https://img.shields.io/packagist/v/norse-blue/handy-properties.svg?style=flat-square&label=release&logo=packagist&logoColor=eceff4&colorA=4c566a&colorB=5e81ac"></a>
    <a href="https://github.com/norse-blue/php-handy-properties/actions?query=workflow%3Arun-tests"><img alt="Build Status" src="https://img.shields.io/github/workflow/status/norse-blue/php-handy-properties/run-tests.svg?style=flat-square&label=build&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
    <a href="https://php.net/releases"><img alt="PHP Version" src="https://img.shields.io/packagist/php-v/norse-blue/handy-properties.svg?style=flat-square&label=php&logo=php&logoColor=eceff4&colorA=4c566a&colorB=b48ead"></a>
    <a href="https://codecov.io/gh/norse-blue/php-handy-properties"><img alt="Test Coverage" src="https://img.shields.io/codecov/c/github/norse-blue/php-handy-properties.svg?style=flat-square&label=coverage&logo=codecov&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
    <a href="https://codeclimate.com/github/norse-blue/php-handy-properties"><img alt="Maintainability" src="https://img.shields.io/codeclimate/maintainability/norse-blue/php-handy-properties.svg?style=flat-square&label=maintainability&logo=code-climate&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
    <a href="https://packagist.org/packages/norse-blue/handy-properties"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/norse-blue/handy-properties.svg?style=flat-square&label=downloads&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
    <a href="https://github.com/norse-blue/php-handy-properties/blob/master/LICENSE.md"><img alt="License" src="https://img.shields.io/github/license/norse-blue/php-handy-properties.svg?style=flat-square&label=license&logoColor=eceff4&colorA=4c566a&colorB=a3be8c"></a>
</p>

</div> <hr>

PHP Handy Properties is a PHP library that scaffolds the use of properties through accessors and mutators.

Installation

>Requirements: >- PHP 8.0+

Install this package using Composer:

composer require norse-blue/handy-properties

Usage

To get more in-depth knowledge about this package, please refer to the Official Documentation.

Changelog

Please refer to the CHANGELOG.md file for more information about what has changed recently.

Contributing

Contributions to this project are accepted and encouraged. Please read the CONTRIBUTING.md file for details on contributions.

Credits

Security

Please review our security policy to know how to report security vulnerabilities within this package.

Support the development

Do you like this project? Support it by donating

<a href="https://www.buymeacoffee.com/axelitus"><img src="docs/assets/images/buy-me-a-coffee.svg" width="180" alt="Buy me a coffee"></img></a>

License

This package is open-sourced software licensed under the MIT license.