medinaproduction/laravel-toolkit
最新稳定版本:1.0.2
Composer 安装命令:
composer require medinaproduction/laravel-toolkit
包简介
MedinaProduction Laravel Toolkit Package
关键字:
README 文档
README
This package is designed to help with general tools in MedinaProduction Laravel projects.
Simple usage
To use this package, follow these steps:
- In your projects
composer.jsonfile, add the following:
"repositories": [
...
{
"type": "vcs",
"url": "git@gitlab.com:medinaproduction/laravel-toolkit.git"
}
]
- In the terminal for your project, write the following:
composer require medinaproduction/laravel-toolkit`
How to use (and develop)
To use this package and to continue developing the package, follow these steps:
- In your projects
composer.jsonfile, make sure you have the following:
composer require mnsami/composer-custom-directory-installer
- When question apperears: Do you trust "mnsami/composer-custom-directory-installer"... press
y. - Add the following to the
composer.jsonfile.
"extra": {
...
"installer-paths": {
...
"./support/laravel-toolkit": ["medinaproduction/laravel-toolkit"],
}
},
- Also add the following to the
repositoriessection:
"repositories": [
...
{
"type": "vcs",
"url": "git@gitlab.com:medinaproduction/laravel-toolkit.git"
}
]
- Finally, run the following command:
composer require medinaproduction/laravel-toolkit --prefer-source
- A new clone of the repository is created under
support/laravel-toolkit/....
Get tests to work
Note: This guide is for testing in a standalone folder. If you want to run tests within the support folder, the process may be a bit different.
- Naviage to package in termianl
cd support/laravel-toolkit - Make sure you have run
composer updatein your package folder - Run tests
./vendor/bin/phpunit
统计信息
- 总下载量: 234
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-30