Download the PHP package hexters/wirehmvc without Composer

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

Livewire HMVC (Beta)

Latest Stable Version Total Downloads License

This package is a support package for the hexters/laramodule package specifically made to integrate hexters/laramodule with livewire version 3.

To install through Composer, by run the following command:

Installation

Autoloading

By default the module classes are not loaded automatically. You can autoload your modules using psr-4. For example :

And make Modules directory in your root project folder

Don't forget to run the commands below

Manually add LivewireHandleUpdateProvider to the list of providers in the app.php config file

Important notes

If you want to use the mount() hook, make sure you run the parent::mount() for the parent class, see the example below.

Create Module

Follow the command below to create a module, and select Livewire in preset option!

You can also do this with an existing module, but remember that. The route.php file will be replaced by a new file.

Artisan

More complete commands can be seen at the link below.

Artisan Documentation

Layouting

You need a layout for your livewire component, you can use the default layout from livewire and you can also create one specifically for your module.

Default command from livewire

Custom for specific modules

Rendering components

Rendering components can only be done on components in the module folder, or you can see Modules\Blog\Http\Middleware\LivewireSetupBlogMiddleware class. I assume the module name is Blog!

In order for a component to be used in another module, you need to register it first, open the provider in each of your modules, see the example below.

Each declared component will be given a prefix according to the module name, so when calling it, you need to add a prefix in front of it, see the example below.


All versions of wirehmvc with dependencies

PHP Build Version
Package Version
Requires livewire/livewire Version ^3.0
hexters/laramodule Version ^4.0
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 hexters/wirehmvc contains the following files

Loading the files please wait ....