PHPackages                             nekoos/laravel-component-polyfill - 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. nekoos/laravel-component-polyfill

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

nekoos/laravel-component-polyfill
=================================

Support blade component for laravel legacy

2.0.0.x-dev(4y ago)02MITPHPPHP ^7.2

Since Sep 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/NekoOs/laravel-component-polyfill)[ Packagist](https://packagist.org/packages/nekoos/laravel-component-polyfill)[ Docs](https://github.com/spatie/laravel-blade-x)[ RSS](/packages/nekoos-laravel-component-polyfill/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Laravel Component Polyfill
==========================

[](#laravel-component-polyfill)

Laravel 5.8 or lower support

Languages: English | [Español](README.es.md)

Benefits
========

[](#benefits)

- You can use components as if you were on Laravel 8.x version from your old Laravel version 5.8, in situations where migrating your project is impossible.
- You can feel confident to perform a migration later by simply removing this library and adopting the new version of the Framework.

Backstory
=========

[](#backstory)

Some time ago [Laravel Blade-X](https://spatie.be/docs/laravel-blade-x/v2/introduction) presented us with a proposal of components on steroids and after Laravel 7 adopted it officially into the Framework as Blade Components. as [Blade Components](https://laravel.com/docs/8.x/blade#components), however, this caused SPATIE to withdraw the support and also the namespaces of the support and also SPATIE namespaces differ from Laravel.

Therefore, I took it upon myself to create this polyfill to make sure the interfaces match and take advantage of the power of `Blade-X`. power of `Blade-X`.

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

[](#installation)

### Requirements

[](#requirements)

- PHP &gt;= 7.0

You can install the package via Composer:

```
composer require nekoos/laravel-components-polyfill
```

This package will be registered automatically.

Documentation
-------------

[](#documentation)

See [Laravel Blade Components](https://laravel.com/docs/8.x/blade#components) for component usage information. components:

```
