Reza Shirazi / Head of Engineering

Freelance 2021

Laracube: PHP code protection

Creator and developer

An online service where PHP developers upload code, set limits like domain or end date, pay from a wallet and download protected files.

01 The problem

PHP developers want to protect their code. They want it to run only on one domain or IP, or to stop working after a set date. Laracube gives them this as a paid online service.

02 What I built

  • 01

    Upload and quote

    Customers upload a zip of PHP files and see the price before they pay.

  • 02

    Usage limits

    Code can be locked to a domain or IP, and set to stop working after a date.

  • 03

    Wallet payments

    Customers top up a credit wallet, and each job takes its price from it.

  • 04

    Separate encoding server

    The heavy encoding runs on its own server in the background, and the customer gets a notice when it is done.

  • 05

    Accounts and support

    Phone checks by SMS code, support tickets with files, decode requests and an admin area.

03 How it works

  1. 01Customer uploads a zip of PHP files
  2. 02Site checks the files and shows the price
  3. 03Customer pays from the wallet and a background job starts
  4. 04Encoding server protects the code with the chosen limits
  5. 05Customer downloads the protected files

04 Result

  • Encoding runs automatically from upload to download.
  • Clear pricing up front: a price per file, extra per limit, and a discount for many files.
  • Files are checked before any money is taken.

Stack

  • PHP
  • Laravel 8
  • MySQL
  • ionCube
  • Queues
  • SMS

Get in touch.

Working on a platform, a backend or AI agents? Tell me about it.