- Type
- Social Platform
- Built with
- PHP, Laravel 8, Blade
- Toolkit
- 22 technologies
- Code
- Public on GitHub ↗
Overview
A “basic social media” platform prototype built with Laravel, focused on core community features and real-time interaction.
The project explores typical social app building blocks—user accounts, content posting, and interactive workflows—using a server-rendered Blade UI, plus realtime capabilities (WebSockets) to make parts of the experience feel live (e.g., notifications/chat-style updates).
In retrospect, the main functional gap is that it doesn’t include the kinds of growth/monetisation mechanics real social platforms need—like an advertisement layer and interest tracking/personalisation for feeds—so it remains a strong foundational prototype rather than a complete product-ready social network.
The hard parts
What made it tricky.
Every project has a few problems that decide whether it works in real life. These were the ones here, and how we handled them.
-
01
Designing the “social graph” domain
users, posts, relationships/interactions, and the data model behind timelines/feeds.
-
02
Implementing real-time features reliably (WebSockets/events), including local development complexity and state synchronisation.
-
03
Preventing common social-app edge cases
authorisation rules, privacy boundaries, content ownership, and moderation-style constraints.
-
04
Keeping performance reasonable for feed-like pages (avoiding N+1 queries, keeping queries/indexing sane as datasets grow).
-
05
Recognising what’s required beyond CRUD for a real social platform (ads, interest tracking, ranking, analytics) and making tradeoffs on scope.
From the client
How it turned out.
“This was a particularly complex social media project, but the team understood the requirements and successfully delivered everything within the given timeline. Great work, guys!”
Under the hood
The stack.
- PHP
- Laravel 8
- Blade
- Laravel Sanctum
- beyondcode/laravel-websockets
- laravel-echo
- Pusher (pusher/pusher-php-server
- pusher-js)
- Vue 3
- vue-loader
- JavaScript
- Laravel Mix
- Axios
- Lodash
- PostCSS
- yajra/laravel-datatables
- GuzzleHTTP
- PHPUnit
- Docker
- Dockerfile
- Shell
- Laravel Sail