Download the PHP package vicgutt/laravel-components-backport without Composer

On this page you can find all versions of the php package vicgutt/laravel-components-backport. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-components-backport

Backporting Laravel 7+ Blade components to Laravel 5.8+

This package backports support for Laravel 7+'s Blade components on older Laravel version. This package has been tested on Laravel 5.8 & 6. Older Laravel versions might also work if we lower the illuminate dependencies in the composer.json file. I have not tested any versions prior to 5.8 because I personally have no need for it but I'm open to any PR 👌.

This package does not attempt to do more nor less than what Laravel 8+ currently provides.

Installation

Install the package via composer:

This package automatically registers it's provider and will act as your app's new ViewServiceProvider. Therefore you should comment out the default one in your config/app.php:

Documentation

For more details on how to use Laravel 7+'s components, head to the official Laravel docs.

What was the changes required to make this work ?

Not much, suprisingly. This package is mostly a fork of illuminate/view (v8.13.0 at this point) with a few tweaks:

PhpEngine.php

InvokableComponentVariable.php & DeferringDisplayableValue.php


All versions of laravel-components-backport with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5|^8.0
nesbot/carbon Version ^2.41
symfony/console Version ^4.4|^5.0
illuminate/console Version 5.8.*|^6
illuminate/support Version 5.8.*|^6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vicgutt/laravel-components-backport contains the following files

Loading the files please wait ....