Skip to content

Instantly share code, notes, and snippets.

View FranciscoCaldeira's full-sized avatar
💭
coding

Francisco FranciscoCaldeira

💭
coding
View GitHub Profile

PHP Code Review Refactor & Optimization Guide

Checklist các case thường gặp khi review code PHP (Fuel, Laravel, Symfony) và cách refactor cho ngắn gọn, dễ hiểu, tối ưu.


1. Control Flow

1.1. Nested if/else → Early Return

Learning Plan for Test Driven Development (TDD)

These learning resources primarily focus on Test Driven Development (TDD).

  • There is an emphasis on learning using PHP, Laravel and PHPUnit.
  • All these resources are free (at the time of writing)
@FranciscoCaldeira
FranciscoCaldeira / githubpull.md
Created October 2, 2025 16:21 — forked from Jabarabo/githubpull.md
Gist of a stolen gist
@FranciscoCaldeira
FranciscoCaldeira / PHPExcel_Basics.md
Created November 19, 2024 09:33 — forked from yajra/PHPExcel_Basics.md
PHPExcel Notes and code snippets

Basics

Creating a new PHPExcel Object.

    $this->PHPExcel = new PHPExcel();

Working with sheets

Creating a new sheet: