2017 © Pedro Peláez
 

library blade-components

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

image

yocmen/blade-components

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

  • Monday, January 30, 2017
  • by yocmen
  • Repository
  • 2 Watchers
  • 6 Stars
  • 283 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 22 % Grown

The README.md

Blade Components and slots for Laravel 5.1.x

This package introduces the concept of components in blade templating for Laravel 5.1.x LTS, (*1)

Components allow you to extend a view and inject content into it, inline, within your views., (*2)

Why?

To make it easier to create reusable components. Maybe, like me, you need this feature in your L5.1.x app and cant upgrade to L5.4.x because is to hard change a big project., (*3)

Installation

Begin by installing this package through Composer., (*4)

{
    "require": {
        "yocmen/blade-components": "v1.*"
    }
}

Next open up app/config/app.php, comment out the Illuminate View Service Provider, and add the one from this package:, (*5)

'providers' => array(
    //'Illuminate\View\ViewServiceProvider',
    ...
    'Yocmen\BladeComponents\BladeComponentsServicesProvider',
)

And that's it!, (*6)

All documentation for this feature u can find it here: https://laravel.com/docs/5.4/blade#components-and-slots, (*7)

The Versions

30/01 2017

dev-master

9999999-dev https://github.com/yocmen/blade-components

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

  Sources   Download

MIT

The Requires

 

by Yocsel Mendoza

laravel component html blade l5

30/01 2017

v1.0.2

1.0.2.0 https://github.com/yocmen/blade-components

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

  Sources   Download

MIT

The Requires

 

by Yocsel Mendoza

laravel component html blade l5

27/01 2017

v1.0.1

1.0.1.0 https://github.com/yocmen/blade-components

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

  Sources   Download

MIT

The Requires

 

by Yocsel Mendoza

laravel component html blade l5

24/01 2017

v1.0.0

1.0.0.0 https://github.com/yocmen/blade-components

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

  Sources   Download

MIT

The Requires

 

by Yocsel Mendoza

laravel component html blade l5