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édentes Révision précédente
Prochaine révision
Révision précédente
informatique:php:laravel [14/06/2020 08:15]
cyrille [Laravel Queue]
informatique:php:laravel [29/07/2021 10:44] (Version actuelle)
cyrille [Admin panel]
Ligne 7: Ligne 7:
 ===== Documentation ===== ===== Documentation =====
  
 +  * [[https://laravel.com/docs/8.x|Laravel 8.x]]
 +    * [[https://laravel.sillo.org/la-tall-stack/|La TALL Stack]] Tailwind, AlpineJS, Laravel et Livewire
 +    * [[https://github.com/laravel-frontend-presets|laravel-frontend-presets]], en plus des quelques ui presets fournis par Laravel pour un simple dashboard ou la tall stack ou ... de simples mais jolis dashboards comme [[https://www.creative-tim.com/live/paper-dashboard-laravel|paper-dashboard-laravel]]
   * [[https://laravel.com/docs/5.3|Laravel 5.3]]   * [[https://laravel.com/docs/5.3|Laravel 5.3]]
     * [[http://devmarketer.io/learn/new-laravel-5-3-part1-small-changes/|What is New in Laravel 5.3?]]     * [[http://devmarketer.io/learn/new-laravel-5-3-part1-small-changes/|What is New in Laravel 5.3?]]
Ligne 39: Ligne 42:
  
 Tutoriels: Tutoriels:
-  * http://laravel.sillo.org quelques tutoriels avec Laravel 5 et aussi Vue.js +  * [[https://laravel.sillo.org|laravel.sillo.org]] des articles en français et d'excellente qualité 
-    * [[https://laravel.sillo.org/laravel-5/|laravel 5.5 et 5.3]]+    * [[https://laravel.sillo.org/livewire-introduction/|Livewire – introduction]] (2020) 
 +    * [[https://laravel.sillo.org/laravel-5/|laravel 5x]]
     * [[http://laravel.sillo.org/cours-laravel-5-3-plus-loin-les-tests-unitaires/|Cours Laravel 5.3 – plus loin – les tests unitaires]]     * [[http://laravel.sillo.org/cours-laravel-5-3-plus-loin-les-tests-unitaires/|Cours Laravel 5.3 – plus loin – les tests unitaires]]
     * [[http://laravel.sillo.org/cours-laravel-5-3-plus-loin-les-evenements/|http://laravel.sillo.org/cours-laravel-5-3-plus-loin-les-evenements/]]     * [[http://laravel.sillo.org/cours-laravel-5-3-plus-loin-les-evenements/|http://laravel.sillo.org/cours-laravel-5-3-plus-loin-les-evenements/]]
Ligne 103: Ligne 107:
   * https://prismic.io ?   * https://prismic.io ?
  
-=== Un maintened, abandonned ===+=== Unmaintened, abandonned ===
  
   * [[https://github.com/BootstrapCMS|Bootstrap CMS]] -  Latest commit on 28 Jun 2016   * [[https://github.com/BootstrapCMS|Bootstrap CMS]] -  Latest commit on 28 Jun 2016
Ligne 113: Ligne 117:
  
  
 +=== Mes indispensables ===
 +
 +Actuellement pour Laravel 5.x, à voir si ces packages ont survécus :-)
 +
 +  * Le fabuleux "driver" pour l'inestimable [[http://datatables.net/|Datatables.net]] : [[https://github.com/yajra/laravel-datatables|yajra/laravel-datatables]] ; disponible pour Laravel 4.2.x à 8.x.x
 +  * Un "driver" pour [[http://phpdebugbar.com/|PhpDebugBar]] à installer dès le début de tout projet: [[https://github.com/barryvdh/laravel-debugbar|laravel-debugbar]]
 +  * ...
 +===== Admin panel =====
 +
 +[[https://laravel-news.com/13-laravel-admin-panel-generators|13 Laravel Admin Panel Generators]] (2017)
 +
 +Menus, CRUD & more :
 +
 +Préférés:
 +  * [[https://orchid.software/|Laravel Orchid]] Develop web applications not admin panels - Laravel Orchid n'est pas une "solution clé en main". Vous devez posséder des compétences en codage pour l'utiliser. Il a été conçu pour faciliter la vie des développeurs lors de la construction de systèmes complexes, et non pour vous en fournir un tout prêt à l'emploi.
 +  * [[https://voyager.devdojo.com|Voyager]] -> Laravel 6, 7, 8 <del>https://laravelvoyager.com</del>, many contributors
 +    * [[https://voyager-docs.devdojo.com/|doc]], [[https://github.com/the-control-group/voyager|code]], [[https://github.com/the-control-group/voyager/discussions/|discussions/forum]]
 +
 +Autres:
 +  * [[http://labs.infyom.com/laravelgenerator/|Laravel Generator]] by infyom.com
 +    * [[https://www.infyom.com/open-source/laravelgenerator/docs|doc]], [[https://github.com/InfyOmLabs/laravel-generator|code]], [[https://github.com/InfyOmLabs/laravel-generator/graphs/contributors|60 contributors]], [[https://opencollective.com/infyomlabs|sponsors/backers]]
 +  * [[http://laraAdmin.com|LaraAdmin]] -> laravel 5
 +    * [[https://laraadmin.com/docs|doc]], [[https://github.com/dwijitsolutions/laraadmin|code]]
 +  * [[https://filamentadmin.com/|Filament]]
 +    * [[https://filamentadmin.com/docs/|doc]], [[https://github.com/laravel-filament/filament|code]]
 +  * https://silverbux.github.io/laravel-angular-admin/ Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate. Plus Oauth and JWT authentication on the side.
 +
 +Not free:
 +  * https://quickadminpanel.com
 +    * [[https://quickadminpanel.com/blog/free-mini-course-how-to-create-admin-panel-in-laravel-5-4/|How To Create Admin Panel in pure Laravel 5.4]]
 +  * [[https://codecanyon.net/item/josh-laravel-admin-template-front-end-crud/8754542|Josh]] - Laravel Admin Template + Front End + CRUD
 +    * Builders: Form, Button, Page
 +  * [[https://backpackforlaravel.com|BackpackForLaravel]] but open source [[https://github.com/Laravel-Backpack]]
 +    * Free for non commercial, 399€ht for commercial
 +
 +Unmaintened:
 +  * http://laraveldaily.com/packages/quickadmin/
 +  * http://laravelpanel.com
  
 ===== Validation ===== ===== Validation =====
Ligne 213: Ligne 255:
  
   php artisan make:auth   php artisan make:auth
 +
 +=== Manage User last login datetime ===
 +
 +<code php>
 +// Migration
 +$table->dateTime('last_login_at')->nullable();
 +
 +class User {
 + ...
 +    protected $fillable = [
 +        'name', 'email', 'password','last_login_at'
 +    ];
 +    protected $dates = [
 +        'created_at', 'updated_at', 'last_login_at'
 +    ];
 +}
 +
 +class LoginController {
 + ...
 + function authenticated( Request $request, $user )
 + {
 +   $user->timestamps = false;
 +   $user->update([
 +     'last_login_at' => Carbon::now(),
 +   ]);
 + }
 +</code>
  
 ==== OAuth ==== ==== OAuth ====
Ligne 482: Ligne 551:
  
  
-==== Admin panel ==== 
  
-Menus, CRUD & more : 
- 
-  * https://laravelvoyager.com -> Laravel 5.5 to 6 
-  * http://laraadmin.com -> outdated, //many years without update ...// 
-  * http://laraveldaily.com/packages/quickadmin/ -> unmaintained 
-  * http://laravelpanel.com 
-  * https://silverbux.github.io/laravel-angular-admin/ Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate. Plus Oauth and JWT authentication on the side. 
-  * [[http://labs.infyom.com/laravelgenerator/|Laravel Generator]] - Get your APIs and Admin Panel ready in minutes, Laravel Generator to generate CRUD, APIs, Test Cases and Swagger Documentation (read [[http://laravel.sillo.org/infyom/]]). 
- 
-  * [[https://quickadminpanel.com/blog/free-mini-course-how-to-create-admin-panel-in-laravel-5-4/|How To Create Admin Panel in pure Laravel 5.4]] 
- 
- 
-Not free: 
-  * https://quickadminpanel.com 
-  * [[https://codecanyon.net/item/josh-laravel-admin-template-front-end-crud/8754542|Josh]] - Laravel Admin Template + Front End + CRUD 
-    * Builders: Form, Button, Page 
-  * [[https://backpackforlaravel.com|BackpackForLaravel]] but open source [[https://github.com/Laravel-Backpack]] 
- 
- 
-==== Tools ==== 
- 
-  * [[https://github.com/barryvdh/laravel-debugbar|Laravel Debugbar]] 
- 
-  * [[https://github.com/barryvdh/laravel-ide-helper|Laravel 5 IDE Helper Generator]] generates correct PHPDocs for all Facade classes, to improve auto-completion. 
- 
-  * A docker compose for Laravel (example) : https://github.com/edbizarro/ambientum 
  
 ==== Package development ==== ==== Package development ====
Ligne 525: Ligne 567:
   * [[https://github.com/ConsoleTVs/Charts|Charts]] is a multi-library chart package to create interactive charts using laravel (chartjs, highcharts, material, morris …).   * [[https://github.com/ConsoleTVs/Charts|Charts]] is a multi-library chart package to create interactive charts using laravel (chartjs, highcharts, material, morris …).
  
-==== Admin panel ==== 
- 
-  *  [[http://laraveldaily.com/packages/quickadmin/|http://laraveldaily.com/packages/quickadmin/]] 
-      * Menus & CRUD 
-  * [[https://laravelvoyager.com/|https://laravelvoyager.com/]] 
-  * [[http://laraadmin.com|http://laraadmin.com]] 
-  * [[http://laravelpanel.com|http://laravelpanel.com]] 
-  * [[https://silverbux.github.io/laravel-angular-admin/|https://silverbux.github.io/laravel-angular-admin/]] Laravel Angularjs Bootstrap AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate. Plus Oauth and JWT authentication on the side. 
-  * [[http://labs.infyom.com/laravelgenerator/|Laravel Generator]] 
- - Get your APIs and Admin Panel ready in minutes, Laravel Generator to generate CRUD, APIs, Test Cases and Swagger Documentation (read [[http://laravel.sillo.org/infyom/|http://laravel.sillo.org/infyom/]]). 
- 
-  * [[https://quickadminpanel.com/blog/free-mini-course-how-to-create-admin-panel-in-laravel-5-4/|How To Create Admin Panel in pure Laravel 5.4]] 
- 
-Not free: 
- 
-  * [[https://quickadminpanel.com|https://quickadminpanel.com]] 
-  * [[https://codecanyon.net/item/josh-laravel-admin-template-front-end-crud/8754542|Josh]] 
- - Laravel Admin Template Front End CRUD 
-      * Builders: Form, Button, Page 
-  * [[https://backpackforlaravel.com|BackpackForLaravel]] but open source [[https://github.com/Laravel-Backpack|https://github.com/Laravel-Backpack]] 
  
 ==== Tools ==== ==== Tools ====
Ligne 554: Ligne 576:
   * A docker compose for Laravel (example) : [[https://github.com/edbizarro/ambientum|https://github.com/edbizarro/ambientum]]   * A docker compose for Laravel (example) : [[https://github.com/edbizarro/ambientum|https://github.com/edbizarro/ambientum]]
  
 +[[https://beyondco.de/blog/the-ultimate-guide-to-php-artisan-tinker|tinker and tinkerWell]]
 ==== Queue and MQ ==== ==== Queue and MQ ====
  
Ligne 602: Ligne 625:
       * Some concepts were used from [[https://github.com/mookofe/tail|mookofe/tail]]       * Some concepts were used from [[https://github.com/mookofe/tail|mookofe/tail]]
  
- 
-=== RabbitMQ === 
- 
-[[/informatique/RabbitMQ]] 
- 
-Posts: 
-  * question [[https://laracasts.com/discuss/channels/laravel/multiple-rabbitmq-queues|Multiple RabbitMQ Queues?]] (2015) 
-  * [[https://victorcruz.me/rabbitmq-client-for-laravel/|Tail: RabbitMQ client for Laravel]] (2015) with lib mookofe/tail 
-  * [[https://stackoverflow.com/questions/33946819/get-total-number-of-queued-jobs-laravel-rabbitmq|get total number of queued jobs laravel — RabbitMQ]] : Rrabbit MQ HTTP API,  
- 
-Libs: 
-  * [[https://github.com/vyuldashev/laravel-queue-rabbitmq|vyuldashev/laravel-queue-rabbitmq]] (2017-11->2018-01, 24 contributors) 
-    * RabbitMQ driver for Laravel Queue 
-  * [[https://github.com/php-enqueue/laravel-queue|php-enqueue/laravel-queue]] (2017-07->2017-12, 2 contributors) 
-    * Laravel Enqueue message queue extension. 
-    * Supports AMQP, Amazon SQS, Kafka, Google PubSub, Redis, STOMP, Gearman, Beanstalk and others 
-    * https://enqueue.forma-pro.com/ 
-  * [[https://github.com/shaobaojie/laravel_rabbit_mq|shaobaojie/laravel_rabbit_mq]] (updated 2016-07) 
-    * RabbitMQ Queue driver for Laravel 
-  * [[https://github.com/mookofe/tail|mookofe/tail]] (2015-03->2016-07, 2 contributors) 
-    * RabbitMQ and PHP client for Laravel that allows you to add and listen queues messages just simple.  
-    * Simple queue configuration 
-    * Multiple server connections 
-    * Add message to queues easily 
-    * Listen queues with useful options 
-    * require videlalvaro/php-amqplib: 2.* 
-  * [[https://github.com/bschmitt/laravel-amqp|bschmitt/laravel-amqp]] (2016-01->2017-10, 7 contributors) 
-    * AMQP wrapper for Laravel and Lumen to publish and consume messages 
-    * Advanced queue configuration 
-    * Add message to queues easily 
-    * Listen queues with useful options 
-    * methods: Amqp::publish(), Amqp::consume() 
-    * Some concepts were used from [[https://github.com/mookofe/tail|mookofe/tail]] 
  
  
informatique/php/laravel.1592115338.txt.gz · Dernière modification: 14/06/2020 08:15 de cyrille