Waste Operations Platform

Waste Pilot

Multi-tenant Laravel platform for Arcann Waste that digitizes dumpster rental operations for waste companies and independent contractors — JWT-secured company panel with real-time chat, automated job dispatching, and payment processing built for trustworthy billing and collections.

Arcann Waste2025 – Present

JWT

Secure panel

Access

Multi-tenant

Isolated companies

Tenancy

Real-time

Chat & jobs

Dispatch

The Challenge

Rental businesses often juggle spreadsheets, phone dispatch, and ad hoc updates from the field. The product needed one platform where multiple waste companies (tenants) and their contractors could coordinate roll-off jobs, communicate in real time, and process payments reliably — all while keeping each company's data and billing isolated from the others.

Architecture & Solution

Built as a multi-tenant Laravel application with JWT-based authentication for company and contractor accounts. Redis powers application-level caching to keep dashboard and job-status queries fast under load, while AWS S3 handles file and document storage. Firebase and Pusher provide real-time chat between companies, contractors, and drivers during job dispatch. Scheduled cron jobs handle recurring tasks — job assignment sweeps, status reminders, and billing cycles — on top of a MySQL-backed order and job-dispatching system, with payment integration handling invoicing and collections.

Key Features

Multi-tenant panel

Each waste company operates in its own isolated tenant space — data, contractors, and billing kept separate on shared infrastructure.

Job dispatching

Order and job-dispatching system routes rental requests to contractors, with cron-driven scheduling automating recurring assignment and reminder tasks.

Real-time chat

Firebase and Pusher power live chat between companies, contractors, and drivers to coordinate jobs without phone tag.

Payments & billing

Integrated payment processing ties invoicing and collections directly to completed rental jobs.

Performance & caching

Redis-backed caching keeps dashboard and job-status views responsive as tenant and job volume grows.

Technical Deep Dive

DispatchPendingJobs.phpphp
<?php

namespace App\Console\Commands;

use App\Models\Company;
use App\Jobs\AssignContractorJob;
use Illuminate\Console\Command;

class DispatchPendingJobs extends Command
{
    protected $signature = 'jobs:dispatch-pending';
    protected $description = 'Sweep each tenant company for unassigned rental jobs and dispatch them to contractors';

    /**
     * Runs on the scheduler (cron) — keeps each company's jobs
     * scoped to its own tenant while routing new requests to
     * available contractors.
     */
    public function handle(): void
    {
        Company::with('pendingJobs')->chunk(50, function ($companies) {
            foreach ($companies as $company) {
                foreach ($company->pendingJobs as $job) {
                    if (! $job->contractor_id) {
                        AssignContractorJob::dispatch($job)->onQueue('dispatch');
                    }
                }
            }
        });
    }
}

Results & Impact

A live multi-tenant company panel giving Arcann Waste's network of waste companies and contractors a modern, JWT-secured control surface for dumpster rental operations — with real-time chat for dispatch coordination, automated scheduling via cron jobs, and integrated payments that keep billing and collections on track.

Measurable Outcomes

Multi-tenant architecture keeping each waste company's data, contractors, and billing isolated from other tenants on the same platform

JWT-secured authentication for company and contractor accounts across the panel

Real-time chat via Firebase and Pusher connecting companies, contractors, and drivers during job dispatch

Redis-backed caching for fast dashboard and job-status queries under load

Cron-driven scheduler automating job assignment, status reminders, and billing cycles

Integrated payment processing for invoicing and collections tied to completed jobs

Technology Stack

Laravel
PHP
MySQL
JWT Authentication
Multi-tenant Architecture
Redis Caching
AWS S3
Firebase
Pusher
Cron & Scheduler
Payment Integration

Project Info

Employer

Arcann Waste

Timeline

2025 – Present

Category

Waste Operations Platform

Tech Stack

LaravelPHPMySQLJWT AuthenticationMulti-tenant ArchitectureRedis CachingAWS S3FirebasePusherCron & SchedulerPayment Integration

Working on something similar?

Let's discuss your project requirements and how I can help architect a solution.

Get In TouchAll Projects
MA

Muhammad Arslan

Loading precision…

System initializing4%
Engineering the future