Skip to content

Instantly share code, notes, and snippets.

View billydekid's full-sized avatar

Bayu Widyasanyata billydekid

  • TeknoEduka
  • Depok - West Java, Indonesia.
  • 15:05 (UTC +07:00)
View GitHub Profile
@billydekid
billydekid / CaritahuForm.php
Created August 21, 2025 07:38
Create public form with Livewire component
<?php
/* app/Livewire/CaritahuForm.php */
namespace App\Livewire;
use Filament\Forms;
use Filament\Forms\Get;
use Livewire\Component;
use Filament\Forms\Form;
@billydekid
billydekid / CreateProject.php
Created April 18, 2024 00:59
Hidden field tidak ke-save
// hasil dd($this->data)
array:6 [▼ // app/Filament/Resources/ProjectResource/Pages/CreateProject.php:30
"project_name" => "Ikan Mas 3"
"project_code" => "IKANMAS3"
"workflow_type_id" => "2"
"due_date" => "2024-04-26"
"note" => "dtest"
"docid" => array:1 [▼
"4487a3f6-dff9-4fdf-8977-de4e7479bcfa" => "01HVQBBWMDJ4G9TR1GAPVCTCQR.txt"
@billydekid
billydekid / ProjectResource.php
Last active April 17, 2024 11:26
How to get $workflow_type_id
<?php
class ProjectResource extends Resource
{
protected static ?string $model = Project::class;
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
/**
* File upload dynamic
@billydekid
billydekid / AdminPanelProvider.php
Created January 15, 2024 14:10
Filament PHP login with LdapRecord
<?php
namespace App\Providers\Filament;
use Filament\Pages;
use Filament\Panel;
use Filament\Widgets;
use Filament\PanelProvider;
use Filament\Support\Colors\Color;
use Filament\Http\Middleware\Authenticate;
@billydekid
billydekid / infonyadong.php
Created January 22, 2014 11:21
Test PHP code, infonyadong.php
<?php phpinfo(); ?>