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
Prochaine révisionLes deux révisions suivantes
informatique:php:laravel [04/08/2023 08:53] – [Laravel Queue] InteractsWithQueue trait cyrilleinformatique:php:laravel [23/08/2023 18:14] – [PhpDoc] cyrille
Ligne 629: Ligne 629:
 ==== Error catcher ==== ==== Error catcher ====
  
-[[:informatique:php::informatique:error_services|informatique]]/error_services+[[/informatique:error_services|informatique/error_services]]
  
 Avec [[https://sentry.io|Sentry.io]] : Avec [[https://sentry.io|Sentry.io]] :
Ligne 636: Ligne 636:
   * [[https://docs.sentry.io/clients/php/integrations/laravel/|https://docs.sentry.io/clients/php/integrations/laravel/]]   * [[https://docs.sentry.io/clients/php/integrations/laravel/|https://docs.sentry.io/clients/php/integrations/laravel/]]
  
 +==== PhpDoc ====
 +
 +Merci à [[https://darkghosthunter.medium.com/|Italo Baeza Cabrera]] pour [[https://darkghosthunter.medium.com/laravel-phpdocs-for-models-everyone-should-have-9fe0d8349525|Laravel: PHPDocs for Models everyone should have]]
 +
 +<code>
 +/**
 + * @mixin \Illuminate\Database\Eloquent\Builder
 + *
 + * @method static \Illuminate\Database\Eloquent\Builder|static query()
 + * @method static static make(array $attributes = [])
 + * @method static static create(array $attributes = [])
 + * @method static static forceCreate(array $attributes)
 + * @method \App\Models\User firstOrNew(array $attributes = [], array $values = [])
 + * @method \App\Models\User firstOrFail($columns = ['*'])
 + * @method \App\Models\User firstOrCreate(array $attributes, array $values = [])
 + * @method \App\Models\User firstOr($columns = ['*'], \Closure $callback = null)
 + * @method \App\Models\User firstWhere($column, $operator = null, $value = null, $boolean = 'and')
 + * @method \App\Models\User updateOrCreate(array $attributes, array $values = [])
 + * @method null|static first($columns = ['*'])
 + * @method static static findOrFail($id, $columns = ['*'])
 + * @method static static findOrNew($id, $columns = ['*'])
 + * @method static null|static find($id, $columns = ['*'])
 + *
 + * @property-read int $id
 + *
 + * @property string $first_name
 + * @property string $last_name
 + * @property \Illuminate\Support\Collection|null $favorite_songs
 + * @property int $stars
 + *
 + * @property-read \Illuminate\Support\Carbon $created_at
 + * @property-read \Illuminate\Support\Carbon $updated_at
 + * @property-read \Illuminate\Support\Carbon $deleted_at
 + *
 + * @property-read string $full_name
 + *
 + * @property-read \App\Models\Avatar $avatar
 + * @property-read \App\Models\Biography|null $biography
 + * @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Post[] $posts
 + *
 + * @method \Illuminate\Database\Eloquent\Builder|static age(int $age)
 + */
 +</code>
  
 ==== Wordpress and Laravel ==== ==== Wordpress and Laravel ====
Ligne 666: Ligne 709:
 ==== Tools ==== ==== Tools ====
  
 +  * [[https://underground.works/clockwork/|ClockWork]] a l'air plus puissant que Laravel Debugbar ...
   * [[https://github.com/barryvdh/laravel-debugbar|Laravel Debugbar]]   * [[https://github.com/barryvdh/laravel-debugbar|Laravel Debugbar]]
  
informatique/php/laravel.txt · Dernière modification : 26/04/2024 09:19 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