YorCreative / Laravel-Scrubber

A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.
MIT License
140 stars 12 forks source link

SQLite extension is required on non-development environments #19

Closed Magentron closed 1 year ago

Magentron commented 1 year ago

Running composer install on my test environment (which does not have the sqlite PHP extension), I get the following error:

$ composer install --no-interaction --prefer-dist --no-scripts -o
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - yorcreative/laravel-scrubber is locked to version v2.2.1 and an update of this package was not requested.
    - yorcreative/laravel-scrubber v2.2.1 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension.

It seems to me that this is caused by including

"ext-pdo_sqlite": "*",

in composer.json. Please move that to "require-dev"

yordadev commented 1 year ago

💪🏼 hey @Magentron thanks for this. Released this change with v2.2.2