← All projects
Hava Durumu
My first Laravel project: an OpenWeather-backed app that reskins itself to match the weather and time of day.
2026
- Laravel
- PHP
- Blade
- OpenWeather API
Problem
A first step into backend. The goal was deliberately small: see end to end how a framework handles a request, how it talks to an external API and where secrets live. But not a "hello world" — something usable.
Solution
A weather app where you type a city name and it fetches live data from the OpenWeather API: temperature, humidity and conditions. The small twist: the interface reacts to the data — a clear summer night, a snowy noon and a stormy evening each arrive with a different theme.
Approach
- Condition classification: OpenWeather's condition codes (2xx thunderstorm, 5xx rain, 6xx snow, 800 clear...) are read together with the icon suffix (
n= night) and mapped to theme classes likenight-rain,day-sunnyandthunder. - Laravel fundamentals: the route → controller → Blade view flow, external API calls through the
Httpclient, the API key kept in.env. - Honest scope: one controller, one route. This project isn't a product, it's a starting point — the ground Film Arşivim and Baitless were later built on.