<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PHP |</title><link>https://ad25aderram.github.io/my-portfolio/tags/php/</link><atom:link href="https://ad25aderram.github.io/my-portfolio/tags/php/index.xml" rel="self" type="application/rss+xml"/><description>PHP</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 01 Mar 2026 00:00:00 +0000</lastBuildDate><image><url>https://ad25aderram.github.io/my-portfolio/media/icon_hu_b93c5070c370bd46.png</url><title>PHP</title><link>https://ad25aderram.github.io/my-portfolio/tags/php/</link></image><item><title>RESTful Task Management API</title><link>https://ad25aderram.github.io/my-portfolio/projects/todo-api/</link><pubDate>Sun, 01 Mar 2026 00:00:00 +0000</pubDate><guid>https://ad25aderram.github.io/my-portfolio/projects/todo-api/</guid><description>&lt;p&gt;A robust backend API for a task management application, designed around clean REST architecture and built to integrate seamlessly with any modern frontend.&lt;/p&gt;
&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;The goal was to build a backend that any frontend — web or mobile — could consume without friction. That means consistent response shapes, clear error messages, and a database schema that won&amp;rsquo;t need restructuring as the app scales.&lt;/p&gt;
&lt;h2 id="key-features"&gt;Key features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Full CRUD&lt;/strong&gt; — complete HTTP method coverage for task resource lifecycle management&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Optimised schema&lt;/strong&gt; — PostgreSQL with normalisation and integrity constraints from the start&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Standardised JSON&lt;/strong&gt; — consistent response structure across all endpoints, including errors&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Clean code&lt;/strong&gt; — leverages Laravel 12 and PHP 8.4 features for concise, maintainable logic&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="architecture"&gt;Architecture&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Client (Web/Mobile)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; │
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ▼
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Laravel 12 Routes
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; │
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ▼
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Controllers → Form Requests (validation)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; │
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ▼
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Eloquent Models
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; │
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ▼
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;PostgreSQL
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="tech-stack"&gt;Tech stack&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Backend&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Laravel 12 (PHP 8.4)&lt;/li&gt;
&lt;li&gt;PostgreSQL (migrations, constraints, normalisation)&lt;/li&gt;
&lt;li&gt;Composer&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Tooling&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Postman (endpoint testing &amp;amp; documentation)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="key-takeaways"&gt;Key takeaways&lt;/h2&gt;
&lt;p&gt;This project deepened my understanding of API design — particularly around response consistency, error handling, and building backends that are easy to consume regardless of the frontend technology used.&lt;/p&gt;</description></item></channel></rss>