Download the PHP package natepage/easy-html-element without Composer

On this page you can find all versions of the php package natepage/easy-html-element. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package easy-html-element

EasyHtmlElement

Build Status SensioLabs Insight Quality Score

An easy way to create simple or complex html elements in PHP.


EasyHtmlElement is an open source software library which allows you to define a map of your html elements and use them simply in your html code. You can define simple elements like links, buttons, lists, images or use custom types. But the power of this library is to define complex html structures with elements which has attributes, parent, children or extends others elements attributes. And after your elements map made, you can do it with only one PHP method!

Installation

Composer

Find all informations about Composer from https://getcomposer.org/

Run the following command:

Repository

You can directly clone the repository but you'll have to install the dependencies manually.

Usage

Did you already use an array in PHP? Yes? Nice! With EasyHtmlElement just have to create a simple PHP array and we manage the rest! We'll call this array map for all the next examples.

So map is a simple key/value array where you will define your html elements like:

Simple example

In the example above we just display a simple div and yes I agree you don't really need a library to do that but it's to show the logic so if you want to see the real power of EasyHtmlElement keep reading!

You can see you don't need to call a specific method to render elements, we use the magic method __toString() to make your life easier! :)

More Complex Example (Bootstrap Panel)

Here we have:

A complex and dynamic html structure in just on method, that's what EasyHtmlElement promised you!

Integrations

EasyHtmlElement provides integrations for:

More informations from integrations.

Documentation

Does it make you want to learn more about the EasyHtmlElement power?

Read the documentation.

Dependencies

We actively recommend you to use symfony/yaml to make your map building easier.

Customization

If you need to customize the code logic, EasyHtmlElement one more time makes it easier for you with somes interfaces. All informations in the documentation.

Contributing

Please don't hesitate to open an issues or a pull request if you find something wrong in the code, a typo in the documentation, if you have an evolution idea in mind or if you just want to say hello! :)

Versioning

EasyHtmlElement is maintained under the Semantic Versioning guidelines so releases will be numbered with the following format:

For more informations on SemVer, please visit http://semver.org


All versions of easy-html-element with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
airmanbzh/php-html-generator Version ^1.0
zendframework/zend-escaper Version ^2.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package natepage/easy-html-element contains the following files

Loading the files please wait ....