PHPackages                             pointybeard/helpers-foundation-factory - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pointybeard/helpers-foundation-factory

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pointybeard/helpers-foundation-factory
======================================

Provides foundation factory classes and factory design pattern functionality

1.0.4(7y ago)04.1k—8.3%3MITPHPPHP &gt;=7.2

Since May 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pointybeard/helpers-foundation-factory)[ Packagist](https://packagist.org/packages/pointybeard/helpers-foundation-factory)[ Docs](https://github.com/pointybeard/helpers-foundation-factory)[ RSS](/packages/pointybeard-helpers-foundation-factory/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (6)Used By (3)

PHP Helpers: Factory Foundation Classes
=======================================

[](#php-helpers-factory-foundation-classes)

- Version: v1.0.4
- Date: June 05 2019
- [Release notes](https://github.com/pointybeard/helpers-foundation-factory/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/helpers-foundation-factory)

Provides foundation factory classes and factory design pattern functionality

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

[](#installation)

This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/helpers-foundation-factory` or add `"pointybeard/helpers-foundation-factory": "~1.0.0"` to your `composer.json` file.

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

### Requirements

[](#requirements)

There are no particuar requirements for this library other than PHP 7.2 or greater.

To include all the [PHP Helpers](https://github.com/pointybeard/helpers) packages on your project, use `composer require pointybeard/helpers`

Usage
-----

[](#usage)

Include this library in your PHP files with `use pointybeard\Helpers\Foundation\Factory` and extend the `Factory\AbstractFactory` class like so:

```
