PHP Optionals

Table of contents

  1. Installation
  2. Usage

PHP Optionals is a PHP library that allows you to chain method calls or access properties of an object while preventing errors from occurring.


The most straightforward way to install this package is by using Composer:

composer require norse-blue/optionals


Please refer to the usage section for more information on how to use the package.