basicmath
AI & Products

Built to Keep Running: Four Criteria Behind Our Tech Stack

Photo: Markus Spiske / Unsplash
SummaryA 30-second read
  1. We chose Laravel as the stack for mitsumonoAI Workspace based on long-term operating cost, not language trends.
  2. The deciding factor was that the framework and its hosting platform, Laravel Cloud, come from the same provider, so customers can hand off operations too.
  3. During PHP2Shell in October 2026, Laravel Cloud patched every app about 4.5 hours after the fixes came out, and users did not have to do anything.
~4.5 hours
From the PHP fix release until the fix reached every app on Laravel Cloud
0
Redeploys Laravel Cloud users ran to apply the fix
48%
PHP sites still unpatched 3 days after the fix release (reported by Nikkei, cited in Yoshimasa's column)
~48,000
Jobs that were briefly queued on Laravel Forge, where users update their own servers
In this article
  1. §1SaaS and installed products choose technology for different people
  2. §2The four conditions we set
  3. §3The deciding factor: the framework and the infrastructure come from the same provider
  4. §4What PHP2Shell confirmed for us
  5. §5No language is safe. So choose a system that fixes things fast
  6. §6So that one incident does not reach every client company
  7. §7mitsumonoAI Workspace is designed with operations in mind
  8. Q&A

When we developed mitsumonoAI Workspace, we chose Laravel, a PHP framework. Python and TypeScript dominate today, and highly efficient languages like Rust are gaining fans. Next to them, PHP may be something of a forgotten option.

We still chose it because we thought first about whether our customers could keep running the product without strain, before thinking about how new or fast a language is. For a product that runs in the customer’s environment, the choice of technology itself decides how heavy operations will be after adoption. In this article, we describe the conditions we set, the deciding factor, and what we confirmed during PHP2Shell, a critical PHP vulnerability disclosed in October 2026.

SaaS and installed products choose technology for different people

We built the earlier mitsumonoAI SaaS edition with Node.js and PHP. As we explained in our previous article, we are ending the SaaS edition and moving to mitsumonoAI Workspace, which runs in environments our customers manage. With the SaaS edition, we handled all development and maintenance ourselves and set our own policies for updates, monitoring and incident response. We could also choose a technology stack that fit our own team and the size of the service.

With mitsumonoAI Workspace, customers and deployment partners join in. Choosing technology now means thinking beyond our own development team, to what each deployment can keep running over time.

mitsumonoAI Workspace is not a fixed SaaS but a single-tenant package that customers install in environments they contract for themselves. We also provide the source code, so customers can modify it in house. The customer, or a deployment partner the customer chooses, handles updates and backups.Sources: Product guide: “Product Approach and Delivery”, Product guide: “Customization”

In other words, we choose the technology for the customers who adopt it, not for ourselves. The question is not whether it is easy for us to work with. It is whether the customer’s IT department or partner can keep running it without strain.

Every dependency multiplies by the number of deployments

With installed products, people tend to overlook how heavy dependencies are. With SaaS, if you add one library, you update it in only one environment, your own. With an installed product, there are as many environments as there are deployments. Each library or external service you add creates work for every deployment, which has to track and update it.

Usage scale also varies widely. mitsumonoAI Workspace is free for up to 3 users, and we offer plans for 50 and 200 users, up to large deployments that split environments by department or subsidiary.Source: mitsumonoAI Workspace product page (licenses and pricing)If a 3-person team and a company with more than a thousand people cannot run it on the same technology and with the same procedures, it does not work as a product.

The four conditions we set

From this starting point, we narrowed our criteria for choosing technology to four.

1. Everything fits within one framework

Laravel comes with much of what a web application needs. It has database access, plus migrations that record changes to the database structure. It has authentication, caching, email and notifications. It has queues that run slow jobs in order in the background, and a scheduler that runs jobs at set times. It can also switch file storage between local disk and cloud storage such as S3.

All of these come within the same framework, with the same design approach and the same update cycle. Compared with picking and combining separate libraries for each feature, you track far fewer updates and spend far less effort checking that the pieces work together. Tracking and responding to updates from separate libraries every week and every month is one of the most time-consuming jobs in operations after adoption. Reducing dependencies also reduces the entry points for attacks.

2. The same setup scales from 3 users to a whole company

One of PHP’s strengths is that it scales easily. In a typical setup, PHP handles each request on its own and cleans up after each one finishes.

This design has two operational benefits. First, if one request runs into a problem, the effect is less likely to spread to other users’ requests. Second, because the server does not hold on to user state, every server returns the same result. When users increase, you can handle more load just by adding servers or queue workers that run the same application.

In mitsumonoAI Workspace, data such as conversations, outputs, files and logs also lives in the database and file storage in the customer’s environment. We designed it so that whether you are trying it with 3 people or using it across the company, you keep the same application and match the scale by adding servers or queue workers.

3. The application can absorb the quirks of AI models and APIs

A product that uses generative AI for business has to keep dealing with the quirks of external APIs. Responses can take tens of seconds. When services are busy, they reject calls, and sometimes responses cut off midway. Models keep getting replaced, and old models stop working. Every call also costs money.

mitsumonoAI Workspace connects to more than AI models. Beyond five providers (OpenAI, Anthropic, Gemini, xAI and OpenRouter), it connects to Dify, n8n and LangChain workflows, web search and page reading, input and output checks, and external apps through MCP.Source: Product guide: “Product Approach and Delivery” (overview and architecture)Each has its own response formats, limits and ways of failing.

You cannot fix these quirks on the AI side. The application has to absorb them. Laravel comes with built-in tools to set timeouts and retries on external calls, to send long jobs to a queue so screens do not hang, and to limit how often a job runs.

On top of this foundation, mitsumonoAI Workspace builds in rules for business use. When usage reaches the spending cap, jobs stop before they start. If input checks are turned on and the check cannot run, the job itself stops. When a model is retired, mitsumonoAI Workspace automatically switches to a replacement model set in advance.Source: mitsumonoAI Workspace product page (data sovereignty and admin features)For business products, it is essential to turn the uncertainty of AI into something you can manage as operating rules.

4. Proven, with long-term support

We wanted the language itself, its documentation, its libraries and the whole ecosystem around it to be mature enough. That means you can find answers when you get stuck, and you can find people or companies to take over operations.

We also wanted clear support periods. Each PHP version gets two years of active support after release, then two more years of critical security fixes. Laravel releases a major version once a year, with bug fixes for 18 months and security fixes for two years.Sources: PHP: Supported Versions, Laravel release notes (Support Policy)Knowing in advance what to update and by when matters a great deal when customers plan their updates.

The deciding factor: the framework and the infrastructure come from the same provider

Several candidates met all four conditions. What decided it in the end was not the language or the framework, but the infrastructure.

Laravel has Laravel Cloud, a hosting platform (PaaS) run by the developer of the framework itself. It is a fully managed environment where you can use the application, database, cache and more together, and Laravel Cloud handles building and maintaining it. The framework and the infrastructure that runs it come from one provider. Among the candidates we compared, this was the biggest difference.

You could also build the same environment yourself on AWS or GCP. But if running it requires dedicated specialists or high operating costs, running the product in the customer’s environment makes less sense. How easily and safely can you keep it running? For customers who adopt the product, that is the most important point.

Choosing a setup means choosing who maintains it

With mitsumonoAI Workspace, customers can choose where to install it based on their team.Source: How to deploy mitsumonoAI

Setup Who builds and maintains the servers Best for customers who
Laravel Cloud (recommended) Laravel Cloud Want to go live as fast as possible and focus on operations themselves
Laravel Cloud + Private Cloud option + your own AWS Laravel Cloud for the app servers, your own AWS for the data Want to keep data in their own AWS and connect to internal systems without going over the internet
Your own AWS + Laravel Forge You Want to manage the whole environment in house and have operations staff
VPS + Docker You Want everything on one server with predictable costs

Every setup runs the same Laravel application. The difference is who handles OS and PHP updates. On the night a vulnerability is found, is a Laravel engineer awake, or is someone on your own staff? Choosing a setup means choosing that, too.

mitsumonoai.jpDeployment — mitsumonoAIFour setups, from Laravel Cloud to your own AWS or a VPS, plus the Private Cloud option.

If you want to keep data in your own AWS, there is the Private Cloud option. Laravel builds and runs an environment isolated from other customers in an AWS account and VPC dedicated to your company. It can connect to databases and internal systems in your own AWS without going over the internet. When you need large-scale operations as users and departments grow, or when you adopt Private Cloud, we work in collaboration with Laravel to support you from designing the setup through building it to going live.

You can tune performance later, but you cannot change the fundamentals later

Every language has strengths and weaknesses, and performance differs too. Even so, we chose to meet the fundamental conditions first, such as how the product is operated and how much it depends on outside parts. You can measure and tune performance later, based on what the application actually does, and keep looking for the best answer. But once a product has grown, there is little you can do about which platform it runs on and how many dependencies it carries.

Sometimes a development company makes new or difficult technology its selling point. We decided not to compete on that.

On December 1, 2026, the company behind Laravel released the first beta of “Laravel Rust.” It rebuilds Laravel’s conventions and features in Rust and is close to feature parity with Laravel PHP. In Laravel’s own benchmarks on Laravel Cloud, it runs 18 times faster than Laravel PHP, and apps built with it can also run on Laravel Cloud.Source: Introducing Laravel Rust (Laravel Blog, December 1, 2026). The 18x figure comes from Laravel’s internal benchmarks.

That adds one more option for when performance matters, while keeping the same conventions and the same hosting platform. We have not decided whether to adopt it for mitsumonoAI Workspace. We plan to follow its progress and keep widening our options. But we will do that in parallel, without giving up the strengths that are already mature in Laravel PHP today, such as how easily customers can customize the product and how stably it runs.

LaravelIntroducing Laravel RustLaravel Rust is in beta, with routing, typed validation, models, queues, durable workflows, mail, broadcasting, and Inertia in idiomatic Rust.

What PHP2Shell confirmed for us

On October 21, 2026, after we had made our choice, PHP2Shell was disclosed. It is the common name for two vulnerabilities in PHP itself (CVE-2026-109618 and CVE-2026-109619) that could let attackers run programs from outside (remote code execution). The fixed versions, PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, came out the same day. There is no official fix for PHP 8.1 or earlier, which are no longer supported.Sources: Dark Reading, “‘PHP2Shell’ Bugs Signal Red Alert for Security Industry”, Laravel Forge notice (PHP Security Release, October 2026)The incident showed once again how important it is to stay on supported versions.For PHP 8.1 and earlier, Linux package distributors have released versions with backported fixes, but the Laravel Forge notice calls them a stopgap.

On Laravel Cloud, the fix was done before users had to do anything

According to the post-mortem Laravel published, here is how it played out on Laravel Cloud.Source: Post Mortem: Patching the PHP and Node.js Vulnerabilities (Laravel Blog, November 4, 2026)

  • At 19:58 UTC on October 20, Laravel received advance notice of the fix release from the PHP project and settled its response plan before the release
  • Before the fix came out, it turned on Cloudflare firewall rules to narrow the attack surface
  • Before the release, it tested how to apply the fix in two low-traffic regions (Canada and Tokyo)
  • Once the fix came out, it built the patched PHP itself instead of waiting for Docker Hub images, and rolled it out to running applications without redeploying them
  • It finished applying the fix to every app in every region about 4.5 hours after the fix came outThe fix was released at 13:38 UTC on October 21, and rollout to all regions finished at 18:05 UTC the same day. 18:05 − 13:38 = 4 hours 27 minutes. In Japan time, that is from 22:38 on the 21st to 3:05 on the 22nd.

In other words, the infrastructure itself was updated before users had touched anything. During this time, new deployments were paused for about 3.5 hours, but running applications kept working. When the team decided its usual procedure would not work, it built a new way to apply the fix on the spot, tested it small and then expanded it. It was a response that balanced speed and caution.

Laravel BlogPost Mortem: Patching the PHP and Node.js VulnerabilitiesHow Laravel patched every Laravel Cloud app in place, without a redeploy.

Things were different on Laravel Forge, another Laravel product, where customers manage their own servers. PHP had to be updated on each server. Update jobs rose to about 10 times the usual level, and at one point about 48,000 jobs were reportedly waiting in the queue. Who manages the servers makes this much difference in how heavy the response to the same vulnerability is.

On our own servers, it took until after 3 a.m.

That same night, we were updating our own servers for client projects we build and run under contract. We waited for the fix release, spent hours updating, and finished after 3 a.m. It reminded us once again how much infrastructure matters.

Before

  • Wait until late at night for the fix release, then spend hours updating on your own
  • The work finishes after 3 a.m.

After

  • The hosting platform applies the fix to running apps
  • Users do no work and no redeploys

No language is safe. So choose a system that fixes things fast

PHP2Shell even made the general TV news, and online we saw many comments like “WordPress is done” and “PHP is over.” We see it differently. The problem is not PHP or WordPress itself.

With the arrival of AI, the speed of finding vulnerabilities and the sophistication of attacks are now on a different level from before. Flaws that lay hidden in long-established languages and software are being dug up one after another. Whatever language you write in, vulnerabilities can be found.

No language is safe. That is exactly why, when a vulnerability is found, we need to choose the whole path: fixes that come out, and a system that applies them to production quickly.

In a column for Mynavi News, Tadashi Yoshimasa makes the same point. According to a Nikkei report, 48% of PHP sites still had not applied the fix 3 days after it came out. Yoshimasa names two criteria for choosing technology from now on: how fast fixes come out, and whether the technology is proven in the age of AI. A system built from scratch in house has to produce its own fixes, and reviewing it also takes a lot of AI power and money.Source: Tadashi Yoshimasa, “Deep Reading the IT Market with Yoshimasa, a Marketer Who Lives in OSS, No. 17: Behind the Scenes of the PHP Vulnerability Response, and What Makes Technology the Choice from Now On” (Mynavi News, in Japanese), November 30, 2026

Mynavi NewsBehind the PHP vulnerability response, and what technology will be chosen nextColumn by Tadashi Yoshimasa (in Japanese).

Yoshimasa also lists three ways to prepare: daily backups, a spare virtual machine on standby (cold standby), and guidelines that let people on the ground take action on their own judgment. What matters is the routines of daily operations, turning them into rules, and preparing in advance. Not the language. That holds true whatever language you use.

With AI, even a small team can turn a service into reality in a short time. That is exactly why you need to decide, before you build, who will keep fixing it and how after it is built. Choose your technology stack and hosting platform on the assumption that vulnerabilities will be found and attacks will come. Software from now on cannot do without that.

So that one incident does not reach every client company

How a product is deployed also decides how far the damage spreads when an incident happens. In our previous article, we covered the unauthorized access to KARTE found in November 2026. Besides 79,249 registered email addresses, part of the data that client companies had imported also leaked. Caitech, one of those client companies, announced that 27,530 email addresses leaked from data that remained after its contract ended in January 2025.Sources: PLAID’s announcement, Caitech’s investigation results

basicmath Blog · JournalHow SaaS Expanded Corporate IT, and Data Sovereignty in the Age of AIbasicmath is ending the mitsumonoAI SaaS edition and moving to mitsumonoAI Workspace, a new product that runs in environments our customers manage.

In SaaS, where many companies share one platform, an incident anywhere in the admin functions, storage or external integrations can reach many client companies. Even if your company did nothing wrong, you can get caught up in an attack aimed at someone else. And it is hard for client companies to check where their data is now and how long it will stay there. Whether it was deleted, they can only take the provider’s word for it.

We designed mitsumonoAI Workspace as one option for dealing with these risks.

No product is 100% safe

To be clear up front, mitsumonoAI Workspace is not 100% safe either. As with PHP2Shell, when a vulnerability is found in software you use, every environment that uses the same software has to respond. In setups that use external AI, the information needed to generate answers goes to the AI provider. And if settings are wrong, you cannot protect even what you should be able to.

Even so, with the right operating rules and settings, you can raise your level of protection a great deal. From a technical point of view, there are three reasons.

Reason 1: You can keep the damage within one company

mitsumonoAI Workspace is a single-tenant product where one company has an environment to itself. Conversations, files, outputs and logs are stored in the customer’s environment, and neither business data nor usage logs reach us.Sources: mitsumonoAI Workspace product page (data sovereignty), Product guide: “Product Approach and Delivery”

We do not store any company’s business data on our servers. So the structure does not create a path where someone breaks into our servers and takes several companies’ business data all at once. Risks that reach every deployment, such as vulnerabilities in shared software, remain. Even so, it becomes easier to keep an incident from spreading beyond one company.

Reason 2: You can narrow the entry points for attacks with your own rules

In shared SaaS, the provider decides most of the security settings. With mitsumonoAI Workspace, you can tighten them to match your own rules.Sources: mitsumonoAI Workspace product page (admin features and security), How to deploy mitsumonoAI (Private Cloud option)

  • Narrow the entry points. Passkeys, two-factor authentication and IP address restrictions help block impersonation and unexpected connections. With Private Cloud, you can restrict access by IP address or country. You can connect to internal systems in your own AWS without going over the internet.
  • Narrow what people can use. You can separate which features people can use and what they can manage by user, group and role. If you keep permissions tight, even if one account is taken over, the attacker can reach only a limited area.
  • Narrow what gets sent. With checks turned on, mitsumonoAI Workspace checks inputs and attachments before passing them to AI, and checks answers before returning them to users, so it can stop information that should not be sent.

Reason 3: You can reduce and watch the data that could leak

How much damage a data leak does depends heavily on how much data was stored at the time. In mitsumonoAI Workspace, you can automatically delete conversations, outputs and logs once they pass a retention period you set. That keeps data you no longer need from quietly piling up.

Even if an account is taken over and used heavily, a spending cap stops jobs before they start once the cap is reached. You can export logs of sign-ins and admin actions as CSV, so you can use them for audits and internal reviews.Source: mitsumonoAI Workspace product page (data sovereignty and admin features). CSV export of logs is available on the Business plan and above.

The size of the damage depends on the likelihood of an incident and how far it spreads when it happens. mitsumonoAI Workspace is designed to make it easier to keep the spread within one company. Customers can lower the likelihood through their own operating rules and settings. And on the recommended Laravel Cloud, as with PHP2Shell, the hosting platform applies fixes for vulnerabilities in the underlying platform.

mitsumonoAI Workspace is designed with operations in mind

Choosing Laravel and designing the product to run in the customer’s own environment start from the same place. We want customers to protect their own data and systems by their own rules and keep using them for a long time. That is why we chose technology with few dependencies, easy scaling and a hosting platform from the same provider.

  • Your data stays in your environment. Instead of entrusting it all to one place, you decide where to store it and how long to keep it.
  • You keep receiving updates. With an active update license, you get the latest security fixes and features. You can keep using the version you bought after your maintenance contract ends, but you will no longer get security updates.
  • You choose who runs it. On the recommended Laravel Cloud, you can hand off building and maintaining the infrastructure. For large-scale operations or Private Cloud deployments, we work in collaboration with Laravel to support you from the design stage.
  • You manage the uncertainty of AI with rules. In the admin screen, you can set spending caps, input and output checks, permissions and retention periods as your organization’s rules.
mitsumonoai.jpmitsumonoAI WorkspaceAn enterprise generative AI platform: features, admin and security, licensing and pricing.

No one can build a perfectly safe product. But you can choose a design that makes it easier to contain damage within your company when an incident happens, and a system that lets you strengthen protection with your own rules. Choose technology by working back from operations, not by following the trendy language. That is our answer for building products that companies can trust with their work in the age of AI.

Q&A

What language and framework is mitsumonoAI Workspace built with?
mitsumonoAI Workspace is built with Laravel, a PHP framework. The recommended place to run it is Laravel Cloud, a fully managed hosting platform from the developer of Laravel. You can also set it up on your own AWS with Laravel Forge, or on a VPS with Docker. If you build the servers yourself, you can also run it on Azure, Google Cloud or on premises.
Why did basicmath choose Laravel instead of Python or TypeScript?
mitsumonoAI Workspace runs in the customer's environment, and the customer or its deployment partner handles updates and operations. So basicmath put ease of operation ahead of language trends and performance. The key criteria were few external dependencies, the same setup from 3 users to a whole company, the ability to absorb the quirks of AI models and APIs, and a mature ecosystem. The deciding factor was that the hosting platform comes from the same provider as the framework.
What is PHP2Shell?
PHP2Shell is the common name for two critical vulnerabilities in PHP itself (CVE-2026-109618 and CVE-2026-109619), disclosed on October 21, 2026. They could let attackers run programs from outside (remote code execution). PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix them. There is no official fix for PHP 8.1 or earlier, which are no longer supported.
What becomes safer when you run software in your own environment instead of SaaS?
In SaaS, many companies share one platform, so a single incident at the provider can reach many client companies. With mitsumonoAI Workspace, one company has an environment to itself, and its business data never reaches basicmath, the provider. That makes it easier to keep an incident within one company, and you can raise your level of protection by tightening authentication, permissions, input and output checks and retention periods to your own rules. It is not 100% safe, and you still need to respond to vulnerabilities in shared software.
Is PHP an insecure language?
It is not a problem with the language. AI has made finding vulnerabilities much faster, and vulnerabilities can be found in any language or software. What makes the difference is whether the ecosystem releases fixes quickly, and whether you have the operating systems and procedures to get those fixes into production reliably.
Can I keep my data in my own AWS and still run mitsumonoAI Workspace on Laravel Cloud?
Yes. With the Laravel Cloud Private Cloud option, Laravel builds and runs an environment isolated from other customers in an AWS account and VPC dedicated to your company. It can connect to databases and internal systems in your own AWS without going over the internet. For large-scale operations or Private Cloud deployments, basicmath works in collaboration with Laravel to support you from designing the setup through building it to going live.