Download the PHP package hexters/laramodule without Composer

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

Laravel HMVC V4

Latest Stable Version Total Downloads License

Laramodule is a package for the Laravel framework that allows developers to organize and manage modules within their web application. It is designed to make it easy to create, manage and reuse modular components within a Laravel application.

With Laramodule, developers can create new modules that can be easily added to their application, and can also manage existing modules. It also allows developers to keep their code organized and maintainable, by separating different functionality into different modules. Each module can include its own controllers, views, routes, and other components.

Laramodule also provides an easy to use API for interacting with modules and their components. This allows developers to perform tasks such as enabling or disabling modules, and accessing module specific data or functionality.

Laramodule is a powerful tool for developers who want to create modular and maintainable applications with Laravel. It can help developers to speed up development, improve code quality and maintain a cleaner structure of their application.

Doc. Versions

Version Doc.
V3 Read Me

To install through Composer, by run the following command:

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

Managing assets

Install node module pacakge

Open vite.config.js in your project and follow the instruction below.

Install the node module package in all module folders

And run the vite command below

Artisan

Happy coding ☕

Livewire Support

We have a livewire version but it is still in the experimental stage, please see the full documentation below.

Livewire HMVC Documentation

Inertia Support

Laramodule is already supported for integration with InertiaJs. Follow the official Inertia.js website to see the installation steps. inertiajs.com

Inertia with VueJs

Follow the command below to create a module and select Inertia With VueJs in preset options.

You can run the command initialize inertia with vue for an existing module as below, but remember that. The route.php file will be replaced by a new file.

Create a new javascript file in your root project directory with name inertia.js and paste code below.

Add inertia.js to vite.config.js

Open your app.blade.php and change vite load assets.

Inertia with React

Follow the command below to create a module and select Inertia With ReactJs in preset options.

You can run the command initialize inertia with react for an existing module as below, but remember that. The route.php file will be replaced by a new file.

Create a new javascript file in your root project directory with name inertia.jsx and paste code below.

Add inertia.jsx to vite.config.js

Open your app.blade.php and change vite load assets.

Tailwind Setup

For Tailwindcss, you need a few changes in tailwind.config.js

Helpers

Module path

list of all module paths

list of all module paths

Enable Module

Disable Module

Get module status

Grouping module by status

View module details

Get active module

Events

Laramodule has two events when enabling and disabling the module that can be listened to for specific purposes.

You can read how to use events & listeners in the official documentation.

Supporting the project

You can support the maintainer of this project through the referral links below

Follow package updates on my X @hexters


All versions of laramodule with dependencies

PHP Build Version
Package Version
No informations.
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/laramodule contains the following files

Loading the files please wait ....