diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8e3c8daf8..3e7636cd7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -43,10 +43,7 @@ jobs: with: php-version: '8.1' - - name: Update composer.lock file - run: composer update --no-install - - - name: Install Composer dependencies + - name: Install Composer dependencies 🪚 run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Cleanup diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aec956ad7..0b856179c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,6 @@ jobs: with: php-version: '8.1' - - name: Update composer.lock file - run: composer update --no-install - - name: Install Composer dependencies 🪚 run: composer install --no-progress --prefer-dist --optimize-autoloader @@ -59,9 +56,6 @@ jobs: with: php-version: '8.1' - - name: Update composer.lock file - run: composer update --no-install - - name: Install Composer dependencies 🪚 run: composer install --no-progress --prefer-dist --optimize-autoloader diff --git a/README.md b/README.md index 79a3b3563..7a8b43e2c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ and go from there. The documentation will be translated to English in the near f * Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile)) * MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona * PHP: 8.1 / 8.2 / 8.3 / 8.4 -* PHP Extensions: mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter +* PHP Extensions: mysqli, mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter * Crontab (Recommended) ## 💾 Installation diff --git a/install.php b/install.php index 5db769511..1f1371396 100644 --- a/install.php +++ b/install.php @@ -147,7 +147,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) { out('- Installing dependencies...', 'info'); runProcess('php ' . BB_ROOT . 'composer.phar update --no-install'); sleep(3); - runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi'); + runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi --optimize-autoloader'); define('COMPOSER_COMPLETED', true); } else { out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');