Download the PHP package risentang/lumen-modules without Composer

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

Lumen-Modules

本项目修改自 nWidart/laravel-modules.

注:非常感谢 nWidart/laravel-modules提供的laravel模块化开发引擎,它非常清晰的分离开项目中每个业务模块的文件夹结构。 但由于lumen5.5的底层结构与laravel有很大不同,虽然nwidart本人为我们提供了对lumen的支持,但很遗憾,也许对lumen5.5版本框架来说,还是有一些bug,导致无法使用。通过我的研究,为大家提供一套基于lumen5.5版本的模块化开发引擎。

安装

首先,您需要安装composer,安装完成后,执行以下命令

或者在composer.json的request中添加:

运行

然后在[bootstrap/app.php]下添加

在项目根目录中创建[config]文件夹,再将[vender/risentang/lumen-modules/config/config.php]复制到[config]中,改名为[module.php]

自动加载

By default the module classes are not loaded automatically. You can autoload your modules using psr-4. For example: 由于默认module类没有加载进框架,你需要在autoload中psr-4添加如下配置

并运行

最后通过artisan指令来生成开发模块

官方文档

如果想了解更多请登陆 https://nwidart.com/laravel-modules/查看文档内容.


All versions of lumen-modules with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 risentang/lumen-modules contains the following files

Loading the files please wait ....