Skip to content

Instantly share code, notes, and snippets.

View MyFRA's full-sized avatar
🇮🇩
Focusing

To My MyFRA

🇮🇩
Focusing
View GitHub Profile
{
"openapi": "3.0.1",
"info": {
"title": "DEMO API",
"description": "Api Documentation for DEMO API Project",
"termsOfService": "http://swagger.io/terms/",
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
// Superadmin
User::create([
'name' => 'Author',
'email' => '[email protected]',
'password' => Hash::make('authortamvan'),
'role' => 'superadmin',
'number_phone' => '085865721251'
]);
// General User
<!DOCTYPE html>
<html>
<head>
<title>
@if($domain->stepper_domain->custome->title)
{{ $domain->stepper_domain->custome->title }}
@else
Welcome to the Wedding of {{ ucfirst($domain->stepper_domain->custome->change_name ? $data->nick_female : $data->nick_male) }} & {{ ucfirst($domain->stepper_domain->custome->change_name ? $data->nick_male : $data->nick_female) }} &#8211; {{ ucfirst($domain->stepper_domain->kota) }}, {{\Carbon\Carbon::parse($domain->stepper_domain->waktu)->format('d F Y')}}
@endif
</title>