LaravelPackages.net
Acme Inc.
Toggle sidebar
tahiryasin/laravel-product

A simple 'Product' module.

1
0
About tahiryasin/laravel-product

tahiryasin/laravel-product is a Laravel package for a simple 'product' module.. It currently has 0 GitHub stars and 1 downloads on Packagist. Install it with composer require tahiryasin/laravel-product. Discover more Laravel packages by tahiryasin or browse all Laravel packages to compare alternatives.

Last updated

Product Module

A simple "Product" module for Backend Developer- Skill Assessment Test.

Installation

  1. Download the zip folder from the github repository.
  2. Create a directory named modules/Product at application root
  3. Unzip the downloaded folder and copy contents inside modules/Product directory
  4. Now open config/app.php and register module service provider.
'providers' => [
        ...
        /*
         * Package Service Providers...
         */

        \Modules\Product\Providers\ProductServiceProvider::class,
]
  1. Now open composer.json and go to autoload psr-4.
    "autoload": {
        "psr-4": {
            ...
            "Modules\\Product\\": "modules/Product/"
        }
    }
  1. Set application environment variable MAIL_MAILER=log
  2. 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.

Comments