Download the PHP package learn2torials/laravel-modular without Composer

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

Laravel Modular App Plugin

Laravel Release Issues Licence

Turn your existing laravel app into modular application. Laravel modular plugin allows you to write modular plugins for laravel.

Let's say, you are building a blog application. Your blog needs to have following features:

You can turn this features into a module and bundle your logic so that you can easily use this module for your other projects. You can easily turn on/off your module.

Plugin Requirements

Newer Laravel Plugin

For older version >= 8.0 of Laravel use this plugin Modular Laravel

How to install this plugin

Run following command to your existing project.

Above command will create a new directory under App/Modules with following structure.

Next, once this folder structure is generated you can turn on this module by creating console.php file in config directory.

That is it, your module is now enabled. You can verify that your module is working by browsing

Add prefix before all your modules. Set following config in config/console.php file.

Now, your module url will be:

Enable translation for you module. Set following config in config/console.php file.

Now, your module url will be:

When prefix is enabled

How to use translations. Check your view file in your module to get the idea of usage:

Module Configurations

Once module is enabled you can access module related configurations using following syntax.

For example: if you have installed a user module. Configuration file for user module is located in Modules/User/config.php

How to run module migration/seeder

To run migration or seeder for your modules. Add seeder to config file and run following commands.

Reference

Example is shown on https://learn2torials.com/a/laravel-module-management


All versions of laravel-modular with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-curl Version *
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 learn2torials/laravel-modular contains the following files

Loading the files please wait ....