Download the PHP package elmahdi/apiato-livewire without Composer

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

Apiato Livewire Container

Laravel Livewire

This Apiato container provides a simple and easy way to add Livewire to Views.

---This repo was built upon this package below---

Github https://github.com/Elshaden/apiato-livewire.git

Why would anyone use an API Backend for a Frontend application?

Well, if you are familiar with Apiato, you would know that Apiato uses the DDD pattern, Domain Driven Design, this will make your code very well organized, easily maintainable, and most important, simple to have many developers work on the same application. While, the makers of Apiato, insist that it is mainly focused on API backend, I disagree, Apiato can handle both Web application as a frontend, and at the same time deliver flawless API backend.

Don't take my word for it.. Go on and give a test run...

Usage

In Existing Apiato Application

Once Installed via Composer Require to install the container in Apiato Application

Apiato Container Installer for more details

To Create a new Livewire Component V4

V4 uses an Apiato Generator, which will make all necessary boilerplate.

php artisan apiato:generate:container:livewire

you will be prompted to enter the Details of the Component

This will create a new section called Livewire

usual Livewire Class and View will be created in these folders

You must change the render method in the Livewire Component Class

Views

The View Must Extend layouts.app
@extends('vendor@livewire::layouts.app')

In this view you must call the related Livewrie Component in the @section('content')

Blade Components

You can Create your own Blade Component and use them in the views you have to register all of them in the Main service provider in the container.

The same can be done with Livewire UI Modal, which is added by default
for more Details on Livewire UI Modal visit https://github.com/livewire-ui/modal

Now you can use Livewire as Web frontend with Livewire, and all the classes of Apiato at your disposal.


All versions of apiato-livewire with dependencies

PHP Build Version
Package Version
Requires livewire/livewire Version ^3.0
wire-elements/modal Version ^2.0
jantinnerezo/livewire-alert Version ^3.0
jenssegers/agent Version ^2.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 elmahdi/apiato-livewire contains the following files

Loading the files please wait ....