PHPackages                             lcloss/template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. lcloss/template

ActivePackage[Templating &amp; Views](/categories/templating)

lcloss/template
===============

Converts HTML template to Blade template and use it on Laravel Project

v1.0.10(1y ago)21561MITPHP

Since Aug 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lcloss/template)[ Packagist](https://packagist.org/packages/lcloss/template)[ RSS](/packages/lcloss-template/feed)WikiDiscussions main Synced 3w ago

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

Template Package
================

[](#template-package)

Other languages
---------------

[](#other-languages)

- [English](README.md)
- [Português](README-pt.md)

Description
-----------

[](#description)

Do you have a template written in HTML and want to convert it to Blade, to use in a Laravel project? Then this package is for you. Its use is simple, and what you want is just the beginning to start your new Laravel project, from an HTML template. After running the `php artisan template:build` command, you will have your files converted.

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

[](#installation)

You can install the package via composer:

```
composer require lcloss/template --dev
```

Usage
-----

[](#usage)

1. To convert your HTML files to Blade, start by creating the `/resources/views/templates/src` directory.
2. Copy your HTML files into the `/src` folder above.
3. If the template comes with `assets` directory, also copy the `assets` folder into `/src`.
4. Then, run the command:

```
php artisan template:build
```

5. The package will create the `/resources/views/templates/dist` folder with the converted files.
6. It will also create routes to view your template.

Open the browser at: This route points to `index.blade.php`.

If there is another file as the root, such as `home.html`, then open the browser at:

Credits
-------

[](#credits)

- \[Luciano Closs\](lcloss @ github)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security-related issues, please email instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Code of Conduct
---------------

[](#code-of-conduct)

Please see [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Testing
-------

[](#testing)

No tests have been written, as it is only intended to convert files. For a next version, I will probably add the folder configuration via `.env`, so you can create tests. For now, we want something very simple.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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 ~1 days

Total

11

Last Release

668d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10761341?v=4)[Luciano Closs](/maintainers/lcloss)[@lcloss](https://github.com/lcloss)

---

Top Contributors

[![lcloss](https://avatars.githubusercontent.com/u/10761341?v=4)](https://github.com/lcloss "lcloss (15 commits)")

### Embed Badge

![Health badge](/badges/lcloss-template/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

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