Download the PHP package 8fold/php-markup without Composer

On this page you can find all versions of the php package 8fold/php-markup. 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 php-markup

8fold Markup for PHP

8fold Markup is NOT a new markup format akin to XML, HTML, YAML, and all the other MLs; instead, it is a library for generating most of those (XML and HTML) using PHP.

It uses a similar API found in 8fold Shoop to create consistency across libraries.

Installation

Usage

You can also go straight to outputting a string.

You can add attributes to the elements.

You can start with HTML, which is self-aware (understands and conforms to the w3c HTML specificaton).

If the HTML element is unknown, Markup will fall back to using Element.

There are two ways to create more compound elements (or components at this point). The first example uses Html while the second used UIKit.

If the UIKit component is unknown, it will fallback to Html.

Why?

When it comes to semi-sctructured data, XML and derivitives can be tedious and heavy on syntax. 8fold Markup makes outputing semf-sctructured data easier and allowing for more dynamism.

Markup minifies the output, making a smaller, faster package sent over the wire.

Markup prefers one I/O step to compile (unfold) the resulting plain text, which means there is no parsing of strings to arrive at the desired output.

When it comes to HTML, attributes will be consistently ordered and, if a given attribute is not a part of the W3C HTML5 specification or is deprecated for that element, it will automatically be removed; keeping your markup up to date without having to rewrite a bunch of HTML templates.

Guiding Principles

Minimize I/O while maximizing flexibility and extensibility.

Standardize HTML output and allow users to set their own standards.

Simplify creation of complex but typical complex elements (UIKit).

Governance

Contibuting

Anyone can submit PRs to add funcationality as we are only adding things we need for the solutions we are developing.

Each PR will be reviewed, including those submitted by core developers (no direct push).

Versioning

We follow semantic versioning. We are operating under a zero-major at this time. x.y.z: x = major, y = minor, z = patch. In this case x remains at 0 to communicate that APIs may come and go without warning. With that said, changes to y are typically reserved for breaking changes and changes to z represent added features and APIs or bug fixes.

History

This library started as three (or more) separate libraries, each at varying degrees of stability.

Element was at 3.0.1; Html was also at 3.0.1; UIKit was never previously released to the public.

This library replaces those three; deprecating them in the process. (The sunsetting period for the other libraries and projects will end on or after January 1st 2021.)


All versions of php-markup with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
8fold/php-shoop-shelf Version ^0.8.5
8fold/php-html-spec Version ^0.0.5
nesbot/carbon 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 8fold/php-markup contains the following files

Loading the files please wait ....