Skip to content

Instantly share code, notes, and snippets.

View oliuz's full-sized avatar
💻
Coding!

Jose Rosado oliuz

💻
Coding!
View GitHub Profile
@oliuz
oliuz / UsersTable.php
Created November 6, 2023 18:29 — forked from davidgrzyb/UsersTable.php
Livewire Infinite Scroll Example
<?php
namespace App\Http\Livewire;
use App\Models\User;
use Livewire\Component;
class UsersTable extends Component
{
public $totalRecords;
@oliuz
oliuz / CreateComment.php
Created November 6, 2023 18:28 — forked from fotrino/CreateComment.php
@mentions with Alpine.js, Livewire & Tributeq
<?php
namespace App\Http\Livewire;
use Livewire\Component;
use App\Models\User;
class CreateComment extends Component
{
public $mentionables;
@oliuz
oliuz / FieldRepeater.php
Created November 6, 2023 18:28 — forked from paperscissors/FieldRepeater.php
Laravel Livewire 3 Field Repeater
<?php
namespace App\Livewire;
use Livewire\Component;
class FieldRepeater extends Component
{
public array $rows = [];
public string $field;
@oliuz
oliuz / dashboard.blade.php
Created November 6, 2023 18:28
resources/views/livewire/dashboard.blade.php
<x-homepage.dashboard title="{{__('custom.HomePage.title')}}" desc="{{__('custom.HomePage.Desc')}}" cols="4">
<div>
<x-homepage.image-card title="{{__('custom.HomePage.Darkhasta')}}" img="{{asset('image/darkhasta.png')}}"
route="{{route('demand.list.index')}}"/>
</div>
<div>
<x-homepage.image-card title="{{__('custom.HomePage.ParvaneSakhtemani')}}" img="{{asset('image/sodoor.png')}}"
route="{{route('demand.approved.index')}}"/>
</div>
<div>
@oliuz
oliuz / laravel-livewire-tables-demo-table.php
Created November 6, 2023 18:27 — forked from rappasoft/laravel-livewire-tables-demo-table.php
Laravel Livewire Tables Demo Table Source
<?php
namespace App\Http\Livewire;
use App\Models\Tag;
use App\Models\User;
use Illuminate\Database\Eloquent\Builder;
use Rappasoft\LaravelLivewireTables\DataTableComponent;
use Rappasoft\LaravelLivewireTables\Views\Columns\BooleanColumn;
use Rappasoft\LaravelLivewireTables\Views\Column;
@oliuz
oliuz / Calendar.php
Created November 6, 2023 18:27 — forked from nowendwell/Calendar.php
Laravel Livewire FullCalendar
<?php
namespace App\Http\Livewire;
use App\Models\Event;
use Livewire\Component;
use Illuminate\Support\Str;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Cache;
@oliuz
oliuz / RegisterForm.php
Created November 6, 2023 18:27 — forked from yelocode/RegisterForm.php
Livewire 3 course components and views
<?php
namespace App\Livewire;
use App\Models\User;
use Livewire\Attributes\Rule;
use Livewire\Component;
use Livewire\WithFileUploads;
class RegisterForm extends Component
@oliuz
oliuz / datatable.html
Created November 6, 2023 18:27 — forked from yelocode/datatable.html
Tailwind css Data table
<div>
<section class="mt-10">
<div class="mx-auto max-w-screen-xl px-4 lg:px-12">
<!-- Start coding here -->
<div class="bg-white dark:bg-gray-800 relative shadow-md sm:rounded-lg overflow-hidden">
<div class="flex items-center justify-between d p-4">
<div class="flex">
<div class="relative w-full">
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">
<svg aria-hidden="true" class="w-5 h-5 text-gray-500 dark:text-gray-400"
<?php
namespace App\Filament\Resources\PostResource\RelationManagers;
use Filament\Forms;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Resources\RelationManagers\RelationManager;
use Filament\Tables;
use Filament\Tables\Actions\AttachAction;
@oliuz
oliuz / Calendar.php
Created November 6, 2023 18:26 — forked from yelocode/Calendar.php
Full Calendar JS Livewire example
<?php
namespace App\Livewire;
use App\Models\Event;
use Carbon\Carbon;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Validator;
use Livewire\Attributes\Rule;
use Livewire\Component;