Skip to content

qq1060656096/collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection

项目中使用laravel collection需要引入很多额外的包,所以基于laravel collection复制出一个独立的collection

安装方式1

创建composer.json文件,并写入以下内容:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/qq1060656096/collection.git"
        }
    ],
    "require": {
        "zwei/collection": "0.0.1"
    }
}

执行composer install

安装方式2

composer require "zwei/collection:0.0.1"

单元测试使用

php vendor/phpunit/phpunit/phpunit --bootstrap vendor/autoload.php tests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages