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.

cat ink/internal/app/save.go source ↗
// 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.

cat hobby/src/Container.php source ↗
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

Work, open source, and research.

projects list --work

Feb 2026 – now

Prime Insights

PHP developer building and maintaining web applications at Prime Insights. Working with Laravel and MySQL to deliver scalable solutions.

Laravel, MySQL, Docker

Jan 2024 – Feb 2026

Health Data Platform

Healthcare platform for a U.S. company revolutionizing healthcare technology. Secure health data aggregation with HIPAA-compliant architecture.

Laravel, PostgreSQL, Docker

Sep 2023 – Jan 2024

hr-tool

Developed an HR app using Laravel for streamlined and efficient firm management, enhancing administrative processes and employee oversight.

Laravel, MySQL

projects list --open-source

v0.1.0, in progress

ink

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.

Go, Bubble Tea

projects list --research

paper

COLREGs-based Obstacle Avoidance Algorithm

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.

MATLAB, algorithm design, maritime simulation

contact --links