- install new Laravel project:
composer create-project --prefer-dist laravel/laravel project-name
- .env change DB connection:
- DB_CONNECTION=mysql
| =========================== | |
| 1. Site down | |
| --------------------------- | |
| php artisan down | |
| =========================== | |
| =========================== | |
| 2. Git pull | |
| --------------------------- | |
| git pull origin branch_name |
| <?php | |
| namespace App\Jobs; | |
| use Illuminate\Bus\Queueable; | |
| use Intervention\Image\Facades\Image; | |
| use Illuminate\Queue\SerializesModels; | |
| use Illuminate\Support\Facades\Storage; | |
| use Illuminate\Queue\InteractsWithQueue; | |
| use Illuminate\Foundation\Bus\Dispatchable; |
| @if ($paginator->hasPages()) | |
| <div class="flex items-end my-2"> | |
| @if ( ! $paginator->onFirstPage()) | |
| {{-- First Page Link --}} | |
| <a | |
| class="mx-1 px-4 py-2 bg-blue-900 border-2 border-blue-900 text-white font-bold text-center hover:bg-blue-400 hover:border-blue-400 rounded-lg cursor-pointer" | |
| wire:click="gotoPage(1)" | |
| > | |
| << |