Download the PHP package nodus-it/livewire-core without Composer

On this page you can find all versions of the php package nodus-it/livewire-core. 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 livewire-core

Livewire Core

Build Status codecov

The core package for all Laravel Livewire packages from Nodus-IT.

This package is currently being developed and is still in testing

Installation

You can install the package via composer: `

You can publish the config file with: `

You can publish the blade views with: `

Usage

Controller integration

All our Livewire components can be used as standalone in your blade views as you are used to it. But we are offering an optional way to integrate a Livewire component so to say as full page component into your controllers.

In order to use this, you need to use the SupportsLivewire trait in your controller. This trait provides a single function named livewire() where you can pass your component class and an array with parameters: ``

By default, this would be extending a layout called layouts.app and adding the component to a section called content.

Customize layout or section

In order to customize the used layout and/or section you have two possible ways. First you could use the fluent interface of the LivewireComponent class, which is returned when calling the livewire() method. With that you can just pass your desired settings via the following methods: In case you don't want to define this on everylivewire()call, you can also add some properties and methods to your controller, with which you can define the default layout, the layout parameters and the default section for alllivewire()calls of this controller:

CSP nonce handling

This package provides the support for the Content Security Policy (CSP) nonce for all assets in the Laravel Livewire packages from Nodus-IT. To use it you need to add your CSP nonce provider callback to the config: `` The generated nonce is then automatically added to all assets provided by our packages.

For ease of use we added also a Blade Directive for adding the nonce HTML attribute to your custom assets: `

Testing

`

License

The MIT License (MIT). Please see License File for more information.


All versions of livewire-core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
livewire/livewire Version ^2.3
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 nodus-it/livewire-core contains the following files

Loading the files please wait ....