Table des matières
Participalibre
Mise en place de l'environnement de développement
Il y a une page qui détaille la mise en place de l'environnement de développement : Installer son environement de développement
Composer
Composer (site officiel) est le gestionnaire de package de PHP.
L'installation est détaillée sur la page dédiée.
Laravel
Laravel (site officiel) est le framework utilisé pour participalibre.
L'installation est détaillée sur la page dédiée.
Installer les dépendances de participalibre
PHP
Une fois composer et laravel installé, la doc propose d'installer les dépendances du projet.
On clone le dossier de participalibre :
$ git clone https://framagit.org/participalibre/participalibre.git
On se place dans ce dossier et on lance l'installation des dépendances :
$ cd participalibre $ composer install
Cliquez pour afficher ⇲
Cliquez pour masquer ⇱
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 - laravel/framework is locked to version v7.14.1 and an update of this package was not requested. - laravel/framework v7.14.1 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 2 - league/commonmark is locked to version 1.4.3 and an update of this package was not requested. - league/commonmark 1.4.3 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 3 - tijsverkoyen/css-to-inline-styles is locked to version 2.2.2 and an update of this package was not requested. - tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. Problem 4 - facade/ignition is locked to version 2.0.6 and an update of this package was not requested. - facade/ignition 2.0.6 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 5 - phar-io/manifest is locked to version 1.0.3 and an update of this package was not requested. - phar-io/manifest 1.0.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. Problem 6 - phpunit/php-code-coverage is locked to version 7.0.10 and an update of this package was not requested. - phpunit/php-code-coverage 7.0.10 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. Problem 7 - phpunit/phpunit is locked to version 8.5.5 and an update of this package was not requested. - phpunit/phpunit 8.5.5 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. Problem 8 - scrivo/highlight.php is locked to version v9.18.1.1 and an update of this package was not requested. - scrivo/highlight.php v9.18.1.1 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. Problem 9 - theseer/tokenizer is locked to version 1.1.3 and an update of this package was not requested. - theseer/tokenizer 1.1.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. Problem 10 - laravel/framework v7.14.1 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. - facade/flare-client-php 1.3.2 requires illuminate/pipeline ^5.5|^6.0|^7.0 -> satisfiable by laravel/framework[v7.14.1]. - facade/flare-client-php is locked to version 1.3.2 and an update of this package was not requested. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/7.4/cli/php.ini - /etc/php/7.4/cli/conf.d/10-opcache.ini - /etc/php/7.4/cli/conf.d/10-pdo.ini - /etc/php/7.4/cli/conf.d/20-calendar.ini - /etc/php/7.4/cli/conf.d/20-ctype.ini - /etc/php/7.4/cli/conf.d/20-exif.ini - /etc/php/7.4/cli/conf.d/20-ffi.ini - /etc/php/7.4/cli/conf.d/20-fileinfo.ini - /etc/php/7.4/cli/conf.d/20-ftp.ini - /etc/php/7.4/cli/conf.d/20-gettext.ini - /etc/php/7.4/cli/conf.d/20-iconv.ini - /etc/php/7.4/cli/conf.d/20-json.ini - /etc/php/7.4/cli/conf.d/20-phar.ini - /etc/php/7.4/cli/conf.d/20-posix.ini - /etc/php/7.4/cli/conf.d/20-readline.ini - /etc/php/7.4/cli/conf.d/20-shmop.ini - /etc/php/7.4/cli/conf.d/20-sockets.ini - /etc/php/7.4/cli/conf.d/20-sysvmsg.ini - /etc/php/7.4/cli/conf.d/20-sysvsem.ini - /etc/php/7.4/cli/conf.d/20-sysvshm.ini - /etc/php/7.4/cli/conf.d/20-tokenizer.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
La ligne importante c'est :
Your lock file does not contain a compatible set of packages. Please run composer update.
On lance donc composer update
:
$ composer update
Cliquez pour afficher ⇲
Cliquez pour masquer ⇱
Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/framework[v7.0.0, ..., 7.x-dev] require ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension. - Root composer.json requires laravel/framework ^7.0 -> satisfiable by laravel/framework[v7.0.0, ..., 7.x-dev]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/7.4/cli/php.ini - /etc/php/7.4/cli/conf.d/10-opcache.ini - /etc/php/7.4/cli/conf.d/10-pdo.ini - /etc/php/7.4/cli/conf.d/20-calendar.ini - /etc/php/7.4/cli/conf.d/20-ctype.ini - /etc/php/7.4/cli/conf.d/20-exif.ini - /etc/php/7.4/cli/conf.d/20-ffi.ini - /etc/php/7.4/cli/conf.d/20-fileinfo.ini - /etc/php/7.4/cli/conf.d/20-ftp.ini - /etc/php/7.4/cli/conf.d/20-gettext.ini - /etc/php/7.4/cli/conf.d/20-iconv.ini - /etc/php/7.4/cli/conf.d/20-json.ini - /etc/php/7.4/cli/conf.d/20-phar.ini - /etc/php/7.4/cli/conf.d/20-posix.ini - /etc/php/7.4/cli/conf.d/20-readline.ini - /etc/php/7.4/cli/conf.d/20-shmop.ini - /etc/php/7.4/cli/conf.d/20-sockets.ini - /etc/php/7.4/cli/conf.d/20-sysvmsg.ini - /etc/php/7.4/cli/conf.d/20-sysvsem.ini - /etc/php/7.4/cli/conf.d/20-sysvshm.ini - /etc/php/7.4/cli/conf.d/20-tokenizer.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Il manque manifestement “php-mbstring” :
$ sudo apt install php-mbstring
Il manque d'autres dépendances :
$ sudo apt install php-tijsverkoyen-css-to-inline-styles $ sudo apt install php-phar-io-manifest $ sudo apt install php-codecoverage $ sudo apt install phpunit
(Je pensais que Composer allait se charger d'installer tout ça ? Est-ce que je loupe une étape ?)
On relance composer update
:
$ composer update
Cliquez pour afficher ⇲
Cliquez pour masquer ⇱
Loading composer repositories with package information Updating dependencies Lock file operations: 2 installs, 63 updates, 1 removal - Removing scrivo/highlight.php (v9.18.1.1) - Upgrading brick/math (0.8.15 => 0.9.1) - Upgrading doctrine/instantiator (1.3.1 => 1.4.0) - Upgrading dragonmantank/cron-expression (v2.3.0 => v2.3.1) - Upgrading egulias/email-validator (2.1.17 => 2.1.24) - Upgrading facade/flare-client-php (1.3.2 => 1.3.7) - Upgrading facade/ignition (2.0.6 => 2.5.2) - Upgrading facade/ignition-contracts (1.0.0 => 1.0.2) - Upgrading fideloper/proxy (4.3.0 => 4.4.1) - Upgrading filp/whoops (2.7.2 => 2.9.1) - Upgrading guzzlehttp/guzzle (6.5.4 => 6.5.5) - Upgrading guzzlehttp/promises (v1.3.1 => 1.4.0) - Upgrading guzzlehttp/psr7 (1.6.1 => 1.7.0) - Upgrading hamcrest/hamcrest-php (v2.0.0 => v2.0.1) - Upgrading laravel/framework (v7.14.1 => v7.29.3) - Upgrading laravel/tinker (v2.4.0 => v2.5.0) - Upgrading league/commonmark (1.4.3 => 1.5.7) - Upgrading league/flysystem (1.0.69 => 1.1.3) - Locking league/mime-type-detection (1.5.1) - Upgrading mockery/mockery (1.4.0 => 1.4.2) - Upgrading monolog/monolog (2.1.0 => 2.1.1) - Upgrading myclabs/deep-copy (1.9.5 => 1.10.2) - Upgrading nesbot/carbon (2.35.0 => 2.41.5) - Upgrading nikic/php-parser (v4.5.0 => v4.10.2) - Upgrading nunomaduro/collision (v4.2.0 => v4.3.0) - Upgrading opis/closure (3.5.3 => 3.6.1) - Upgrading phpdocumentor/reflection-common (2.1.0 => 2.2.0) - Upgrading phpdocumentor/reflection-docblock (5.1.0 => 5.2.2) - Upgrading phpdocumentor/type-resolver (1.1.0 => 1.4.0) - Upgrading phpoption/phpoption (1.7.3 => 1.7.5) - Upgrading phpspec/prophecy (v1.10.3 => 1.12.1) - Upgrading phpunit/phpunit (8.5.5 => 8.5.9) - Upgrading ramsey/collection (1.0.1 => 1.1.1) - Upgrading ramsey/uuid (4.0.1 => 4.1.1) - Upgrading symfony/console (v5.1.0 => v5.1.8) - Upgrading symfony/css-selector (v5.1.0 => v5.1.8) - Upgrading symfony/deprecation-contracts (v2.1.2 => v2.2.0) - Upgrading symfony/error-handler (v5.1.0 => v5.1.8) - Upgrading symfony/event-dispatcher (v5.1.0 => v5.1.8) - Upgrading symfony/event-dispatcher-contracts (v2.1.2 => v2.2.0) - Upgrading symfony/finder (v5.1.0 => v5.1.8) - Locking symfony/http-client-contracts (v2.3.1) - Upgrading symfony/http-foundation (v5.1.0 => v5.1.8) - Upgrading symfony/http-kernel (v5.1.0 => v5.1.8) - Upgrading symfony/mime (v5.1.0 => v5.1.8) - Upgrading symfony/polyfill-ctype (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-iconv (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-intl-grapheme (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-intl-idn (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-intl-normalizer (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-mbstring (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-php72 (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-php73 (v1.17.0 => v1.20.0) - Upgrading symfony/polyfill-php80 (v1.17.0 => v1.20.0) - Upgrading symfony/process (v5.1.0 => v5.1.8) - Upgrading symfony/routing (v5.1.0 => v5.1.8) - Upgrading symfony/service-contracts (v2.1.2 => v2.2.0) - Upgrading symfony/string (v5.1.0 => v5.1.8) - Upgrading symfony/translation (v5.1.0 => v5.1.8) - Upgrading symfony/translation-contracts (v2.1.2 => v2.3.0) - Upgrading symfony/var-dumper (v5.1.0 => v5.1.8) - Upgrading theseer/tokenizer (1.1.3 => 1.2.0) - Upgrading tijsverkoyen/css-to-inline-styles (2.2.2 => 2.2.3) - Upgrading vlucas/phpdotenv (v4.1.6 => v4.1.8) - Upgrading voku/portable-ascii (1.5.1 => 1.5.6) - Upgrading webmozart/assert (1.8.0 => 1.9.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 98 installs, 0 updates, 0 removals - Downloading doctrine/inflector (2.0.3) - Downloading doctrine/lexer (1.2.1) - Downloading dragonmantank/cron-expression (v2.3.1) - Downloading symfony/var-dumper (v5.1.8) - Downloading psr/log (1.1.3) - Downloading monolog/monolog (2.1.1) - Downloading voku/portable-ascii (1.5.6) - Downloading phpoption/phpoption (1.7.5) - Downloading vlucas/phpdotenv (v4.1.8) - Downloading symfony/css-selector (v5.1.8) - Downloading tijsverkoyen/css-to-inline-styles (2.2.3) - Downloading symfony/deprecation-contracts (v2.2.0) - Downloading symfony/routing (v5.1.8) - Downloading symfony/polyfill-php72 (v1.20.0) - Downloading symfony/polyfill-intl-idn (v1.20.0) - Downloading symfony/mime (v5.1.8) - Downloading symfony/http-foundation (v5.1.8) - Downloading symfony/http-client-contracts (v2.3.1) - Downloading psr/event-dispatcher (1.0.0) - Downloading symfony/event-dispatcher-contracts (v2.2.0) - Downloading symfony/event-dispatcher (v5.1.8) - Downloading symfony/error-handler (v5.1.8) - Downloading symfony/http-kernel (v5.1.8) - Downloading symfony/finder (v5.1.8) - Downloading symfony/polyfill-iconv (v1.20.0) - Downloading egulias/email-validator (2.1.24) - Downloading swiftmailer/swiftmailer (v6.2.3) - Downloading ramsey/collection (1.1.1) - Downloading brick/math (0.9.1) - Downloading ramsey/uuid (4.1.1) - Downloading psr/simple-cache (1.0.1) - Downloading opis/closure (3.6.1) - Downloading symfony/translation-contracts (v2.3.0) - Downloading symfony/translation (v5.1.8) - Downloading nesbot/carbon (2.41.5) - Downloading league/mime-type-detection (1.5.1) - Downloading league/flysystem (1.1.3) - Downloading league/commonmark (1.5.7) - Downloading laravel/framework (v7.29.3) - Downloading filp/whoops (2.9.1) - Downloading facade/ignition-contracts (1.0.2) - Downloading facade/flare-client-php (1.3.7) - Downloading facade/ignition (2.5.2) - Downloading fideloper/proxy (4.4.1) - Downloading asm89/stack-cors (1.3.0) - Downloading fruitcake/laravel-cors (v1.0.6) - Downloading fzaninotto/faker (v1.9.1) - Downloading ralouphie/getallheaders (3.0.3) - Downloading psr/http-message (1.0.1) - Downloading guzzlehttp/psr7 (1.7.0) - Downloading guzzlehttp/promises (1.4.0) - Downloading guzzlehttp/guzzle (6.5.5) - Downloading nikic/php-parser (v4.10.2) - Downloading dnoegel/php-xdg-base-dir (v0.1.1) - Downloading psy/psysh (v0.10.4) - Downloading laravel/tinker (v2.5.0) - Downloading hamcrest/hamcrest-php (v2.0.1) - Downloading mockery/mockery (1.4.2) - Downloading nunomaduro/collision (v4.3.0) - Downloading webmozart/assert (1.9.1) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/type-resolver (1.4.0) - Downloading phpdocumentor/reflection-docblock (5.2.2) - Downloading phpunit/php-token-stream (3.1.1) - Downloading sebastian/version (2.0.1) - Downloading sebastian/type (1.1.3) - Downloading sebastian/resource-operations (2.0.1) - Downloading sebastian/recursion-context (3.0.0) - Downloading sebastian/object-reflector (1.1.1) - Downloading sebastian/object-enumerator (3.0.3) - Downloading sebastian/global-state (3.0.0) - Downloading sebastian/exporter (3.1.2) - Downloading sebastian/environment (4.2.3) - Downloading sebastian/diff (3.0.2) - Downloading sebastian/comparator (3.0.2) - Downloading phpunit/php-timer (2.1.2) - Downloading phpunit/php-text-template (1.2.1) - Downloading phpunit/php-file-iterator (2.0.2) - Downloading theseer/tokenizer (1.2.0) - Downloading sebastian/code-unit-reverse-lookup (1.0.1) - Downloading phpunit/php-code-coverage (7.0.10) - Downloading doctrine/instantiator (1.4.0) - Downloading phpspec/prophecy (1.12.1) - Downloading phar-io/version (2.0.1) - Downloading phar-io/manifest (1.0.3) - Downloading myclabs/deep-copy (1.10.2) - Downloading phpunit/phpunit (8.5.9) - Installing doctrine/inflector (2.0.3): Extracting archive - Installing doctrine/lexer (1.2.1): Extracting archive - Installing dragonmantank/cron-expression (v2.3.1): Extracting archive - Installing symfony/polyfill-php80 (v1.20.0): Extracting archive - Installing symfony/polyfill-mbstring (v1.20.0): Extracting archive - Installing symfony/var-dumper (v5.1.8): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.20.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.20.0): Extracting archive - Installing symfony/polyfill-ctype (v1.20.0): Extracting archive - Installing symfony/string (v5.1.8): Extracting archive - Installing psr/container (1.0.0): Extracting archive - Installing symfony/service-contracts (v2.2.0): Extracting archive - Installing symfony/polyfill-php73 (v1.20.0): Extracting archive - Installing symfony/console (v5.1.8): Extracting archive - Installing psr/log (1.1.3): Extracting archive - Installing monolog/monolog (2.1.1): Extracting archive - Installing voku/portable-ascii (1.5.6): Extracting archive - Installing phpoption/phpoption (1.7.5): Extracting archive - Installing vlucas/phpdotenv (v4.1.8): Extracting archive - Installing symfony/css-selector (v5.1.8): Extracting archive - Installing tijsverkoyen/css-to-inline-styles (2.2.3): Extracting archive - Installing symfony/deprecation-contracts (v2.2.0): Extracting archive - Installing symfony/routing (v5.1.8): Extracting archive - Installing symfony/process (v5.1.8): Extracting archive - Installing symfony/polyfill-php72 (v1.20.0): Extracting archive - Installing symfony/polyfill-intl-idn (v1.20.0): Extracting archive - Installing symfony/mime (v5.1.8): Extracting archive - Installing symfony/http-foundation (v5.1.8): Extracting archive - Installing symfony/http-client-contracts (v2.3.1): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing symfony/event-dispatcher-contracts (v2.2.0): Extracting archive - Installing symfony/event-dispatcher (v5.1.8): Extracting archive - Installing symfony/error-handler (v5.1.8): Extracting archive - Installing symfony/http-kernel (v5.1.8): Extracting archive - Installing symfony/finder (v5.1.8): Extracting archive - Installing symfony/polyfill-iconv (v1.20.0): Extracting archive - Installing egulias/email-validator (2.1.24): Extracting archive - Installing swiftmailer/swiftmailer (v6.2.3): Extracting archive - Installing ramsey/collection (1.1.1): Extracting archive - Installing brick/math (0.9.1): Extracting archive - Installing ramsey/uuid (4.1.1): Extracting archive - Installing psr/simple-cache (1.0.1): Extracting archive - Installing opis/closure (3.6.1): Extracting archive - Installing symfony/translation-contracts (v2.3.0): Extracting archive - Installing symfony/translation (v5.1.8): Extracting archive - Installing nesbot/carbon (2.41.5): Extracting archive - Installing league/mime-type-detection (1.5.1): Extracting archive - Installing league/flysystem (1.1.3): Extracting archive - Installing league/commonmark (1.5.7): Extracting archive - Installing laravel/framework (v7.29.3): Extracting archive - Installing filp/whoops (2.9.1): Extracting archive - Installing facade/ignition-contracts (1.0.2): Extracting archive - Installing facade/flare-client-php (1.3.7): Extracting archive - Installing facade/ignition (2.5.2): Extracting archive - Installing fideloper/proxy (4.4.1): Extracting archive - Installing asm89/stack-cors (1.3.0): Extracting archive - Installing fruitcake/laravel-cors (v1.0.6): Extracting archive - Installing fzaninotto/faker (v1.9.1): Extracting archive - Installing ralouphie/getallheaders (3.0.3): Extracting archive - Installing psr/http-message (1.0.1): Extracting archive - Installing guzzlehttp/psr7 (1.7.0): Extracting archive - Installing guzzlehttp/promises (1.4.0): Extracting archive - Installing guzzlehttp/guzzle (6.5.5): Extracting archive - Installing nikic/php-parser (v4.10.2): Extracting archive - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive - Installing psy/psysh (v0.10.4): Extracting archive - Installing laravel/tinker (v2.5.0): Extracting archive - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive - Installing mockery/mockery (1.4.2): Extracting archive - Installing nunomaduro/collision (v4.3.0): Extracting archive - Installing webmozart/assert (1.9.1): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing phpdocumentor/type-resolver (1.4.0): Extracting archive - Installing phpdocumentor/reflection-docblock (5.2.2): Extracting archive - Installing phpunit/php-token-stream (3.1.1): Extracting archive - Installing sebastian/version (2.0.1): Extracting archive - Installing sebastian/type (1.1.3): Extracting archive - Installing sebastian/resource-operations (2.0.1): Extracting archive - Installing sebastian/recursion-context (3.0.0): Extracting archive - Installing sebastian/object-reflector (1.1.1): Extracting archive - Installing sebastian/object-enumerator (3.0.3): Extracting archive - Installing sebastian/global-state (3.0.0): Extracting archive - Installing sebastian/exporter (3.1.2): Extracting archive - Installing sebastian/environment (4.2.3): Extracting archive - Installing sebastian/diff (3.0.2): Extracting archive - Installing sebastian/comparator (3.0.2): Extracting archive - Installing phpunit/php-timer (2.1.2): Extracting archive - Installing phpunit/php-text-template (1.2.1): Extracting archive - Installing phpunit/php-file-iterator (2.0.2): Extracting archive - Installing theseer/tokenizer (1.2.0): Extracting archive - Installing sebastian/code-unit-reverse-lookup (1.0.1): Extracting archive - Installing phpunit/php-code-coverage (7.0.10): Extracting archive - Installing doctrine/instantiator (1.4.0): Extracting archive - Installing phpspec/prophecy (1.12.1): Extracting archive - Installing phar-io/version (2.0.1): Extracting archive - Installing phar-io/manifest (1.0.3): Extracting archive - Installing myclabs/deep-copy (1.10.2): Extracting archive - Installing phpunit/phpunit (8.5.9): Extracting archive 1 package suggestions were added by new dependencies, use `composer suggest` to see details. Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: facade/ignition Discovered Package: fideloper/proxy Discovered Package: fruitcake/laravel-cors Discovered Package: laravel/tinker Discovered Package: nesbot/carbon Discovered Package: nunomaduro/collision Package manifest generated successfully. 49 packages you are using are looking for funding. Use the `composer fund` command to find out more!
Et puis composer install
:
composer install
Cliquez pour afficher ⇲
Cliquez pour masquer ⇱
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: facade/ignition Discovered Package: fideloper/proxy Discovered Package: fruitcake/laravel-cors Discovered Package: laravel/tinker Discovered Package: nesbot/carbon Discovered Package: nunomaduro/collision Package manifest generated successfully. 49 packages you are using are looking for funding. Use the `composer fund` command to find out more!
Et composer fund
:
$ composer fund
Cliquez pour afficher ⇲
Cliquez pour masquer ⇱
The following packages were found in your dependencies which publish funding information: brick math https://tidelift.com/funding/github/packagist/brick/math doctrine inflector, instantiator, lexer https://www.doctrine-project.org/sponsorship.html https://www.patreon.com/phpdoctrine inflector https://tidelift.com/funding/github/packagist/doctrine%2Finflector instantiator https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator lexer https://tidelift.com/funding/github/packagist/doctrine%2Flexer dragonmantank cron-expression https://github.com/sponsors/dragonmantank egulias email-validator https://github.com/sponsors/egulias facade flare-client-php https://github.com/sponsors/spatie fruitcake laravel-cors https://github.com/sponsors/barryvdh guzzlehttp guzzle https://github.com/sponsors/GrahamCampbell https://github.com/sponsors/Nyholm https://github.com/sponsors/alexeyshockov https://github.com/sponsors/gmponos league commonmark https://enjoy.gitstore.app/repositories/thephpleague/commonmark https://www.colinodell.com/sponsor https://www.paypal.me/colinpodell/10.00 https://github.com/sponsors/colinodell https://www.patreon.com/colinodell https://tidelift.com/funding/github/packagist/league/commonmark flysystem https://offset.earth/frankdejonge flysystem, mime-type-detection https://github.com/sponsors/frankdejonge https://tidelift.com/funding/github/packagist/league/flysystem monolog monolog https://github.com/sponsors/Seldaek https://tidelift.com/funding/github/packagist/monolog/monolog myclabs deep-copy https://tidelift.com/funding/github/packagist/myclabs/deep-copy nesbot carbon https://opencollective.com/Carbon https://tidelift.com/funding/github/packagist/nesbot/carbon nunomaduro collision https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L https://github.com/sponsors/nunomaduro https://www.patreon.com/nunomaduro phpoption phpoption https://github.com/sponsors/GrahamCampbell https://tidelift.com/funding/github/packagist/phpoption/phpoption phpunit php-code-coverage, php-file-iterator, php-text-template, php-timer, php-token-stream, phpunit https://github.com/sponsors/sebastianbergmann phpunit https://phpunit.de/donate.html ramsey collection, uuid https://github.com/sponsors/ramsey collection https://tidelift.com/funding/github/packagist/ramsey/collection uuid https://tidelift.com/funding/github/packagist/ramsey/uuid sebastian code-unit-reverse-lookup, comparator, diff, environment, exporter, global-state, object-enumerator, object-reflector, recursion-context, resource-operations, type, version https://github.com/sponsors/sebastianbergmann swiftmailer swiftmailer https://github.com/sponsors/fabpot https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer symfony console, css-selector, deprecation-contracts, error-handler, event-dispatcher, event-dispatcher-contracts, finder, http-client-contracts, http-foundation, http-kernel, mime, polyfill-ctype, polyfill-iconv, polyfill-intl-grapheme, polyfill-intl-idn, polyfill-intl-normalizer, polyfill-mbstring, polyfill-php72, polyfill-php73, polyfill-php80, process, routing, service-contracts, string, translation, translation-contracts, var-dumper https://symfony.com/sponsor https://github.com/sponsors/fabpot https://tidelift.com/funding/github/packagist/symfony/symfony theseer tokenizer https://github.com/sponsors/theseer vlucas phpdotenv https://github.com/sponsors/GrahamCampbell https://tidelift.com/funding/github/packagist/vlucas/phpdotenv voku portable-ascii https://www.paypal.me/moelleken https://github.com/sponsors/voku https://opencollective.com/portable-ascii https://www.patreon.com/voku https://tidelift.com/funding/github/packagist/voku/portable-ascii Please consider following these links and sponsoring the work of package authors! Thank you!
Front avec npm
$ npm install --dev npm WARN install Usage of the `--dev` option is deprecated. Use `--include=dev` instead. added 1116 packages, and audited 1116 packages in 18s 10 vulnerabilities (4 low, 6 high) To address all issues, run: npm audit fix Run `npm audit` for details.
Donc, il vaut mieux utiliser cette commande :
$ npm install --include=dev
La commande conseille d'utiliser npm audit fix
:
$ npm audit fix added 7 packages, removed 16 packages, changed 19 packages, and audited 1107 packages in 6s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities
Et aussi npm fund
:
$ npm fund participalibre └── https://github.com/chalk/ansi-styles?sponsor=1 └── ansi-styles@4.3.0
Configuration de l'env Laravel
On copie l'env par défaut :
$ cp .env.example .env
Et on génère une clé :
$ php artisan key:generate
Application key set successfully.
Lancement du serveur
Compiler le front-end
Il faudra compiler le code du front-end au préalable avec npm run dev
(ou npm run build
pour une installation en production).
$ npm run dev
(Note: Pour travailler sur le front-end npm run watch
est conseillé car le SCSS sera recompilé à chaque modification.)