Download the PHP package redux/modular without Composer

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

Redux-modular

Laravel modular Architecture

This repository offers a collection of Artisan commands designed to generate modules, controllers, requests, resources, models, and more within a Laravel application.

Introduction

This package simplifies the process of creating structured modules in a Laravel application, ensuring consistency and adherence to best practices.

Requirements

Installation

First add the following to your Composer autoload configuration in composer.json:

It should look like this:

Then, run:

Then install the following command in your Laravel project directory:

Create Modules

To create a module, use the following command:

This command will generate the necessary folders and files for your module.

You can now generate repository, trait, interface, or service or combined when you generate module with "--width" flag, using the following command:

or with multiple files

It will generate standardized name like ModuleNameInterface, ModuleNameService etc...

Create Controllers

To create a controller, use the following command:

To generate multiple controllers, you can separate the controllers with a comma. For example:

For an API controller, you can use the --api flag, the --resource flag, or both.

Create Models

To create a model, use the following command:

To generate multiple model, you can separate the model with a comma. For example:

To generate migrations for your models, you can use "--m" flags:

Create Requests

To create a new request within a module, use the following command:

Create Resources

To create a new resource within a module, use the following command:

Create Services

To create a new service within a module, use the following command:

Create Repositories

To create a new repository within a module, use the following command:

Create Interface

To create a new interface within a module, use the following command:

Create Traits

To create a new trait within a module, use the following command:

License

This project is licensed under the MIT License. See the MIT license file for details.


All versions of modular with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
illuminate/support Version >=5.4
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 redux/modular contains the following files

Loading the files please wait ....