PHPackages                             ven7ura/laravel-html5-boilerplate - 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. ven7ura/laravel-html5-boilerplate

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

ven7ura/laravel-html5-boilerplate
=================================

HTML5 Boilerplate template integrated to Laravel.

0.7.1(6y ago)11873↓100%2MITHTML

Since Oct 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ven7ura/laravel-html5-boilerplate)[ Packagist](https://packagist.org/packages/ven7ura/laravel-html5-boilerplate)[ RSS](/packages/ven7ura-laravel-html5-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (7)Used By (0)

Laravel HTML5 Boilerplate
=========================

[](#laravel-html5-boilerplate)

This package gives the user a basic front-end template to bootstrap any project. Its heavly influenced by the [HTML5 Boilerplate project](https://github.com/h5bp/html5-boilerplate) and it also takes advantage of the Blade template engine provided by Laravel.

The package contains the basic structure of the layout (skeleton structure) and blade files for you to start coding and adding your content. It DOES NOT contain any CSS Framework such as Bootstrap or JS library OTHER THAN some of the ones that are included with the HTML5 Boilerplate project.

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

[](#installation)

Require this package with composer.

```
composer require ven7ura/laravel-html5-boilerplate
```

Publish the contents of the package to your project.

```
php artisan vendor:publish --provider="Ven7ura\Html5Boilerplate\Html5BoilerplateServiceProvider"
```

Structure
---------

[](#structure)

You will now have two new folders in the views folder, each with new files with unique purposes. The default structure and names are:

- common
    - footer.blade.php
    - header.blade.php
    - navigation.blade.php
- layout
    - body.blade.php
    - head.blade.php
    - master.blade.php
    - tail.blade.php

### Structure in detail

[](#structure-in-detail)

The **common** folder contains the files that are reusable throughout the template. You may of course remove any unnecessary files and be sure to remove the import at the *body.blade.php* file.

The **layout** folder contains the structure of the layout. These files rarely change.

- *body.blade.php*: contains all the structure of the `` content.
- *head.blade.php*: All metadata, title, description and importing of stylesheets are contained in this blade file.
- *master.blade.php*: this is the file that should be extended with. All of the template is contained and imported by this file.
- *tail.blade.php*: this file should be used to include javascript and other data right before the closing of the `` tag.

Usage
-----

[](#usage)

After publishing the files, there will be a file named `h5b.php` in your `config` folder. This file contains some configurations that can be used to bootstrap your application.

- The `manifest` value is relative to the *public* folder. Once you have that file ready you can set the path OR set it to `false` to remove the loading of a manifest file.
- `appleicon` has the same configuration as manifest in that is relative to the *public* folder and can be set to `false` if not used by your application.
- You can set Google Analytics by setting the `ga` value to `true` and by setting your `ga_id`.
- jQuery are used by default in HTML5 Boilerplate project, so they are included here. It's best if you compile and use the tools provided by laravel to have only one CSS and JS files. These options are to bootstrap your application.

The `body.blade.php` file in the *layout* folder should only import the `common` files you are going to use. Simply remove unused ones.

Make sure that the `head.blade.php` file in the *layout* folder has the correct path to your compiled css file, and that the metadata such as title are correctly used.

To use the layout is simple:

```
@extends('layout.master')

@section('title', 'The title of the page')
@section('description', 'Description of the page')

@section('content')
  Hello world! This is HTML5 Boilerplate.
@stop

```

Advanced
--------

[](#advanced)

There are two sections that you can use to your advantage. One is in the `head.blade.php` file and the other is in the `tail.blade.php`.

In the `head.blade.php` you will find a section called `styles`. With the blade engine you can take advantage and include custom styles to specific pages in your app by using:

```
@section('styles')
    @parent

@endsection

```

The other section is in the `tail.blade.php` file and its called `scripts` section. This is also useful when you are loading a JS library or framework for certain parts of your application.

License
-------

[](#license)

Laravel HTML5 Boilerplate is licensed under The MIT License (MIT).

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% 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 ~154 days

Total

5

Last Release

2474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d2aca2453141a67ad3c77c560562aa620fac968e695488d845e3d8f335b70f1?d=identicon)[ven7ura](/maintainers/ven7ura)

---

Top Contributors

[![ven7ura](https://avatars.githubusercontent.com/u/2340291?v=4)](https://github.com/ven7ura "ven7ura (45 commits)")[![gitflash](https://avatars.githubusercontent.com/u/1853960?v=4)](https://github.com/gitflash "gitflash (1 commits)")

---

Tags

HTML5templateboilerplatelayout

### Embed Badge

![Health badge](/badges/ven7ura-laravel-html5-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/ven7ura-laravel-html5-boilerplate/health.svg)](https://phpackages.com/packages/ven7ura-laravel-html5-boilerplate)
```

###  Alternatives

[oryzone/boilerplate-bundle

Integrates HTML5 boilerplate in symfony2 with twig

5820.4k](/packages/oryzone-boilerplate-bundle)

PHPackages © 2026

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