===================================================================
Open your terminal using Ctrl+Alt+T
and type the following commands
composer global require "laravel/installer"
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Baris-baris bahasa untuk autentifikasi | |
|-------------------------------------------------------------------------- | |
| | |
| Baris bahasa berikut digunakan selama proses autentifikasi untuk beberapa pesan | |
| yang perlu kita tampilkan ke pengguna. Anda bebas untuk memodifikasi |
<?php | |
return [ | |
/* | |
|--------------------------------------------------------------------------------------- | |
| Baris Bahasa untuk Penomoran Halaman | |
|--------------------------------------------------------------------------------------- | |
| | |
| Baris bahasa berikut meggunakan pustaka penomoran untuk membuat | |
| tautan yang sederhana. Anda bebas untuk mengubahnya kapan pun yang Anda |
<?php | |
return [ | |
/* | |
|--------------------------------------------------------------------------------------- | |
| Baris Bahasa untuk Pengingat Kata Sandi | |
|--------------------------------------------------------------------------------------- | |
| | |
| Baris bahasa berikut adalah baris standar yang cocok dengan alasan yang diberikan | |
| oleh pembongkar kata sandi yang telah gagal dalam upaya pembaruan kata |
<?php | |
return [ | |
/* | |
|--------------------------------------------------------------------------------------- | |
| Baris Bahasa untuk Validasi | |
|--------------------------------------------------------------------------------------- | |
| | |
| Baris bahasa berikut ini berisi standar pesan kesalahan yang digunakan oleh | |
| kelas validasi. Beberapa aturan mempunyai banyak versi seperti aturan 'size'. |
<?php | |
namespace App\Http\Requests\Api; | |
use Illuminate\Http\Request; | |
use Illuminate\Http\JsonResponse; | |
use Illuminate\Contracts\Validation\Validator; | |
use Illuminate\Validation\ValidationException; | |
use Illuminate\Http\Exceptions\HttpResponseException; | |
use Illuminate\Foundation\Http\FormRequest as LaravelFormRequest; |
<?php | |
// This can be found in the Symfony\Component\HttpFoundation\Response class | |
const HTTP_CONTINUE = 100; | |
const HTTP_SWITCHING_PROTOCOLS = 101; | |
const HTTP_PROCESSING = 102; // RFC2518 | |
const HTTP_OK = 200; | |
const HTTP_CREATED = 201; | |
const HTTP_ACCEPTED = 202; |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_syntax' => ['syntax' => 'short'], | |
'blank_line_after_namespace' => true, | |
'blank_line_after_opening_tag' => true, |
<a href="https://www.buymeacoffee.com/gbraad" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
// Add smooth scrolling to all links | |
$("a.nav-link").on('click', function(event) { | |
// Make sure this.hash has a value before overriding default behavior | |
if (this.hash !== "") { | |
// Prevent default anchor click behavior | |
event.preventDefault(); |