Omar Đečević, backend developer
I'm Omar Đečević, a backend developer at Prime Insights in Podgorica. Mostly PHP and Laravel, lately Go.
Before that, Mechatronics Engineering at Sakarya University, implementing domain-specific algorithms and mathematical models in MATLAB.
code --snippets
Small pieces of things I'm building right now.
// every edit does m.saveVersion++ and returns autosave(m.saveVersion)
func autosave(version int) tea.Cmd {
return tea.Tick(300*time.Millisecond, func(time.Time) tea.Msg {
return autosaveMsg{version: version}
})
}
// only the tick scheduled by the latest edit still matches, so only it saves
func (m Model) handleAutosave(msg autosaveMsg) (Model, tea.Cmd) {
if msg.version != m.saveVersion || m.editor.Path == "" || !m.editor.IsModified {
return m, nil
}
return m, m.save()
}
# ink is a keyboard-first terminal editor for PHP projects, written in Go. This is its debounced autosave: no timers to cancel, stale ticks just get ignored.
private function resolveParameters(array $parameters, string $target): array
{
$dependencies = [];
foreach ($parameters as $parameter) {
$type = $parameter->getType();
if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) {
if ($parameter->isDefaultValueAvailable()) {
$dependencies[] = $parameter->getDefaultValue();
continue;
}
throw new Exception("Unable to resolve parameter \${$parameter->getName()} for {$target}.");
}
$dependencies[] = $this->make($type->getName());
}
return $dependencies;
}
# The heart of a small service container I built to understand Laravel's. Written up in How Laravel's service container works under the hood.
projects --recent
A selection of systems I've architected and developed.
projects list --work
Prime Insights
[Feb 2026 - Present]
PHP developer building and maintaining web applications at Prime Insights. Working with Laravel and MySQL to deliver scalable solutions.
stack:
Health Data Platform
[Jan 2024 - Feb 2026]
Healthcare platform for a U.S. company revolutionizing healthcare technology. Secure health data aggregation with HIPAA-compliant architecture.
stack:
hr-tool
[Sep 2023 - Jan 2024]
Developed an HR app using Laravel for streamlined and efficient firm management, enhancing administrative processes and employee oversight.
stack:
projects list --open-source
ink
[v0.1.0, in progress]
Keyboard-first terminal editor for PHP projects, written in Go. File tree with filtering, search, syntax highlighting, multiple open files and autosave, with release builds for Linux and macOS.
stack:
Tailor
[v0.2.0]
Laravel package extending Tinker with advanced session management. Save, organize, tag, and replay REPL sessions across projects with isolated per-project command history.
stack:
Socraites
[v0.1.0]
Laravel package for AI-powered code review in Laravel development workflows.
stack:
projects list --research
A conceptual COLREGs-based obstacle avoidance algorithm implementing dynamic path planning and collision risk assessment. Created an algorithm that implements regulations for preventing collisions at sea, and simulates vessels movements according to them.
stack: