Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| devweb:laravel:start [10-09-2017 16:18] – edmc73 | devweb:laravel:start [12-11-2025 08:56] (Version actuelle) – laravel 12 edmc73 | ||
|---|---|---|---|
| Ligne 6: | Ligne 6: | ||
| - | Tuto en français | + | ===== Installation ===== |
| - | * http://laravel.sillo.org/laravel-5/ | + | Installation de composer et npm nodejs |
| - | * https://www.grafikart.fr/formations/laravel | + | < |
| + | # en root | ||
| + | apt install zip unzip curl php-sqlite3 php-pgsql postgresql postgresql-postgis | ||
| + | php -r " | ||
| + | php composer-setup.php | ||
| + | rm composer-setup.php | ||
| + | mv composer.phar /usr/local/bin/composer | ||
| - | ===== Installation ===== | + | ## en user |
| + | curl -o- https:// | ||
| + | nvm install 24 | ||
| + | </ | ||
| + | Créer le projet | ||
| - | FIXME | + | |
| - | La dernière version 4.2 bug sous chrome et je n'ai pas trouvé de solution pour que ça marche, il faut donc forcer l' | + | |
| - | | + | |
| - | ===== Problème du début ===== | + | Installer livewire |
| + | composer require livewire/ | ||
| - | Sur une mariaDB, l' | + | Installer breeze |
| - | < | + | |
| - | | + | |
| - | | + | |
| - | [PDOException] | + | ===== Problème du début ===== |
| - | SQLSTATE[42000]: | + | |
| - | </ | + | |
| - | Ajuster le **app/ | + | |
| - | <code php> | + | |
| - | use Illuminate\Support\Facades\Schema; | + | |
| - | + | ||
| - | public function boot() | + | |
| - | { | + | |
| - | Schema:: | + | |
| - | } | + | |
| - | </ | + | |