PHPackages                             make/accessible - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. make/accessible

ActiveLibrary[Testing &amp; Quality](/categories/testing)

make/accessible
===============

A very lightweight PHP package that let you easely access and test singleton classes and inaccessible instance members like private or protected methods and properties.

v0.1(7y ago)881[1 issues](https://github.com/e200/MakeAccessible/issues)1MITPHPCI failing

Since Nov 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/e200/MakeAccessible)[ Packagist](https://packagist.org/packages/make/accessible)[ Docs](https://github.com/e200/MakeAccessible)[ RSS](/packages/make-accessible/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Make/Accessible
===============

[](#makeaccessible)

Lightweight PHP package that let you test singleton classes and inaccessible (private or protected) instance members.

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Features](#features)
- [Usage](#usage)
- [Best practices](#best-practices)
- [Support](#support)
- [Contribute](#contribute)
- [Credits](#credits)
- [License](#license)

Installation
------------

[](#installation)

```
composer require make/accessible

```

Features
--------

[](#features)

- Call inaccessible methods
- Set values into inaccessible properties
- Get values from inaccessible properties
- Instantiate singleton classes

Usage
-----

[](#usage)

Suppose you have the class bellow:

```
