Outils pour utilisateurs

Outils du site


informatique:php:laravel

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
informatique:php:laravel [25/06/2026 06:39] – [Packages] cyrilleinformatique:php:laravel [13/11/2026 09:36] (Version actuelle) – [Autres starter-kits] cyrille
Ligne 44: Ligne 44:
  
 ==== Version 2 ==== ==== Version 2 ====
 +
 +Avec ''https://laravel.build/<project name>'', les options sont dans https://github.com/laravel/sail-server/blob/master/routes/web.php
  
 <code> <code>
Ligne 145: Ligne 147:
  
   * [[https://medium.com/@tankpratik125/beyond-breeze-community-laravel-starter-kits-worth-knowing-432998f0fd60|Beyond Breeze: Community Laravel Starter Kits Worth Knowing]] 2026-04   * [[https://medium.com/@tankpratik125/beyond-breeze-community-laravel-starter-kits-worth-knowing-432998f0fd60|Beyond Breeze: Community Laravel Starter Kits Worth Knowing]] 2026-04
 +    * TALL Starter — [[https://github.com/mortenebak/tallstarter|mortenebak/tallstarter]] TALL stack: Tailwind, Alpine.js, Livewire, Laravel.
 +    * Blade Starter Kit — [[https://github.com/imacrayon/blade-starter-kit|imacrayon/blade-starter-kit]] opinionated multi-tenant kit that uses Blade, Alpine.js, and Tailwind CSS. It includes advanced features like team invitations, user impersonation, and 2FA powered by Laravel Fortify.
 +    * Unstyled Blade Starter Kit — [[https://github.com/javdome/unstyled-blade-starter-kit|javdome/unstyled-blade-starter-kit]] Auth scaffolding, routing, layouts — all there. CSS opinions — none.
 +    * Tablar Starter Kit — [[https://github.com/takielias/tablar-starter-kit|takielias/tablar-starter-kit]] Tablar is an admin dashboard UI kit. Worth a look if Bootstrap-flavored admin UIs are your thing.
 +    * Bootstrap Starter Kit — [[https://github.com/hostmoz/laravel-bootstrap-starter-kit|hostmoz/laravel-bootstrap-starter-kit]] traditional Bootstrap setup with Laravel.
 +    * Laravel Daily Starter Kit — [[https://github.com/LaravelDaily/starter-kit|laraveldaily/starter-kit]] Laravel 12+ Starter kit with just Blade (no Vue/Livewire/React), plain Blade setup with Tailwind CSS
 +    * ...
   * [[https://laraveldaily.com/post/how-to-install-laravel-breeze-laravel-12|How to (Still) Use Laravel Breeze in Laravel 12]]   * [[https://laraveldaily.com/post/how-to-install-laravel-breeze-laravel-12|How to (Still) Use Laravel Breeze in Laravel 12]]
   * [[https://github.com/LaravelDaily/starter-kit|Blade Starter Kit]]   * [[https://github.com/LaravelDaily/starter-kit|Blade Starter Kit]]
  
 ===== Tips & Patterns ===== ===== Tips & Patterns =====
-https://wendelladriel.com/blog/eloquent-query-classes-pattern+ 
 +[[https://wendelladriel.com/blog/eloquent-query-classes-pattern|Eloquent Query Classes pattern]] : Un peu comme le pattern Service mais dédié pour encapsuler une requête ORM complexe et utilisée un peu partout. 
 +  * duplicate the query and hope the copies stay synchronized -> :-( 
 +  * move everything into a ''local scope'' -> Scopes are excellent for small reusable pieces. Query classes are excellent for named database use cases 
 +  * add a static method to the model 
 +  * create a repository 
 +  * create a dedicated query class -> Eloquent Query Classes pattern
 ===== Packages ===== ===== Packages =====
  
informatique/php/laravel.1782362353.txt.gz · Dernière modification : de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki