New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

teepluss/component

Component is used to separate small parts from the main view and still works perfectly.
246 2

Larablocks Analysis

teepluss/component works with Laravel 5 (latest release 1.0.1, Jul 28, 2015), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Jul 28, 2015)
  • 0 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jul 28, 2015.
  • No releases in the last 12 months.
  • First released: Jun 10, 2015.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require teepluss/component
Latest Version:1.0.1
PHP:>=5.4.0
Laravel:5
License:MIT
Last Updated:Jul 28, 2015
Links: GitHub  ·  Packagist
Maintainer: teepluss

Laravel 5 Component

Component is used to separate small parts from the main view and still works perfectly.

Installation

Composer

To get the latest version of Theme simply require it in your composer.json file.

"teepluss/component": "dev-master"

You'll then need to run composer update to download it and have the autoloader updated.

Laravel

In your config/app.php add 'Teepluss\Component\ComponentServiceProvider' to the end of the providers array:

'providers' => [
    ...
    'Teepluss\Component\ComponentServiceProvider',
]

Publish Configuration

php artisan vendor:publish --provider="Teepluss\Component\ComponentServiceProvider"

Usage

Create a Component

Using artisan CLI to create a component, then you can found your component into app/Components.

php artisan component:make LiveChatBox

The command will generate a structure like this:

root
|- app
|--- Components
|----- LiveChatbox
|------- assets
|--------- css
|------------ style.css
|--------- img
|--------- js
|------------ script.js
|------- lang
|--------- en
|------------ messages.php
|------- views
|--------- index.blade.php
|------- LiveChatbox.php
|----- gulp.js

Render a component.

{!! component()->uses('LiveChatBox', ['args' => '1'])->render() !!}

Working with assets.

Install gulp

npm install gulp

Using gulp to publish component assets.

$ cd app/Components/
$ gulp
$ gulp watch

Render all component scripts and styles from the main layout

// Display component scripts and styles.
{!! component()->scripts() !!}
{!! component()->styles() !!}

// Locate to asset path.
{!! component()->uses('LiveChatBox')->asset('img/someimage.png') !!}

Translation

{!! component()->trans('message') !!}

Support or Contact

If you have some problem, Contact teepluss@gmail.com

Support via PayPal

Alternatives to teepluss/component

facuz/laravel-themes

Theme will help you organize your themes inside Laravel projects easily and main...

45,419 137
ayra/laravel-themes

A powerful theme management system for Laravel 12.x that helps you organize them...

11,492 3
yaap/theme

Theme support for Laravel with assets, theme extends etc.

45,660 95

Version History

Version Released PHP Laravel License
1.0.1 >=5.4.0 >=5.0.1 MIT
1.0.0 >=5.4.0 >=5.0.1 MIT