Download the PHP package tyrans/laravel_module without Composer

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

Laravel 模块化开发脚手架

创建模块:

你可以通过在终端中运行 create-project 命令来创建一个 ProductModule

项目创建完成后需要对项目 composer.json 文件进行初始化配置:

也可以使用简化命令:

然后执行 composer 命令:

目录结构说明

使用说明

模块中的开发过程与在 laravel 框架中无异:

模块化开发规范 (概述)

使用模块化开发,主要为了最终达到以下目的:

代码分离

  1. 使用 Request 处理表单、权限验证
  2. Model 只提供属性申明、依赖关系、读写器
  3. controller 实现针对具体的场景实现业务拼接
  4. 业务核心代码 创建到自建类、扩展、抽象接口中
  5. 模块允许存在本地调试路由,但禁止上传到版本管理服务器
  6. 模块中不建议创建控制器
  7. 模块独立的配置信息申明在模块中,一般配置信息通过 env 完成
  8. 项目中主要实现对模块的调用、环境配置、控制器、路由的申明;

详情查看 《laravel模块化开发规范》 - 待补充.


All versions of laravel_module with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
tyrans/laravel_framework Version dev-master
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 tyrans/laravel_module contains the following files

Loading the files please wait ....