PHPackages                             theframework/helpers - 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. theframework/helpers

ActiveLibrary

theframework/helpers
====================

Library that helps you to create html elements using OOP

0.1.0(8y ago)152[7 issues](https://github.com/eacevedof/prj_theframework_helpers/issues)MITPHPPHP &gt;=5.3.0

Since May 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/eacevedof/prj_theframework_helpers)[ Packagist](https://packagist.org/packages/theframework/helpers)[ Docs](https://github.com/eacevedof/prj_theframework_helpers)[ RSS](/packages/theframework-helpers/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

The Framework Helpers Version 0.1.0
===================================

[](#the-framework-helpers-version-010)

PHP view helpers for rendering html elements using objects

- [helpers.theframework.es](http://helpers.theframework.es/) **manual download**
-  **composer**

Installing with composer
------------------------

[](#installing-with-composer)

```
    composer require theframework/helpers
```

Let's suppose you have your root folder **"myphpsite"** with an **index.php** file in it:

```
    PCALEX@MSI MINGW64 /d/temp/myphpsite

    $ composer require theframework/helpers

    Using version ^0.0.2 for theframework/helpers
    ./composer.json has been created
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 1 install, 0 updates, 0 removals
      - Installing theframework/helpers (0.0.2): Loading from cache
    Writing lock file
    Generating autoload files

    PCALEX@MSI MINGW64 /d/temp/myphpsite
```

Once it is installed with composer this structure is created:

```
    myphpsite/
        vendor/
            composer/
            theframework/
                helpers/
                    autoload.php
                    ...
            autoload.php
        composer.json
        composer.lock

        index.php  --> your index file

```

Including autoload.php
----------------------

[](#including-autoloadphp)

The autoload.php file enables you to instantiate classes (in this case, helpers) using namespaces paths (the **use** operator) in place of using **require**,**include**,**require\_once**,**include\_once** operators

```
