1. Obtain an API key from MusicBrainz by registering on their website.
2. Initialize a new cURL session using curl_init()
.
$curl = curl_init();
{ | |
"preset": "laravel", | |
"rules": { | |
"blank_line_before_statement": { | |
"statements": [ | |
"return", | |
"try" | |
] | |
}, | |
"concat_space": { |
.material-red.lighten-5 { | |
background-color: #ffebee; | |
} | |
.material-red-text.text-lighten-5 { | |
color: #ffebee; | |
} | |
.material-red-border.border-lighten-5 { | |
border-color: #ffebee; |
// Root Colors | |
:root { | |
--primary: #446e9b; | |
--secondary: #373a3c; | |
--success: #93c54b; | |
--info: #5bc0de; | |
--warning: #f0ad4e; | |
--danger: #e74c3c; | |
--light: #f7f7f7; | |
--dark: #333333; |
@extends('layouts.admin') | |
@section('content') | |
<section class="section"> | |
<div class="container is-fluid"> | |
<div class="card no-box-shadow-mobile"> | |
<header class="card-header"> | |
<p class="card-header-title"> | |
{{ __(Route::getCurrentRoute()->getName()) }} | |
@if (isset($link)) |
<div class="navbar-item {{ $class ?? '' }}"> | |
<form method="POST" action="{{ route('auth.logout') }}"> | |
@csrf | |
<p class="field"> | |
<button type="submit" class="button is-dark"> | |
<span class="icon"> | |
{!! icon('log-out') !!} | |
</span> | |
<span> | |
{{ __('auth.logout') }} |
<section class="hero is-primary {{ $class ?? '' }}"> | |
<div class="hero-body"> | |
<div class="container"> | |
<div class="columns"> | |
<div class="column is-12"> | |
<h1 class="title"> | |
<i class="fas fa-{{ $icon ?? 'home' }}"></i> | |
{{ $title }} | |
</h1> | |
<h2 class="subtitle"> |
<?php | |
namespace App\Models; | |
use App\Base\SluggableModel; | |
use DateTimeInterface; | |
use Illuminate\Database\Eloquent\Factories\HasFactory; | |
use Illuminate\Database\Eloquent\Relations\BelongsTo; | |
use Illuminate\Database\Eloquent\Relations\HasMany; |
@if (isset($errors) && count($errors) > 0) | |
@foreach ($errors->all() as $error) | |
<div class="notification response-notification is-warning has-text-centered"> | |
<span class="icon">{!! icon('alert-circle') !!}</span> | |
<span class="text">{{ $error }}</span> | |
</div> | |
@endforeach | |
@endif | |
@if (session()->has('error')) | |
<div class="notification response-notification is-warning has-text-centered"> |
{ | |
"preset": "laravel", | |
"rules": { | |
"blank_line_before_statement": { | |
"statements": [ | |
"return", | |
"try" | |
] | |
}, | |
"concat_space": { |