Skip to content

Instantly share code, notes, and snippets.

View mi-dexigner's full-sized avatar
🏠
Working from home

Muhammad Idrees mi-dexigner

🏠
Working from home
View GitHub Profile
@mi-dexigner
mi-dexigner / readme.md
Created October 21, 2025 12:46
Introduction to Programming C++

Example 1

/*
in a program a vaiable has:
1- Name
2- Type
3- Size
4- Value
@mi-dexigner
mi-dexigner / LivewireLearning.md
Last active September 21, 2025 06:35
Livewire Learning

Livewire Learning

Powerful, dynamic, front-end UIs without leaving PHP.

Getting Started

simple laravel project create

Installation

  • write the command livwire install
    • composer require livewire/livewire
  • remove welcome.blade.php just using this
  • welcome.blade.php
<?php
/**
* Generate an HTML heading tag
*
* @param string $data Content inside heading
* @param string $h Heading level (1-6)
* @param mixed $attributes HTML attributes (string or array)
*
* @return string
*/
@mi-dexigner
mi-dexigner / Mastering OOP in PHP.md
Created August 26, 2025 11:40
🔑 Steps to Improve PHP OOP Practice

Mastering OOP in PHP

1. Understand OOP Basics Deeply

Before advanced stuff, make sure you’re solid on:

  • Classes & Objects
  • Properties & Methods
  • Constructors & Destructors
  • Inheritance
  • Interfaces & Abstract classes
  • Polymorphism
@mi-dexigner
mi-dexigner / Laravel Learning Roadmap.md
Last active August 26, 2025 11:31
Laravel Learning Roadmap

Laravel Practice Project Ideas (Beginner → Expert)

A structured roadmap to guide you from beginner to intermediate and advanced levels in Laravel development.

🧠 Suggested Learning Flow

  1. Beginner Projects → Build CRUD mastery.
  2. Intermediate Projects → Add relationships, file uploads, and roles.
  3. Advanced Projects → Learn queues, APIs, testing, payments.
  4. Expert Projects → Dive into architecture, scaling, and DevOps.
@mi-dexigner
mi-dexigner / Tasks.md
Created August 4, 2025 12:03
All Programming Language

Tasks:

Variables, Data Types & Input/Output

1) Show the following patterns just using print statements:

  • Right Half Pyramid
  • Reverse Right half Pyramid
  • Left Half Pyramid

2) Show the following patterns just using single print statement:

  • Right Half Pyramid
@mi-dexigner
mi-dexigner / readme.md
Last active January 23, 2025 13:07
Laravel And React Inertia

laravel 11 crash courses

Artisan Command

  • php artisan serve
  • npm install
  • php artisan list
  • php artisan config:publish
  • php artisan config:publish broadcasting
  • php artisan make:controller Welcome
  • php artisan make:model Note -m
@mi-dexigner
mi-dexigner / modal.blade.php
Created January 15, 2025 12:42
Create a Modal using Laravel Livewire with Alpine JS
@props(['name','title'])
<div
x-data="{ show : false,name:'{{ $name }}' }"
x-show="show"
{{-- x-on:open-modal.window="show=true" --}}
x-on:open-modal.window="show = ($event.detail.name === name)"
x-on:close-modal.window="show=false"
x-on:keydown.escape.window="show=false"
class="fixed z-50 inset-0"
style="display: none"
<?php
namespace App\Livewire;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Livewire\Attributes\Computed;
use Livewire\Attributes\Rule;
use Livewire\Attributes\Title;
use Livewire\Attributes\Url;
use Livewire\Component;
@mi-dexigner
mi-dexigner / Controller-TodoList.php
Last active January 9, 2025 22:56
Creating a Todo in Livewraie
<?php
namespace App\Livewire;
use App\Models\Todo;
use Exception;
use Livewire\Attributes\Layout;
use Livewire\Attributes\Rule;
use Livewire\Attributes\Title;
use Livewire\Component;