PHPackages                             arcanedev/markup - 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. arcanedev/markup

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

arcanedev/markup
================

PHP HTML Markup generator

1.2.0(11y ago)64331MITPHPPHP &gt;=5.4.0

Since Jan 5Pushed 10y ago4 watchersCompare

[ Source](https://github.com/ARCANEDEV/Markup)[ Packagist](https://packagist.org/packages/arcanedev/markup)[ Docs](https://github.com/ARCANEDEV/Markup)[ RSS](/packages/arcanedev-markup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (10)Used By (1)

PHP HTML MARKUP Generator [![Packagist License](https://camo.githubusercontent.com/a67b5ffc8a426ad3cc12575c89f802581a67305f08acf894a6ba92ae150f6520/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f415243414e454445562f4d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Markup/blob/master/LICENSE)
===============================================================================================================================================================================================================================================================================================================================================================

[](#php-html-markup-generator-)

[![Travis Status](https://camo.githubusercontent.com/e148b644118ef652ca2d9b0c85531eadecdade537fd9a20b785bdb3639dd0b5a/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f415243414e454445562f4d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ARCANEDEV/Markup)[![Coverage Status](https://camo.githubusercontent.com/c6dfa0021640c50a35fc9f6720ab01b3ddf7e800795018f263cdadf83aaa8afa/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f415243414e454445562f4d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Markup/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5f47d0d183a801db001734b737293110cf64d4ea1f64726cb7e93c388782ff7a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f415243414e454445562f4d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Markup/?branch=master)[![Github Release](https://camo.githubusercontent.com/cf202c8cea664c9eb2b53b83a790a3fc7a24e2085a3a4e1050636615aeb307e9/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f415243414e454445562f4d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Markup/releases)[![Packagist Downloads](https://camo.githubusercontent.com/24fb305ff70a1e3abed74037e506ee60e2098692a0550a37193063204c878d98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617263616e656465762f6d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/markup)[![Github Issues](https://camo.githubusercontent.com/8422bbf213ad4091c3e81154a6cb4d8a62afac6486fc797ebbd571b262e4507a/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f415243414e454445562f4d61726b75702e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Markup/issues)

*By [ARCANEDEV©](http://www.arcanedev.net/)*

Create HTML tags and render them efficiently.

### Requirements

[](#requirements)

```
- PHP >= 5.4.0

```

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

[](#installation)

\###Composer

You can install the package via [Composer](http://getcomposer.org/). Add this to your `composer.json`:

```
{
    "require": {
        "arcanedev/markup": "~1.1"
    }
}
```

Then install it via `composer install` or `composer update`.

### Laravel

[](#laravel)

After the installation, include the service provider within `app/config/app.php`.

```
'providers' => [
    ...
    'Arcanedev\Markup\Laravel\ServiceProvider',
];
```

And finally, add the facade alias to this same file at the bottom:

```
'aliases' => [
    ...
    'Markup' => 'Arcanedev\Markup\Laravel\Facade',
];
```

USAGE
-----

[](#usage)

To generate your title tag for example :

```
$title = Markup::title('Hello world');
echo $title->render()

// or
echo Markup::title('Hello world');

// The result: Hello world
```

And There is more:

```
echo Markup::img('img/logo.png', 'alt Logo', ['class' => 'logo img-responsive']);
// Result :

echo Markup::meta('property', 'og:description', 'Site web description');
// Result :

echo Markup::link('page/about-us', 'About us', ['class' => 'btn btn-info']);
// Result : About us

echo Markup::style('assets/css/style.css', ['media' => 'all']);
// Result :

echo Markup::script('assets/js/app.js');
// Result :
```

### Contribution

[](#contribution)

Any ideas are welcome. Feel free the submit any issues or pull requests.

### TODO

[](#todo)

- Documentation
- Examples
- More tests and code coverage
- Laravel Support (v4.2)
- Laravel Support (v5.0)
- Refactoring

License
-------

[](#license)

Markup package is licenced under the [MIT license](https://github.com/ARCANEDEV/Markup/blob/master/LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

8

Last Release

4128d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9376707?v=4)[ARCANEDEV](/maintainers/arcanedev)[@ARCANEDEV](https://github.com/ARCANEDEV)

---

Top Contributors

[![arcanedev-maroc](https://avatars.githubusercontent.com/u/3282340?v=4)](https://github.com/arcanedev-maroc "arcanedev-maroc (63 commits)")

---

Tags

phplaravelgeneratorhtmltagsmarkupmeta

### Embed Badge

![Health badge](/badges/arcanedev-markup/health.svg)

```
[![Health](https://phpackages.com/badges/arcanedev-markup/health.svg)](https://phpackages.com/packages/arcanedev-markup)
```

###  Alternatives

[okipa/laravel-table

Generate tables from Eloquent models.

56752.8k](/packages/okipa-laravel-table)[torann/laravel-meta-tags

A package to manage Header Meta Tags

65273.3k4](/packages/torann-laravel-meta-tags)[rumenx/php-feed

Framework-agnostic PHP Feed generator for Laravel, Symfony, and more.

3652.3k](/packages/rumenx-php-feed)[okipa/laravel-form-components

Ready-to-use and customizable form components.

198.0k1](/packages/okipa-laravel-form-components)[fomvasss/laravel-meta-tags

A package to manage SEO (meta-tags, xml-fields, etc.)

3028.9k](/packages/fomvasss-laravel-meta-tags)[tomatophp/filament-helpers

Helper Class Generator to manage your forms and table inside your filament app

127.9k](/packages/tomatophp-filament-helpers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
