tahiryasin/laravel-product
Composer 安装命令:
composer require tahiryasin/laravel-product
包简介
A simple 'Product' module.
README 文档
README
A simple "Product" module for Backend Developer- Skill Assessment Test.
Installation
- Download the zip folder from the github repository.
- Create a directory named
modules/Productat application root - Unzip the downloaded folder and copy contents inside
modules/Productdirectory - Now open
config/app.phpand register module service provider.
'providers' => [ ... /* * Package Service Providers... */ \Modules\Product\Providers\ProductServiceProvider::class, ]
- Now open composer.json and go to
autoload psr-4.
"autoload": { "psr-4": { ... "Modules\\Product\\": "modules/Product/" } }
- Set application environment variable
MAIL_MAILER=log - Now open the command prompt and run
php artisan config:cache
composer dump-autoload
php artisan migrate
Testing
Download the postman collection from email attachment and test the APIs.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-03-07