LA

Laravel

Framework Actif

Framework PHP élégant et expressif.

108 Commandes
1992 Copies totales

108 commande(s) Laravel

bash
php artisan make:seeder NomSeeder

Génère un fichier seeder.

bash
php artisan down --secret="bypass-token"

Mode maintenance avec un token pour contourner.

bash
php artisan make:resource NomResourceCollection --collection

Génère un Resource pour une collection de modèles.

bash
php artisan make:listener NomListener --event=NomEvent

Génère un Listener lié à un Event.

bash
php artisan migrate:rollback --step=3

Annule les 3 derniers batchs de migrations.

bash
php artisan list

Affiche toutes les commandes Artisan disponibles.

bash
php artisan make:cast NomCast

Génère un Cast personnalisé pour les attributs Eloquent.

bash
php artisan test --coverage

Affiche le taux de couverture des tests.

bash
php artisan make:interface NomInterface

Génère un Contract/Interface (Laravel 11+).

bash
php artisan make:controller NomController

Génère un Controller vide.

bash
php artisan make:component NomComponent

Génère un composant Blade avec sa classe et sa vue.

bash
php artisan queue:work --once

Traite un seul job puis s'arrête.

bash
php artisan model:show NomModel

Affiche les informations du modèle (colonnes, relations, scopes).

bash
php artisan vendor:publish --force

Force la republication et écrase les fichiers existants.

bash
php artisan breeze:install react

Installe Breeze avec le stack React + Inertia.

bash
php artisan storage:link

Crée le lien symbolique public/storage → storage/app/public.

bash
php artisan session:table && php artisan migrate

Crée la table pour stocker les sessions en base.

bash
php artisan make:job NomJob --sync

Génère un Job exécuté de façon synchrone.

bash
php artisan queue:failed-table && php artisan migrate

Crée la table pour stocker les jobs échoués.

bash
php artisan cache:table && php artisan migrate

Crée la table nécessaire au driver cache database.

À propos
108 Commandes
16064 Copies

Framework PHP élégant et expressif.

Type Framework
Couleur
#FF2D20
Statut Actif
Tu connais Laravel ?

Partage tes commandes avec la communauté.

Contribuer