mgalkina/openfoodfactssearchproducts-module

Openfoodfacts: Search Products

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:laravel-module

pkg:composer/mgalkina/openfoodfactssearchproducts-module

dev-main 2021-12-12 18:35 UTC

This package is auto-updated.

Last update: 2026-01-13 04:45:51 UTC


README

Installation

Install:

Run commands:

cd [your laravel project]
composer require mgalkina/openfoodfactssearchproducts-module
php artisan module:migrate Openfoodfactssearchproducts
cd .\Modules\Openfoodfactssearchproducts\
npm install
npm run production

Enable the module:

php artisan module:enable Openfoodfactssearchproducts

Module page:

https://[your host name]/openfoodfactssearchproducts

Tests

Add to phpunit.xml:

<testsuite name="Feature">
    <directory suffix="Test.php">./Modules/**/Tests/Feature</directory>
</testsuite>

<testsuite name="Unit">
    <directory suffix="Test.php">./Modules/**/Tests/Unit</directory>
</testsuite>

Run tests:

php artisan test

License

MIT