Download the PHP package liyuze/laravel-method-chaining-macros without Composer

On this page you can find all versions of the php package liyuze/laravel-method-chaining-macros. 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-method-chaining-macros

Laravel 方法链式调用代理 Macros

Latest Version on Packagist Total Downloads PHP Composer & Test

此扩展包是针对对 liyuze/method-chaining-proxy 在 laravel 框架补充,通过 marcoable 特性的类快速创建方法链式调用代理器。

安装

你可以通过 composer 进行安装:

Macros

用例

chaining

代理器有三种工作模式:

  1. tap 模式,任何调用都 不会 影响代理的代理值。
  2. pipe 模式,任何调用都 影响代理的代理值。
  3. mixed 模式,只有有返回值,且不 null才会 影响代理的代理值。

tapChainingpipeChainingmixedChaining 是快速创建这三种工作模式的代理器,chainingmixedChaining 的别名。

更多功能查看 liyuze/method-chaining-proxy 文档

ifChaining

unlessChaining

配置

发布配置文件

删除注释或添加类名来修改 macro 类列表。 通过 rename 项来指定

如果

测试

修改记录

点击 CHANGELOG 查看最近修改了哪些内容。

贡献

点击 CONTRIBUTING 查看详情

安全

如果您发现任何与安全相关的问题,请发送电子邮件[email protected]而不是使用问题追踪器。

贡献值

开源协议

The MIT License (MIT)。点击 License File 查看更多信息。

Laravel 扩展包样板

本扩展包使用 Laravel Package Boilerplate 工具生成。


All versions of laravel-method-chaining-macros with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^8.0|^9.0
liyuze/method-chaining-proxy Version ^1.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 liyuze/laravel-method-chaining-macros contains the following files

Loading the files please wait ....