Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes |
informatique:php:laravel [14/06/2020 08:15] – [Laravel Queue] cyrille | informatique:php:laravel [05/06/2021 10:00] – [Tools] cyrille |
---|
===== 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?]] |
| |
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/]] |
* 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 |
| |
| |
| |
| ===== Admin panel ===== |
| |
| [[https://laravel-news.com/13-laravel-admin-panel-generators|13 Laravel Admin Panel Generators]] (2017) |
| |
| Menus, CRUD & more : |
| |
| * [[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]] |
| * [[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. |
| * [[http://labs.infyom.com/laravelgenerator/|Laravel Generator]] |
| * [[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]] |
| |
| 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 ===== |
| |
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 ==== |
| |
| |
==== 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 ==== |
* [[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 ==== |
* 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 ==== |
| |