Softellar

PHP Staff Augmentation

PHP Staff Augmentation for Laravel Teams

Every PHP request holds a worker until it is done, so one slow query or an email sent mid-request makes the next visitor wait. A PHP engineer from our in-house team joins your Laravel codebase, your reviews and your releases. You lead the work.

Discuss your Laravel application

We reply within 24 hours

Companies we have built software for

  • Multi Radiance Medical
  • Loma Lux Laboratories
  • WellVu
  • Commercial Capital Group
  • Grand Auto
  • HostMy
  • Land Base
  • Auto Tuning

One Worker, One Request

Each PHP-FPM worker serves one request and waits with it. One slow query holds a worker, and the next visitor waits at the door.

The pool when a ticket sale opens
  1. Worker 1GET /events/4241 queries
    01

    Queries from the template

    • Eloquent
    • Blade
    • MySQL
    • MariaDB
    • PostgreSQL

    Queries for the event page

    Before: 41After: 3

    Where it goes wrong

    A Blade template reads each ticket’s buyer inside a loop, and Eloquent runs one more query on every pass.

    What the engineer adds

    Relations loaded up front, lazy loading turned off outside production so it fails in tests, and an index for each slow filter.

  2. Worker 2GET /seats/42Rebuilding cache
    02

    The cache

    • Redis
    • Memcached

    Workers rebuilding the seat map

    Before: 6After: 1

    Where it goes wrong

    A popular key expires, and every worker that asks for it rebuilds the seat map at the same moment.

    What the engineer adds

    One worker rebuilds while the rest serve the last value, a lifetime on every key, and keys cleared when the record changes.

  3. Worker 3POST /checkoutSending emails
    03

    Work that can wait

    • Laravel queues
    • Redis
    • RabbitMQ

    Seconds the checkout holds a worker

    Before: 38After: 0.3

    Where it goes wrong

    Ticket emails go out inside the request. Moved to a queue without care, a job that outlasts the retry window runs twice and sends two tickets.

    What the engineer adds

    Emails and PDFs pushed to a queue, a job timeout shorter than the retry window, jobs safe to run twice and a retry limit.

  4. Worker 5PUT /orders/7Saving any field
    05

    What comes in

    • Laravel validation

    Fields a buyer can set

    Before: 12After: 4

    Where it goes wrong

    A form passes every field to the model, so a buyer can set the price, and an uploaded file lands where the server will run it.

    What the engineer adds

    Validated request classes, a list of fields each model accepts, bound query parameters, and uploads kept outside the web root.

  5. At the door120 requestsWaiting for a worker
    06

    The pool itself

    • Nginx
    • Apache
    • PHP-FPM

    Workers in the pool

    Before: 6After: 14

    Where it goes wrong

    The pool size is a guess, so memory sits unused while requests wait at the door, and no one has measured either.

    What the engineer adds

    The pool sized from the memory each worker uses, the slow log switched on, and a time limit on every request.

Queues, Workers and Caches We Built

Products where our engineers built the queues, background workers and caches behind the application.

North America

ETL monitoring across hundreds of warehouse jobs

Outcomes

  • Materially faster incident triage
  • Strong reduction in alert noise
  • Shorter time-to-first-dashboard for new tenants
  • .NET
  • Next.js
  • Temporal
  • Azure

When the Process Stays Alive

PHP-FPM wipes memory after each request. Octane and queue workers boot Laravel once and keep it, with whatever the last request left.

Three buyers, two ways to serve them

PHP-FPM

Memory wiped after each request

  1. Buyer A

    A’s cart

    Wiped

  2. Buyer B

    B’s cart

    Wiped

  3. Buyer C

    C’s cart

    Wiped

Octane or a queue worker

One process serves all three

  1. Buyer A
  2. Buyer B
  3. Buyer C

A’s discount code, kept in a static property

  1. Sets a discount
  2. Pays A’s price
  3. Pays A’s price
Release 42 goes out at 10:00
  1. PHP-FPM workers

    The next request runs 42

  2. Queue worker, not restarted

    Restarted by hand at 13:15

  3. Queue worker, restarted by the deploy

    Runs 42 from the deploy

PHP-FPM workers and a queue worker restarted by the deploy run release 42 from 10:00. A queue worker that is not restarted keeps running release 41 until 13:15.

So a long-lived process behaves like a fresh one

Starting a new web application? Web development covers a new application built from the start, as a project we run.

Web development services

Clients on Working With Our Engineers

A faster website, a system joined to existing tools and an engine tested at its core, each quote linked to its project.

Laravel Engineers Inside Your Team

PHP staff augmentation adds a PHP engineer to your team, and you lead the work.

The engineer finds what holds your workers, moves work that can wait out of the request, and adds tests to the code being changed while features keep shipping.

The goal

Requests that let go of their worker quickly, and jobs that are safe to run twice.

What the engineer works in

  1. At the door

    • Nginx
    • Apache
    • PHP-FPM
  2. In the request

    • Laravel
    • Eloquent
    • Blade
    • MySQL
    • MariaDB
    • PostgreSQL
  3. Outside the request

    • Laravel queues
    • Redis
    • Memcached
    • RabbitMQ
    • Elasticsearch
  4. Kept alive

    • Laravel Octane
    • FrankenPHP
    • Swoole
    • RoadRunner
  5. Around it

    • PHPUnit
    • Pest
    • Docker
From the web server that hands a request to a worker, through the code it runs and the work it leaves for later, to the processes that stay alive and the checks around them.

Pages Slow When Traffic Peaks?

Tell us which pages and jobs slow down, and an engineer will tell you who we have.

We reply within 24 hours and can sign an NDA first.

Have files or a long brief? Use the full form

Before the First Migration Runs

Four questions we ask before proposing a PHP engineer, then the five steps to their first two weeks.

What we ask

  1. 01

    Which PHP and Laravel versions it runs, and how it is served

    For examplePHP 8.2 and Laravel 10 behind Nginx and PHP-FPM, with Octane being tried

    So the engineer knows whether state can carry over between requests, and which upgrades are ahead.

  2. 02

    What runs outside the request

    For exampleLaravel queues on Redis for emails and PDFs, and a scheduler that runs five commands

    So the engineer knows which jobs have to be safe to run twice.

  3. 03

    Where it hurts

    For exampleThe event page during a sale, and a nightly import that runs into the morning

    So the first weeks go to the slowest page or job, measured before and after.

  4. 04

    How changes are tested and deployed

    For exampleA few PHPUnit tests, and deploys by pulling the code on the server

    So the first change comes with tests, and the deploy restarts the workers.

Then, in this order

  1. 01Brief

    You answer these questions, plus the role, the seniority and the start date.

  2. 02Shortlist

    We match the brief against our in-house engineers and send the profiles that fit.

  3. 03Interview

    You test them the way you would test your own hires, then pick who joins.

  4. 04Order

    A short order under the master services agreement names the engineer, the rate and the start date.

  5. 052-week trial

    The engineer joins your standups and opens a first pull request in week one.

Terms at a glance

Read the full agreement
Start
Often within 48 to 72 hours
Trial
The first 2 weeks, before any long-term commitment
Replacement
Within 48 hours, at no extra cost
Notice
One month to scale up or down, with no penalties
IP
Full ownership assigned to you under the MSA
Working hours
Standups and reviews from 2 to 6 PM CET, the US morning

US Office, European Engineering

Headquartered in Warsaw, Poland, with a client office in New York. A European engineering team that works in your hours, with a US point of contact.

Headquarters

Warsaw, Poland

Engineering and delivery, and the main contact point for clients in Europe.

Client office

New York, United States

Kickoffs, contracts and account management for North American clients.

Shared hours with North America

Clients in Europe share the full working day with the team.

8 AM to 12 PM New York time, 2 PM to 6 PM in Warsaw.

Staffing and Web Rankings

Rankings for our staff augmentation and web development work, then for the in-house team our PHP engineers come from.

Related reading

Reading for PHP Team Leads

Guides from our team on securing web applications, the OWASP Top 10 risks and code reviews that keep quality up.

All Insights

Frequently Asked Questions

Questions teams ask before a PHP engineer joins their Laravel application.

Have a different question? Talk to our team

What Holds Your Workers?

Tell us about the application, how it is served and what slows the team down.

We reply within 24 hours, and we can sign an NDA before you share details.

Talk to the people who will scope your project