Download the PHP package bchalier/laravel-modules without Composer

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

Divide your laravel application in modules, the laravel way

Introduction

This package is made to allow you to divide everything laravel allow you to make but divided in modules.

I ended up making this package even if other are doing exactly the same thing because after trying to work with them, after some time I always found them incomplete, no longer maintained, not respecting laravel standards and ideas (having module:make-controller command instead of make:controller, another file structure etc) so after trying 3-4 modules I got frustrated and starting making my own package trying to not reproduce the mistakes I saw earlier.

Here are the result, I hove you will like it as much as I do ! This is my first public package so please fell free to send me any suggestions, questions, bug report, feature request you may have !

Versioning

This package follow Semantic Versioning, see : https://semver.org/

Installation

You can install the package via composer:

Commands

All the standard make commands are extended with a -M|module=[module alias] options, here an example :

As it is an extend and not a replacement all options are available and working (or should be !)

The package also add some commands for dealing with the modules themselves :

Structure

The insides of a module is pretty much just a normal laravel, here an example (make it yourselves with ) :

Composer

At the root of your module you have a composer.json, same as the one you know with just a bit extra, you will find an example bellow.

IT DOES NOT INSTALL PACKAGES, would you want to look into wikimedia/composer-merge-plugin but it's not compatible with composer 2.

Here what that mean :

Remember that you will have to call for updating the settings above.

.env

Here are some settings added that may be used in your .env :

That's pretty much it, there probably plenty of room for improvement so I'm waiting your comments on this !


All versions of laravel-modules with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
ergebnis/json-printer Version ^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 bchalier/laravel-modules contains the following files

Loading the files please wait ....