<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aimeos</title>
    <description>The latest articles on DEV Community by Aimeos (@aimeos).</description>
    <link>https://dev.to/aimeos</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F203414%2Ff8316571-2fde-46f7-bc09-cc4561d38a21.png</url>
      <title>DEV Community: Aimeos</title>
      <link>https://dev.to/aimeos</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aimeos"/>
    <language>en</language>
    <item>
      <title>Cloud-native e-commerce with Laravel: what it takes beyond running on a VM</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Thu, 19 Nov 2026 17:12:09 +0000</pubDate>
      <link>https://dev.to/aimeos/cloud-native-e-commerce-with-laravel-what-it-takes-beyond-running-on-a-vm-10e2</link>
      <guid>https://dev.to/aimeos/cloud-native-e-commerce-with-laravel-what-it-takes-beyond-running-on-a-vm-10e2</guid>
      <description>&lt;p&gt;Most shops that say they run "in the cloud" are a classic PHP application on a rented virtual machine. That saves buying hardware, but the shop still writes files to its local disk, keeps sessions in memory and needs a bigger machine when traffic grows. If that machine fails, the shop is offline.&lt;/p&gt;

&lt;p&gt;A cloud-native shop is built so that servers can come and go. It scales by adding instances, recovers from failures on its own and is deployed through automated pipelines. This post explains which design decisions make that possible, shows what they look like in a Laravel shop using the open source &lt;a href="https://aimeos.org" rel="noopener noreferrer"&gt;Aimeos&lt;/a&gt; e-commerce framework, and ends with a checklist you can use to test any platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud-hosted compared to cloud-native
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/cncf/toc/blob/main/DEFINITION.md" rel="noopener noreferrer"&gt;Cloud Native Computing Foundation&lt;/a&gt; describes cloud-native technologies as those that let organizations build and run scalable applications in dynamic environments such as public, private and hybrid clouds. In practice the label is about how an application behaves when the environment around it changes.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aspect&lt;/th&gt;
&lt;th&gt;Cloud-hosted&lt;/th&gt;
&lt;th&gt;Cloud-native&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Scaling&lt;/td&gt;
&lt;td&gt;Bigger server (vertical)&lt;/td&gt;
&lt;td&gt;More instances (horizontal)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Files and media&lt;/td&gt;
&lt;td&gt;Local disk&lt;/td&gt;
&lt;td&gt;Object storage such as S3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sessions and cache&lt;/td&gt;
&lt;td&gt;Server memory&lt;/td&gt;
&lt;td&gt;Shared store such as Redis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;Manual, often with downtime&lt;/td&gt;
&lt;td&gt;Automated pipeline, rolling updates&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Server failure&lt;/td&gt;
&lt;td&gt;Shop goes offline&lt;/td&gt;
&lt;td&gt;Instance is replaced automatically&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;Configured by hand&lt;/td&gt;
&lt;td&gt;Defined as code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The building blocks
&lt;/h2&gt;

&lt;p&gt;Each of the following design decisions removes one reason why the shop could not simply run on more machines.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ec6ttj5zw8qwqsmg1b3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ec6ttj5zw8qwqsmg1b3.png" alt="Architecture of a cloud-native shop: customers reach a CDN and load balancer, which forwards requests to several identical, stateless app instances. A CI/CD pipeline rolls out new images to them. All instances share a database, a cache, object storage, a search engine and a message queue, which feeds background workers." width="800" height="543"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Principle&lt;/th&gt;
&lt;th&gt;What it means for a shop&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stateless servers&lt;/td&gt;
&lt;td&gt;Web servers keep nothing that must survive the next request. Sessions, baskets, caches and files live in shared services, so a load balancer can send any request to any instance.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Horizontal scaling&lt;/td&gt;
&lt;td&gt;Capacity grows by starting more identical instances. A shop that needs four instances on a normal weekday could run forty during a Black Friday sale.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Containers&lt;/td&gt;
&lt;td&gt;The application ships as one image that runs the same on a laptop, in staging and in production. Kubernetes or a managed platform starts it, checks its health and replaces failed instances.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Managed backing services&lt;/td&gt;
&lt;td&gt;Database, cache, search, queue and mail are services found through environment variables, as described by &lt;a href="https://12factor.net/" rel="noopener noreferrer"&gt;The Twelve-Factor App&lt;/a&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Background processing&lt;/td&gt;
&lt;td&gt;Mails, imports, exports and index updates run in worker containers that scale independently from the storefront.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;APIs first&lt;/td&gt;
&lt;td&gt;The backend offers its functions through REST, JSON:API or GraphQL, so websites, apps and marketplace connectors can use the same backend.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Automation and observability&lt;/td&gt;
&lt;td&gt;Infrastructure is defined as code, a pipeline rolls out new versions instance by instance, and logs and metrics are collected centrally.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  In practice: a Laravel shop with Aimeos
&lt;/h2&gt;

&lt;p&gt;I work on Aimeos, so the examples use it. The following steps show how the principles above map to a Laravel application with Aimeos, and Aimeos for Symfony and TYPO3 uses the same resource keys. All &lt;code&gt;config/shop.php&lt;/code&gt; snippets are parts of the one array that this file returns, so merge them into your existing configuration.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Build one container image
&lt;/h3&gt;

&lt;p&gt;Web and worker containers use the same image. This one builds on the &lt;a href="https://serversideup.net/open-source/docker-php/" rel="noopener noreferrer"&gt;serversideup/php&lt;/a&gt; FrankenPHP image, which already contains Composer and the common database and Redis extensions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt; serversideup/php:8.5-frankenphp

&lt;span class="k"&gt;USER&lt;/span&gt; root
&lt;span class="k"&gt;RUN&lt;/span&gt; install-php-extensions intl gd
&lt;span class="k"&gt;USER&lt;/span&gt; www-data

&lt;span class="c"&gt;# OPcache is disabled in the serversideup images by default&lt;/span&gt;
&lt;span class="k"&gt;ENV&lt;/span&gt; &lt;span class="nv"&gt;PHP_OPCACHE_ENABLE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1

&lt;span class="c"&gt;# dependencies first, so this layer is reused when only the code changes&lt;/span&gt;
&lt;span class="k"&gt;COPY&lt;/span&gt; --chown=www-data:www-data composer.json composer.lock /var/www/html/
&lt;span class="k"&gt;RUN&lt;/span&gt; composer install --no-dev --no-scripts --no-autoloader --no-interaction

&lt;span class="k"&gt;COPY&lt;/span&gt; --chown=www-data:www-data . /var/www/html
&lt;span class="k"&gt;RUN&lt;/span&gt; composer install --no-dev --optimize-autoloader --no-interaction \
    &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; php artisan vendor:publish --tag=public --force
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last command copies the CSS, JS and images of the Aimeos packages to &lt;code&gt;public/vendor&lt;/code&gt;. Composer only runs it after &lt;code&gt;composer update&lt;/code&gt;, so without it the image contains a shop without styles.&lt;/p&gt;

&lt;p&gt;Add a &lt;code&gt;.dockerignore&lt;/code&gt; so local files don't end up in the image:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.env
.git
node_modules
vendor
storage/logs/*
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Laravel caches its configuration, routes and views with &lt;code&gt;php artisan optimize&lt;/code&gt;. Run it when the container starts and not during &lt;code&gt;docker build&lt;/code&gt;, because the cached configuration contains the environment values of the moment it was created. The serversideup images can do this for you, but the same switch also runs &lt;code&gt;migrate --force&lt;/code&gt; in every starting container, which conflicts with step 7. Enable the start tasks and turn off the migration in the environment of the container, like in the deployment in step 9. The entrypoint reads them before Laravel starts, so they have no effect in &lt;code&gt;.env&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;AUTORUN_ENABLED&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="na"&gt;AUTORUN_LARAVEL_MIGRATION&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Applications based on the Laravel 11+ skeleton include a &lt;code&gt;/up&lt;/code&gt; route that returns HTTP 200 when the application boots. It doesn't check whether the database or Redis can be reached, which makes it a good liveness probe. If the readiness probe should also cover the backing services, add your own route that tests the connections.&lt;/p&gt;

&lt;p&gt;The Aimeos distribution (&lt;code&gt;composer create-project aimeos/aimeos&lt;/code&gt;) still uses the older Laravel structure without this route. Add it in the &lt;code&gt;routes()&lt;/code&gt; callback of &lt;code&gt;app/Providers/RouteServiceProvider.php&lt;/code&gt;, outside of the &lt;code&gt;web&lt;/code&gt; middleware group, so the probes don't create a new session every few seconds:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;Route&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/up'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;fn&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;response&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OK'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Make all pods equal behind the load balancer
&lt;/h3&gt;

&lt;p&gt;All instances must use the same &lt;code&gt;APP_KEY&lt;/code&gt;. Laravel encrypts its cookies with it, and if one pod generated its own key, the requests it receives can't decrypt the cookies set by the other pods. Customers then lose their basket or login at random, which is hard to trace back. Pass the key as a secret to every container and never run &lt;code&gt;php artisan key:generate&lt;/code&gt; in the image.&lt;/p&gt;

&lt;p&gt;The load balancer terminates HTTPS and forwards plain HTTP to the pods. Unless Laravel trusts the proxy headers, it generates &lt;code&gt;http://&lt;/code&gt; URLs and sees the balancer's IP as the client address. That breaks payment redirects and callback URLs. The Aimeos distribution trusts the private network ranges by default (&lt;code&gt;TRUSTED_PROXIES&lt;/code&gt; in &lt;code&gt;config/app.php&lt;/code&gt;), which covers most cluster load balancers. In an application based on the Laravel 11+ skeleton, add this to &lt;code&gt;bootstrap/app.php&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate&lt;/span&gt;\&lt;span class="nc"&gt;Http&lt;/span&gt;\&lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// ...&lt;/span&gt;
&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;withMiddleware&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Middleware&lt;/span&gt; &lt;span class="nv"&gt;$middleware&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$middleware&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;trustProxies&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;at&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'10.0.0.0/8'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'172.16.0.0/12'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'192.168.0.0/16'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// network of your load balancer&lt;/span&gt;
        &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;HEADER_X_FORWARDED_FOR&lt;/span&gt;
            &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;HEADER_X_FORWARDED_PORT&lt;/span&gt;
            &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;HEADER_X_FORWARDED_PROTO&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Avoid &lt;code&gt;at: '*'&lt;/code&gt; and leave out &lt;code&gt;X-Forwarded-Host&lt;/code&gt;. Many load balancers pass that header unchanged from the client, and Laravel uses it to generate URLs, for example the links in password reset e-mails.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Move sessions and cache to Redis
&lt;/h3&gt;

&lt;p&gt;Aimeos stores the basket in the Laravel session, so sessions must be shared before you can run several instances without sticky sessions. In &lt;code&gt;.env&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;SESSION_DRIVER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;redis&lt;/span&gt;
&lt;span class="na"&gt;CACHE_STORE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;redis&lt;/span&gt;
&lt;span class="na"&gt;REDIS_HOST&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;redis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;internal&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Aimeos also caches rendered HTML parts and keeps that cache in the database by default. The &lt;a href="https://github.com/aimeos/ai-cache" rel="noopener noreferrer"&gt;ai-cache&lt;/a&gt; extension moves it to Redis:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer req aimeos/ai-cache
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// config/shop.php&lt;/span&gt;
&lt;span class="s1"&gt;'resource'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'cache'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'redis'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'connection'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'scheme'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'tcp'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'host'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'REDIS_HOST'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'127.0.0.1'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'port'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;6379&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'database'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="s1"&gt;'madmin'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'cache'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'manager'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'name'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Redis'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The connection settings must be inside &lt;code&gt;connection&lt;/code&gt;, because the extension passes all other keys as options to the Predis client. Placed directly under &lt;code&gt;redis&lt;/code&gt;, they are ignored and Aimeos connects to &lt;code&gt;127.0.0.1&lt;/code&gt; instead.&lt;/p&gt;

&lt;p&gt;Give the Aimeos cache a Redis database of its own. Clearing it, for example with &lt;code&gt;php artisan aimeos:clear&lt;/code&gt; after a deployment, runs &lt;code&gt;FLUSHDB&lt;/code&gt; on that database. Laravel stores sessions in database 0 by default, so a shared database would log out all customers and empty their baskets.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Move all shop files to object storage
&lt;/h3&gt;

&lt;p&gt;Aimeos uses several file system resources, and all of them must be shared once more than one container runs:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Resource&lt;/th&gt;
&lt;th&gt;Content&lt;/th&gt;
&lt;th&gt;Written by&lt;/th&gt;
&lt;th&gt;Read by&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fs-media&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Product images and files&lt;/td&gt;
&lt;td&gt;Admin&lt;/td&gt;
&lt;td&gt;Customers via CDN&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fs-import&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Uploaded CSV and XML imports&lt;/td&gt;
&lt;td&gt;Admin (web)&lt;/td&gt;
&lt;td&gt;Import jobs (worker)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fs-export&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Product exports and delivery XML files&lt;/td&gt;
&lt;td&gt;Jobs (worker)&lt;/td&gt;
&lt;td&gt;Marketplaces, ERP and other external systems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fs-secure&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Files of downloadable products&lt;/td&gt;
&lt;td&gt;Admin&lt;/td&gt;
&lt;td&gt;Customer account (web)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fs-admin&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Order and subscription CSV exports, log archives&lt;/td&gt;
&lt;td&gt;Jobs (worker)&lt;/td&gt;
&lt;td&gt;Admin dashboard (web)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If &lt;code&gt;fs-import&lt;/code&gt; stays on the local disk, a CSV uploaded through one web container is never seen by the worker that should import it. The &lt;a href="https://github.com/aimeos/ai-filesystem" rel="noopener noreferrer"&gt;ai-filesystem&lt;/a&gt; extension provides Flysystem adapters for S3 and other object stores:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer req aimeos/ai-filesystem league/flysystem-aws-s3-v3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// config/shop.php&lt;/span&gt;
&lt;span class="nv"&gt;$s3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="nv"&gt;$prefix&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'adapter'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'FlyAwsS3'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'credentials'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'AWS_ACCESS_KEY_ID'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'secret'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'AWS_SECRET_ACCESS_KEY'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'region'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'AWS_DEFAULT_REGION'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'version'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'latest'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'bucket'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'AWS_BUCKET'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'prefix'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$prefix&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'tempdir'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;storage_path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'tmp'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'resource'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'fs-media'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$s3&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'media'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'baseurl'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'AWS_URL'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="s1"&gt;'/media'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'fs-import'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$s3&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'import'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'fs-export'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$s3&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'export'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'fs-secure'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$s3&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'secure'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'fs-admin'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$s3&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'admin'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="c1"&gt;// ...&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="c1"&gt;// ...&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only the &lt;code&gt;media&lt;/code&gt; prefix may be publicly readable. Imports, exports, admin files and secure downloads contain customer and order data, so restrict them through the bucket policy or use a second, private bucket. Point &lt;code&gt;AWS_URL&lt;/code&gt; to a CDN in front of the bucket so images are delivered without touching your application servers. Theme files and MIME icons ship with the container image and can stay local.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Keep product search in the shared database
&lt;/h3&gt;

&lt;p&gt;Aimeos stores its search data in index tables of the database and updates them when products are saved or imported. All pods query the same tables, so search needs nothing else to be shared and no additional service to operate. The daily &lt;code&gt;index/optimize&lt;/code&gt; job in the next step keeps these tables fast.&lt;/p&gt;

&lt;p&gt;For catalogs with millions of products or very high search traffic, Aimeos offers a commercial &lt;a href="https://aimeos.org/extensions" rel="noopener noreferrer"&gt;Elasticsearch extension&lt;/a&gt; that moves the search queries out of the database. If you use it, include the scheme in the host setting (&lt;code&gt;https://...&lt;/code&gt;), because the Elasticsearch client defaults to plain HTTP while Elasticsearch 8 only accepts HTTPS.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Run jobs in a worker container
&lt;/h3&gt;

&lt;p&gt;Aimeos runs e-mails, imports, exports and index maintenance as job controllers through &lt;code&gt;php artisan aimeos:jobs&lt;/code&gt;. With the Laravel scheduler in &lt;code&gt;routes/console.php&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate&lt;/span&gt;\&lt;span class="nc"&gt;Support&lt;/span&gt;\&lt;span class="nc"&gt;Facades&lt;/span&gt;\&lt;span class="nc"&gt;Schedule&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;Schedule&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;command&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'aimeos:jobs "order/email/payment order/email/delivery order/service/delivery"'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;everyFiveMinutes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;onOneServer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;Schedule&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;command&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'aimeos:jobs "product/import/csv"'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;everyFiveMinutes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;withoutOverlapping&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;onOneServer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;Schedule&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;command&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'aimeos:jobs "index/optimize"'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;dailyAt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'01:00'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;onOneServer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start the same image with &lt;code&gt;php artisan schedule:work&lt;/code&gt; as the worker container:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;apps/v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Deployment&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-worker&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;replicas&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
  &lt;span class="na"&gt;selector&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;matchLabels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-worker&lt;/span&gt;
  &lt;span class="na"&gt;template&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;labels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-worker&lt;/span&gt;
    &lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;terminationGracePeriodSeconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;
      &lt;span class="na"&gt;containers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;worker&lt;/span&gt;
          &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;registry.example.com/shop:1.0.0&lt;/span&gt;
          &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"php"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"artisan"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"schedule:work"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
          &lt;span class="na"&gt;envFrom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;configMapRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-env&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;secretRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-secrets&lt;/span&gt;
          &lt;span class="na"&gt;resources&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="na"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;cpu&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;250m&lt;/span&gt;
              &lt;span class="na"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;512Mi&lt;/span&gt;
            &lt;span class="na"&gt;limits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;1Gi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;shop-env&lt;/code&gt; ConfigMap contains the settings from your &lt;code&gt;.env&lt;/code&gt; file, and the &lt;code&gt;shop-secrets&lt;/code&gt; Secret contains &lt;code&gt;APP_KEY&lt;/code&gt;, the database password and the S3 credentials. The grace period gives a running job two minutes to finish when Kubernetes stops the pod.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;onOneServer()&lt;/code&gt; takes a lock in the shared Redis cache, so each job runs once even if several workers are running. &lt;code&gt;withoutOverlapping(60)&lt;/code&gt; keeps a large import from starting a second time while the first one is still running, and CSV files uploaded in the admin are imported within a few minutes. The 60 minutes limit how long the lock is held. Without it, the lock expires only after 24 hours, and if Kubernetes stops the worker pod during an import, no further imports run until the next day.&lt;/p&gt;

&lt;p&gt;Internally, Aimeos uses a message queue resource (&lt;code&gt;mq&lt;/code&gt;) that is stored in the database by default. If you need a dedicated broker, the &lt;a href="https://github.com/aimeos/ai-mqueue" rel="noopener noreferrer"&gt;ai-mqueue&lt;/a&gt; extension adds AMQP (RabbitMQ), Beanstalk and Stomp adapters.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Update the database during deployment
&lt;/h3&gt;

&lt;p&gt;Run the schema updates once per release, before the new containers start. In Kubernetes this is a Job that the pipeline starts before it rolls out the new image, never part of the web container start:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;batch/v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Job&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-migrate-1-0-0&lt;/span&gt; &lt;span class="c1"&gt;# job names are unique, so include the release version
&lt;/span&gt;&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;backoffLimit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
  &lt;span class="na"&gt;ttlSecondsAfterFinished&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;86400&lt;/span&gt;
  &lt;span class="na"&gt;template&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;restartPolicy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Never&lt;/span&gt;
      &lt;span class="na"&gt;containers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;migrate&lt;/span&gt;
          &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;registry.example.com/shop:1.0.0&lt;/span&gt;
          &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sh"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"-c"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"php artisan migrate --force &amp;amp;&amp;amp; php artisan aimeos:setup"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
          &lt;span class="na"&gt;envFrom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;configMapRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-env&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;secretRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-secrets&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;During a rolling update, old and new containers run at the same time. Keep your own schema changes backward compatible: add columns first, and remove old ones only in a later release.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Send logs to stdout
&lt;/h3&gt;

&lt;p&gt;Container platforms collect what an application writes to stdout and stderr. For Laravel, set this in &lt;code&gt;.env&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;LOG_CHANNEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;stderr&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Aimeos writes its own log entries to the &lt;code&gt;madmin_log&lt;/code&gt; table in the shared database, so they are already central and visible in the admin interface. If you want them in the same log pipeline as Laravel, the &lt;a href="https://github.com/aimeos/ai-monolog" rel="noopener noreferrer"&gt;ai-monolog&lt;/a&gt; extension passes them to a Monolog logger.&lt;/p&gt;

&lt;h3&gt;
  
  
  9. Scale the web containers
&lt;/h3&gt;

&lt;p&gt;The web containers run as a deployment of the same image. It sets the start tasks from step 1, the probes on &lt;code&gt;/up&lt;/code&gt; and the CPU request that the autoscaler needs, and it spreads the pods across availability zones so three replicas don't share a single point of failure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;apps/v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Deployment&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;replicas&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
  &lt;span class="na"&gt;selector&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;matchLabels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
  &lt;span class="na"&gt;strategy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;rollingUpdate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;maxUnavailable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
      &lt;span class="na"&gt;maxSurge&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
  &lt;span class="na"&gt;template&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;labels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
    &lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;topologySpreadConstraints&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;maxSkew&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
          &lt;span class="na"&gt;topologyKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;topology.kubernetes.io/zone&lt;/span&gt;
          &lt;span class="na"&gt;whenUnsatisfiable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ScheduleAnyway&lt;/span&gt;
          &lt;span class="na"&gt;labelSelector&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="na"&gt;matchLabels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
      &lt;span class="na"&gt;containers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;web&lt;/span&gt;
          &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;registry.example.com/shop:1.0.0&lt;/span&gt;
          &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;containerPort&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;
          &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AUTORUN_ENABLED&lt;/span&gt;
              &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"true"&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AUTORUN_LARAVEL_MIGRATION&lt;/span&gt;
              &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"false"&lt;/span&gt;
          &lt;span class="na"&gt;envFrom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;configMapRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-env&lt;/span&gt;
            &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;secretRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-secrets&lt;/span&gt;
          &lt;span class="na"&gt;resources&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="na"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;cpu&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;500m&lt;/span&gt;
              &lt;span class="na"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;512Mi&lt;/span&gt;
            &lt;span class="na"&gt;limits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;1Gi&lt;/span&gt;
          &lt;span class="na"&gt;readinessProbe&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="na"&gt;httpGet&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/up&lt;/span&gt;
              &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;
            &lt;span class="na"&gt;periodSeconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
          &lt;span class="na"&gt;livenessProbe&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="na"&gt;httpGet&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
              &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/up&lt;/span&gt;
              &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;
            &lt;span class="na"&gt;initialDelaySeconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;
            &lt;span class="na"&gt;periodSeconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;
&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Service&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;selector&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
  &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;80&lt;/span&gt;
      &lt;span class="na"&gt;targetPort&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With &lt;code&gt;maxUnavailable: 0&lt;/code&gt;, a rolling update starts a new pod and waits until its readiness probe succeeds before it stops an old one.&lt;/p&gt;

&lt;p&gt;Once the web containers are stateless, a HorizontalPodAutoscaler can add and remove them based on CPU load. It calculates the utilization relative to the CPU requested by the pods, so without &lt;code&gt;resources.requests.cpu&lt;/code&gt; in the deployment the autoscaler doesn't scale at all. A PodDisruptionBudget makes sure node upgrades never take down more than one pod at a time:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;autoscaling/v2&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;HorizontalPodAutoscaler&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;scaleTargetRef&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;apps/v1&lt;/span&gt;
    &lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Deployment&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
  &lt;span class="na"&gt;minReplicas&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
  &lt;span class="na"&gt;maxReplicas&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;
  &lt;span class="na"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Resource&lt;/span&gt;
      &lt;span class="na"&gt;resource&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;cpu&lt;/span&gt;
        &lt;span class="na"&gt;target&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Utilization&lt;/span&gt;
          &lt;span class="na"&gt;averageUtilization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;
&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;policy/v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;PodDisruptionBudget&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;maxUnavailable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
  &lt;span class="na"&gt;selector&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;matchLabels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;shop-web&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The worker deployment has its own replica count, so a large import doesn't slow down the storefront.&lt;/p&gt;

&lt;h2&gt;
  
  
  Trade-offs and common misconceptions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Microservices are optional
&lt;/h3&gt;

&lt;p&gt;Cloud-native is often equated with splitting a shop into dozens of microservices. That split adds network calls, distributed transactions and a deployment per service, and small teams spend much of their time keeping the pieces in sync. A modular application that is stateless and runs as several identical instances meets every criterion above. Splitting off a service makes sense when one part has clearly different scaling needs or its own team.&lt;/p&gt;

&lt;h3&gt;
  
  
  The cloud is not automatically cheaper
&lt;/h3&gt;

&lt;p&gt;Elastic capacity saves money for shops with uneven traffic. For a shop with steady load, a few reserved servers can cost less than a fleet of managed services. Data transfer, managed databases and observability tools grow with traffic and are easy to underestimate, so set budgets and spending alerts from the start.&lt;/p&gt;

&lt;h3&gt;
  
  
  More moving parts to operate
&lt;/h3&gt;

&lt;p&gt;The team no longer replaces disks, but it needs knowledge of containers, pipelines, cloud permissions and distributed failures. A bug can involve the shop, a queue, a worker and a cache at once, and without central logs it takes much longer to find.&lt;/p&gt;

&lt;h3&gt;
  
  
  The database is still the bottleneck
&lt;/h3&gt;

&lt;p&gt;Application servers scale easily, the database does not. Caching, read replicas and search data that is prepared for queries keep the load on the primary database within limits. A platform that builds every catalog page from complex joins over the raw product tables will hit that limit early, no matter how many web instances it runs.&lt;/p&gt;

&lt;p&gt;When a single database server is no longer enough, Aimeos can split the data by domain. Each part of the shop, like products, orders or customers, uses its own database resource if one is configured in &lt;code&gt;config/shop.php&lt;/code&gt; (&lt;code&gt;db-product&lt;/code&gt;, &lt;code&gt;db-order&lt;/code&gt;, &lt;code&gt;db-customer&lt;/code&gt; and so on) and falls back to &lt;code&gt;db&lt;/code&gt; otherwise. Orders and customer accounts can then live on a different database server than the catalog, so checkout traffic and catalog browsing don't compete for the same server.&lt;/p&gt;

&lt;p&gt;The first limit you usually reach is the number of connections. Each PHP worker holds its own database connections, and Aimeos opens its own next to the one of Laravel, up to the &lt;code&gt;limit&lt;/code&gt; set in &lt;code&gt;resource/db&lt;/code&gt; (3 by default). Even with only one connection per worker, 40 pods with 8 workers each open 320 connections, more than the default &lt;code&gt;max_connections&lt;/code&gt; of 151 in MySQL or 100 in PostgreSQL. Calculate this before setting &lt;code&gt;maxReplicas&lt;/code&gt;, and put a connection pooler like ProxySQL or PgBouncer in front of the database if the numbers don't fit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Vendor lock-in
&lt;/h3&gt;

&lt;p&gt;The more proprietary services a shop uses, the harder it becomes to move. Containers, Kubernetes, S3-compatible storage and open source databases keep that option open. Some lock-in can be a fair price for less operating work, as long as it is a conscious decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist: is your platform cloud-native?
&lt;/h2&gt;

&lt;p&gt;Copy this list and check it against your own shop or a platform you are evaluating:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Several instances run behind a load balancer without sticky sessions&lt;/li&gt;
&lt;li&gt;[ ] All files (media, imports, exports, downloads) can be stored in S3-compatible object storage&lt;/li&gt;
&lt;li&gt;[ ] Sessions, baskets and caches can live in Redis or a similar shared store, and all instances share one encryption key&lt;/li&gt;
&lt;li&gt;[ ] The application works behind a TLS-terminating load balancer (trusted proxy headers)&lt;/li&gt;
&lt;li&gt;[ ] There is a documented way to build a container image, with a health check endpoint&lt;/li&gt;
&lt;li&gt;[ ] Slow tasks run in background workers that scale separately from the web servers&lt;/li&gt;
&lt;li&gt;[ ] Product search and filtering stay fast at your catalog size, with a search engine option for very large catalogs&lt;/li&gt;
&lt;li&gt;[ ] All functions are available through documented APIs for a separate frontend&lt;/li&gt;
&lt;li&gt;[ ] Configuration and credentials can be passed through environment variables&lt;/li&gt;
&lt;li&gt;[ ] Database schema updates run as a separate deployment step&lt;/li&gt;
&lt;li&gt;[ ] Logs go to stdout or a central system&lt;/li&gt;
&lt;li&gt;[ ] One installation can serve several shops, brands or countries with separated data&lt;/li&gt;
&lt;li&gt;[ ] The platform has been load-tested at your expected peak&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If several answers are "possible with custom development", you will be paying for that development yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;A cloud-native shop treats servers as replaceable. State lives in shared services, work that can wait runs in the background, every function is reachable through an API, and machines are added or removed by automation. For a Laravel shop with Aimeos, the application side is mostly configuration: Redis for sessions and cache, object storage for all shop files and a worker container for the jobs. Building the image, the deployment pipeline and the managed database is still work your team has to plan for.&lt;/p&gt;

&lt;p&gt;What was the hardest part when you made your own shop stateless? Let me know in the comments.&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>laravel</category>
      <category>php</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What Is a Cloud-Native CMS? Required vs. Optional Features</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Wed, 18 Nov 2026 17:35:38 +0000</pubDate>
      <link>https://dev.to/aimeos/what-is-a-cloud-native-cms-required-vs-optional-features-k4c</link>
      <guid>https://dev.to/aimeos/what-is-a-cloud-native-cms-required-vs-optional-features-k4c</guid>
      <description>&lt;p&gt;A cloud-native CMS assumes that any server can disappear at any moment. When that happens, editors stay logged in, uploads are still there and visitors notice nothing. Everything else follows from this: the application runs as identical, replaceable instances and keeps its state in services outside of them.&lt;/p&gt;

&lt;p&gt;Many products are called cloud-native because they run on AWS or offer an API. Neither says much. WordPress on an EC2 instance is still WordPress on a single server, only rented from Amazon.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/cncf/toc/blob/main/DEFINITION.md" rel="noopener noreferrer"&gt;CNCF definition&lt;/a&gt; talks about scalable, resilient, observable and loosely coupled systems. Below, I translate that into eight concrete requirements for a CMS, list the features that are often mixed up with them, and compare hosted and self-hosted setups.&lt;/p&gt;

&lt;h2&gt;
  
  
  The eight requirements
&lt;/h2&gt;

&lt;p&gt;If a CMS misses one of these, it's a traditional CMS that happens to run in the cloud.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stateless instances.&lt;/strong&gt; It doesn't matter which instance answers a request. Sessions, shared caches and locks are stored in Redis or the database. Purely local speed-ups like OPcache or compiled templates are fine, as long as no other instance depends on them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Object storage for files.&lt;/strong&gt; Uploads go to S3, Azure Blob, Google Cloud Storage or a compatible service instead of a local &lt;code&gt;uploads/&lt;/code&gt; folder. The same applies to generated files such as thumbnails, resized images and exports, which are easy to forget. A fresh instance with an empty disk must be able to serve every file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Horizontal scaling.&lt;/strong&gt; You handle more traffic by adding instances behind a load balancer rather than buying a bigger server. That only works if the first two points hold. Adding instances automatically is a separate step and not required.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cluster-safe background work.&lt;/strong&gt; A scheduled task runs once per schedule, regardless of how many instances are up, either through a single scheduler or a distributed lock. Slow jobs go into a queue processed by separate workers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Configuration from the environment.&lt;/strong&gt; Credentials, endpoints and feature flags are read from environment variables or a secrets manager. The same build runs in development, staging and production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated deployments.&lt;/strong&gt; CI/CD ships container images or immutable bundles. Nobody logs into a server to change files or install plugins, and rolling back means deploying the previous image. Database migrations run once per release, as their own deploy step or under a lock (in Laravel: &lt;code&gt;php artisan migrate --isolated&lt;/code&gt;), and never from every instance at startup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Health checks.&lt;/strong&gt; Each instance has an endpoint the orchestrator can probe, so a broken instance is removed and replaced without waking anyone up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logs as streams.&lt;/strong&gt; Logs go to stdout or a log service. Log files inside a container disappear with it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I'll use &lt;a href="https://pagible.com/cloud-native-cms" rel="noopener noreferrer"&gt;PagibleAI&lt;/a&gt;, an MIT-licensed CMS package for Laravel, as the example here. It relies on Laravel's filesystem, cache, queue and logging abstractions, so most of this is configuration rather than code. Requirements 1, 2, 4, 5 and 8 look like this in the &lt;code&gt;.env&lt;/code&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# credentials via IAM role, or AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY
FILESYSTEM_DISK=s3
AWS_BUCKET=cms-media
AWS_DEFAULT_REGION=eu-central-1

REDIS_HOST=redis.internal
SESSION_DRIVER=redis
CACHE_STORE=redis
QUEUE_CONNECTION=redis

LOG_CHANNEL=stderr
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Scheduled tasks that must not overlap get &lt;code&gt;-&amp;gt;onOneServer()&lt;/code&gt;, which takes a lock in the shared cache.&lt;/p&gt;

&lt;p&gt;Laravel also ships an &lt;code&gt;/up&lt;/code&gt; route for health checks, which PagibleAI inherits. By default it only confirms that the app boots. To include the database or Redis, listen for the &lt;code&gt;DiagnosingHealth&lt;/code&gt; event and throw an exception if a dependency is unreachable. Use such a check for readiness only: if the database goes down, Kubernetes should stop sending traffic, not restart every pod.&lt;/p&gt;

&lt;p&gt;The examples assume the container serves HTTP itself on port 8080, for example with FrankenPHP, Octane or nginx in front of PHP-FPM. PHP-FPM alone doesn't speak HTTP. In Kubernetes you point the probes at the route:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;readinessProbe&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;httpGet&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/up&lt;/span&gt;
    &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;
  &lt;span class="na"&gt;periodSeconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="na"&gt;livenessProbe&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;httpGet&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/up&lt;/span&gt;
    &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;
  &lt;span class="na"&gt;initialDelaySeconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Without Kubernetes, a Docker health check does the same for Compose, Swarm and most container platforms (the image needs &lt;code&gt;curl&lt;/code&gt; installed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;HEALTHCHECK&lt;/span&gt; --interval=10s --timeout=3s &lt;span class="k"&gt;CMD&lt;/span&gt; curl -fsS http://localhost:8080/up &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nb"&gt;exit&lt;/span&gt; 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Other stacks have the same building blocks. Strapi and Payload use upload providers or storage adapters for S3 and can keep sessions and cache in Redis, and most Go and Python systems read these settings from the environment. Check that your CMS supports them out of the box and doesn't silently write to local disk somewhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  Optional features
&lt;/h2&gt;

&lt;p&gt;The following features show up in many cloud-native systems and often get treated as part of the definition. They are useful in the right situation, but a CMS can meet all eight requirements without any of them.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Useful when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Headless API (REST, GraphQL)&lt;/td&gt;
&lt;td&gt;Websites, apps or kiosks share the same content&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Server-rendered pages&lt;/td&gt;
&lt;td&gt;You want a website without building a separate frontend&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CDN and edge caching&lt;/td&gt;
&lt;td&gt;Visitors are spread around the world or traffic comes in spikes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Autoscaling&lt;/td&gt;
&lt;td&gt;Load varies a lot during the day or the year&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Serverless&lt;/td&gt;
&lt;td&gt;Traffic is low or very bursty and you want to pay per request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kubernetes&lt;/td&gt;
&lt;td&gt;You already run a cluster (for a single site it's usually overkill)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multiple regions&lt;/td&gt;
&lt;td&gt;You have strict uptime targets or data-residency rules&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multi-tenancy&lt;/td&gt;
&lt;td&gt;One installation serves many sites or customers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Realtime collaboration&lt;/td&gt;
&lt;td&gt;Several editors work on the same pages at once&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audit logs and metrics&lt;/td&gt;
&lt;td&gt;Compliance requires it or the editorial team is large&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI and agent access (e.g. MCP)&lt;/td&gt;
&lt;td&gt;You produce or translate a lot of content&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Headless is the one most often confused with cloud-native. Headless describes how content gets to the frontend. Cloud-native describes how the system is run. A headless CMS may still depend on a single server, and a cloud-native CMS can render plain HTML. &lt;a href="https://pagible.com" rel="noopener noreferrer"&gt;PagibleAI&lt;/a&gt; does both from the same content model: server-rendered Blade themes for websites, a read-only JSON:API for apps and static-site builds, and a GraphQL API for the editor and custom tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud-native vs. traditional CMS
&lt;/h2&gt;

&lt;p&gt;The main difference is where state is kept. A classic WordPress, Joomla or Drupal installation stores code, uploads, cache and sessions on the disk of one server. A cloud-native CMS keeps none of that on the instance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdn7t6xmzzq4s1mc58ixa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdn7t6xmzzq4s1mc58ixa.png" alt="Traditional CMS keeps code, uploads, cache, logs and database on one server; a cloud-native CMS runs disposable instances behind a load balancer, with all state in shared managed services" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the server on the left fails, everything on it is gone until it's restored. On the right, an instance can be replaced at any time because nothing on it has to survive.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aspect&lt;/th&gt;
&lt;th&gt;Traditional&lt;/th&gt;
&lt;th&gt;Cloud-native&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Deployment unit&lt;/td&gt;
&lt;td&gt;One long-lived server&lt;/td&gt;
&lt;td&gt;Identical instances built from one image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaling&lt;/td&gt;
&lt;td&gt;Bigger server&lt;/td&gt;
&lt;td&gt;More instances&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Server failure&lt;/td&gt;
&lt;td&gt;Site down until repaired&lt;/td&gt;
&lt;td&gt;Traffic goes to other instances, the broken one is replaced&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Updates&lt;/td&gt;
&lt;td&gt;In place, via admin UI or FTP&lt;/td&gt;
&lt;td&gt;New image, rollback by redeploying the old one&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Extensions&lt;/td&gt;
&lt;td&gt;Installed on the live server&lt;/td&gt;
&lt;td&gt;Added at build time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Configuration&lt;/td&gt;
&lt;td&gt;Files on the server&lt;/td&gt;
&lt;td&gt;Environment variables, secrets manager&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;Low and fixed for small sites&lt;/td&gt;
&lt;td&gt;Grows with usage, more services to run&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The traditional setup still has its place. For a single site with modest traffic, one well-maintained server is simpler and cheaper than a set of managed services. The cloud-native approach starts to pay off with traffic spikes, uptime targets, many sites, or teams that want every change to go through review and CI.&lt;/p&gt;

&lt;p&gt;Moving a traditional CMS into the cloud rarely makes it cloud-native. Plugins that write to the local disk, cron jobs that expect a single server and updates through the admin panel all cause trouble once a second instance exists. Teams usually work around this with offload plugins, a shared file system like NFS or EFS and a rule against installing plugins in production. That works, but every workaround needs maintenance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hosted or self-hosted
&lt;/h2&gt;

&lt;p&gt;Whether a CMS is cloud-native and who runs it are two separate questions. The same architecture is available as a service or as software you deploy yourself, and that choice affects cost and risk more than most features do.&lt;/p&gt;

&lt;p&gt;With a hosted CMS, the vendor runs a multi-tenant service and you get an editor and an API. Contentful, Sanity, Storyblok and Contentstack work this way. With a self-hosted CMS, you deploy the software to infrastructure you control, such as AWS, Azure, Google Cloud, a European provider or your own Kubernetes cluster. Strapi, Payload, Directus and PagibleAI are in this group. PagibleAI is built for the integration case: it installs with &lt;code&gt;composer require aimeos/pagible&lt;/code&gt; into an existing Laravel application and shares its database, login and deployment pipeline instead of running as a separate service.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aspect&lt;/th&gt;
&lt;th&gt;Hosted&lt;/th&gt;
&lt;th&gt;Self-hosted&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Operations&lt;/td&gt;
&lt;td&gt;Done by the vendor&lt;/td&gt;
&lt;td&gt;Done by your team or an agency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time to first content&lt;/td&gt;
&lt;td&gt;Minutes&lt;/td&gt;
&lt;td&gt;Hours to days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pricing&lt;/td&gt;
&lt;td&gt;Usually by seats, locales, API calls or records&lt;/td&gt;
&lt;td&gt;Infrastructure plus staff time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data location&lt;/td&gt;
&lt;td&gt;The vendor's regions&lt;/td&gt;
&lt;td&gt;Any region or provider&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Customization&lt;/td&gt;
&lt;td&gt;Vendor's extension points and webhooks&lt;/td&gt;
&lt;td&gt;Full access to the source&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Integration with your app&lt;/td&gt;
&lt;td&gt;Through the API&lt;/td&gt;
&lt;td&gt;Can share code, database and login&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Limits&lt;/td&gt;
&lt;td&gt;Plan quotas and rate limits&lt;/td&gt;
&lt;td&gt;Your infrastructure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lock-in&lt;/td&gt;
&lt;td&gt;Proprietary content model and API&lt;/td&gt;
&lt;td&gt;Usually open source, data in your own database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;Shared with the vendor&lt;/td&gt;
&lt;td&gt;Yours, on top of the provider's infrastructure&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Quotas and the tiers that include regional data hosting differ a lot between vendors and change often, so check the current pricing pages.&lt;/p&gt;

&lt;p&gt;Hosted is the better fit if you have nobody to run infrastructure, need to launch quickly and the plan limits will cover your growth for the next few years. Self-hosting makes more sense if compliance rules decide where your data lives, if the CMS has to be tightly integrated with an existing application, if usage-based pricing would outgrow your budget, or if you need to change how the system behaves in code.&lt;/p&gt;

&lt;p&gt;There is also a mix of both: self-hostable software that the vendor or a hosting partner runs for you. You start with the convenience of a hosted service and can take over operations later without migrating your content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking a "cloud-native" claim
&lt;/h2&gt;

&lt;p&gt;These questions help with any vendor or project. If the answer to one of the first seven is no, the system runs in the cloud but isn't cloud-native.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Can I stop any running instance under load without users losing their session or uploads?&lt;/li&gt;
&lt;li&gt;Do files go directly to object storage, without a shared network file system?&lt;/li&gt;
&lt;li&gt;Can I run three instances behind a load balancer without sticky sessions?&lt;/li&gt;
&lt;li&gt;Does each scheduled task run once, no matter how many instances are up?&lt;/li&gt;
&lt;li&gt;Are all settings and secrets passed in through the environment?&lt;/li&gt;
&lt;li&gt;Are extensions and the content model part of the build, and do migrations run once per release?&lt;/li&gt;
&lt;li&gt;Is there a health check endpoint, and do logs go to stdout or a log service?&lt;/li&gt;
&lt;li&gt;For hosted products: can I export all content and files in an open format?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can try the first question in a few minutes with Docker Compose, as long as a reverse proxy sits in front of the app service:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up -d --scale &lt;span class="nv"&gt;app&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;3

&lt;span class="c"&gt;# log in to the admin, upload an image, then stop one replica&lt;/span&gt;
docker stop &lt;span class="nv"&gt;$(&lt;/span&gt;docker compose ps -q app &lt;span class="o"&gt;|&lt;/span&gt; head -n 1&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="c"&gt;# reload the admin: still logged in, image still there?&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you were logged out or the image is missing, state is stored on the instance.&lt;/p&gt;

&lt;p&gt;This only tells you something if uploads go to object storage. A shared Docker volume makes a single-server setup pass as well, and that doesn't help you once instances run on different hosts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;A cloud-native CMS costs a bit more effort upfront and gives you resilience, scaling and repeatable releases in return. Whether you buy it as a service or run it yourself depends on your operations capacity, how costs grow with usage, where your data has to live and how much control you need over the code.&lt;/p&gt;

&lt;p&gt;How many of the checks does your current CMS pass? If you want to see how a CMS supports these requirements in code, the &lt;a href="https://github.com/aimeos/pagible" rel="noopener noreferrer"&gt;PagibleAI source&lt;/a&gt; is a good starting point.&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>devops</category>
      <category>laravel</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Best MCP CMS 2026: 10 CMS with Model Context Protocol compared</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Fri, 06 Nov 2026 14:13:07 +0000</pubDate>
      <link>https://dev.to/aimeos/best-mcp-cms-2026-11-cms-with-model-context-protocol-compared-1lfj</link>
      <guid>https://dev.to/aimeos/best-mcp-cms-2026-11-cms-with-model-context-protocol-compared-1lfj</guid>
      <description>&lt;p&gt;&lt;em&gt;Last updated: November 25, 2026&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Ask Claude to fix a typo on your pricing page, and in some CMSs the change is live before you've seen it. Nine of the ten CMSs in this comparison now have an official MCP server (Drupal's is a contributed module), and most of them let Claude, ChatGPT or Cursor create, change and publish content on your site.&lt;/p&gt;

&lt;p&gt;Before you connect one, you'll want to know what happens when an agent uses it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does a new page go live immediately, or does it wait as a draft?&lt;/li&gt;
&lt;li&gt;Can the agent publish, and can you prevent it?&lt;/li&gt;
&lt;li&gt;Is the agent's output checked against your content model before it's saved?&lt;/li&gt;
&lt;li&gt;Does the server respect the user's roles, or does it run with an admin token?&lt;/li&gt;
&lt;li&gt;Can you limit the tools on the server, or only in the chat client?&lt;/li&gt;
&lt;li&gt;Can you add it to claude.ai or ChatGPT in the browser, or only to local clients?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I went through the MCP docs, changelogs and, where available, the source code of ten CMSs (eleven servers, because WordPress has two) to answer these questions, and took a shorter look at six more.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Agent writes become drafts by default in Contentful, Hygraph, PagibleAI, Sanity, Strapi (with Draft &amp;amp; Publish), Webflow and WordPress.com, while Craft and Payload write live unless the agent asks for a draft.&lt;/li&gt;
&lt;li&gt;Craft and PagibleAI document that every agent write is validated against the content model. Sanity checks structure, but skips custom rules.&lt;/li&gt;
&lt;li&gt;Sanity, Craft and Directus let agents change the content model itself, which is powerful and risky.&lt;/li&gt;
&lt;li&gt;Most servers run with the role of the connected user or token. Storyblok respects the permissions granted through OAuth, but can't switch off individual tools on the server.&lt;/li&gt;
&lt;li&gt;Payload 3.x, Strapi and self-hosted WordPress have no OAuth, so you can only use them from local clients like Claude Code or Cursor, not from claude.ai or ChatGPT in the browser.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  MCP server comparison
&lt;/h2&gt;

&lt;p&gt;✅ yes · ⚠️ partly or with conditions · ❌ no · ❓ not documented&lt;/p&gt;

&lt;h3&gt;
  
  
  What an agent can do
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Writes land as&lt;/th&gt;
&lt;th&gt;Tools&lt;/th&gt;
&lt;th&gt;Tool restrictions&lt;/th&gt;
&lt;th&gt;Checked against content model&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Contentful&lt;/td&gt;
&lt;td&gt;Draft&lt;/td&gt;
&lt;td&gt;88 (local server)&lt;/td&gt;
&lt;td&gt;Per environment, read-only or read/write&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Craft CMS 5.12&lt;/td&gt;
&lt;td&gt;Live, draft on request&lt;/td&gt;
&lt;td&gt;71&lt;/td&gt;
&lt;td&gt;Three access levels&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Directus 11.12+&lt;/td&gt;
&lt;td&gt;Depends on &lt;code&gt;status&lt;/code&gt; field&lt;/td&gt;
&lt;td&gt;12 grouped&lt;/td&gt;
&lt;td&gt;Deletes off by default, user role&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;Depends on installed tools&lt;/td&gt;
&lt;td&gt;Depends on installed tools&lt;/td&gt;
&lt;td&gt;Per tool&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PagibleAI&lt;/td&gt;
&lt;td&gt;Draft version&lt;/td&gt;
&lt;td&gt;47&lt;/td&gt;
&lt;td&gt;User permissions per action&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payload&lt;/td&gt;
&lt;td&gt;Published unless &lt;code&gt;draft: true&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Per enabled collection&lt;/td&gt;
&lt;td&gt;Per API key and operation&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sanity&lt;/td&gt;
&lt;td&gt;Draft or release&lt;/td&gt;
&lt;td&gt;60&lt;/td&gt;
&lt;td&gt;Token role only&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storyblok&lt;/td&gt;
&lt;td&gt;Draft unless &lt;code&gt;publish&lt;/code&gt; is set&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;Only in the client&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Strapi 5.49+&lt;/td&gt;
&lt;td&gt;Draft with Draft &amp;amp; Publish&lt;/td&gt;
&lt;td&gt;8 per content type + 10 media&lt;/td&gt;
&lt;td&gt;Read-only tokens&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Depends on plugins&lt;/td&gt;
&lt;td&gt;Depends on plugins&lt;/td&gt;
&lt;td&gt;Abilities private by default&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WordPress.com&lt;/td&gt;
&lt;td&gt;Draft&lt;/td&gt;
&lt;td&gt;53 (7 grouped)&lt;/td&gt;
&lt;td&gt;Tool groups per site&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Setup and cost
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Runs on&lt;/th&gt;
&lt;th&gt;Auth&lt;/th&gt;
&lt;th&gt;Web chat apps&lt;/th&gt;
&lt;th&gt;Open source&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Contentful&lt;/td&gt;
&lt;td&gt;Hosted, local server (MIT)&lt;/td&gt;
&lt;td&gt;OAuth 2.1, token&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;Local MCP server only (MIT)&lt;/td&gt;
&lt;td&gt;Free for all customers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Craft CMS 5.12&lt;/td&gt;
&lt;td&gt;Your server, in core&lt;/td&gt;
&lt;td&gt;OAuth, stdio&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;No, proprietary&lt;/td&gt;
&lt;td&gt;All editions, Solo is free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Directus 11.12+&lt;/td&gt;
&lt;td&gt;Your server or Cloud, in core&lt;/td&gt;
&lt;td&gt;OAuth 2.1 (v12), token&lt;/td&gt;
&lt;td&gt;✅ (v12)&lt;/td&gt;
&lt;td&gt;Source-available&lt;/td&gt;
&lt;td&gt;All plans, self-hosting free unless you compete with Directus's paid offering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;Contrib module, beta&lt;/td&gt;
&lt;td&gt;OAuth (alpha), stdio&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;GPL&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PagibleAI&lt;/td&gt;
&lt;td&gt;Your server, in core&lt;/td&gt;
&lt;td&gt;OAuth (Passport)&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payload&lt;/td&gt;
&lt;td&gt;Your server, plugin&lt;/td&gt;
&lt;td&gt;API key, OAuth (4.0 beta)&lt;/td&gt;
&lt;td&gt;⚠️ (4.0 beta)&lt;/td&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sanity&lt;/td&gt;
&lt;td&gt;Hosted only&lt;/td&gt;
&lt;td&gt;OAuth, token&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;Studio only (MIT)&lt;/td&gt;
&lt;td&gt;All projects, image tools use AI credits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storyblok&lt;/td&gt;
&lt;td&gt;Hosted only&lt;/td&gt;
&lt;td&gt;OAuth, token&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No plan limit documented&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Strapi 5.49+&lt;/td&gt;
&lt;td&gt;Your server, in core&lt;/td&gt;
&lt;td&gt;Admin API token&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;MIT (Community Edition)&lt;/td&gt;
&lt;td&gt;Free on all plans&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Your server, MCP Adapter plugin&lt;/td&gt;
&lt;td&gt;Application password&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;GPL&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WordPress.com&lt;/td&gt;
&lt;td&gt;Hosted&lt;/td&gt;
&lt;td&gt;OAuth 2.1&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;WordPress is GPL, MCP server hosted&lt;/td&gt;
&lt;td&gt;All WordPress.com plans&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Every server can publish content (on Drupal and self-hosted WordPress, only if the installed tools support it). Whether a specific agent may publish always depends on the permissions of the user or token it connects with. "Web chat apps" means claude.ai and ChatGPT in the browser, which need a remote server with OAuth. Local clients like Claude Code and Cursor work with all of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contentful
&lt;/h2&gt;

&lt;p&gt;Contentful has a &lt;a href="https://www.contentful.com/blog/remote-mcp-now-generally-available/" rel="noopener noreferrer"&gt;remote MCP server&lt;/a&gt;, generally available since July 2026 and free for all customers, plus an MIT-licensed &lt;a href="https://github.com/contentful/contentful-mcp-server" rel="noopener noreferrer"&gt;local server&lt;/a&gt; with 88 tools in version 1.24.9. New entries are drafts, and publishing is a separate tool call. The local server's &lt;code&gt;update_entry&lt;/code&gt; requires the &lt;code&gt;sys.version&lt;/code&gt; the agent read and fails if someone changed the entry in the meantime.&lt;/p&gt;

&lt;p&gt;Before an agent can use the remote server in a space, an admin has to install the Contentful MCP app and allow tool categories per environment, each as read-only or read/write; the local server protects whole environments with &lt;code&gt;PROTECTED_ENVIRONMENTS&lt;/code&gt;. The catch: content type validations run when an entry is published, not when a draft is saved, and the MCP docs describe no extra check for agent writes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Craft CMS
&lt;/h2&gt;

&lt;p&gt;Craft 5.12 (November 3, 2026) ships &lt;a href="https://craftcms.com/docs/5.x/system/mcp" rel="noopener noreferrer"&gt;MCP in core&lt;/a&gt; in every edition, with 71 tools in 5.12.3. There are three servers: an authenticated HTTP server with OAuth, 2FA and a consent screen, a public HTTP server for content an admin approved, and a stdio server for local use. "Read only" is preselected in the consent screen, "Read and write" is opt-in and "Full access" is reserved for admins. Input is validated against JSON schemas, and &lt;code&gt;elements_validate&lt;/code&gt; checks an entry without saving it.&lt;/p&gt;

&lt;p&gt;The catch: &lt;code&gt;elements_create&lt;/code&gt; saves a live entry unless the agent passes &lt;code&gt;asUnpublishedDraft: true&lt;/code&gt;, and the stdio server ignores the access levels. The free Solo edition allows only one user, so the agent acts as your admin and only the access level from the consent screen limits it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Directus
&lt;/h2&gt;

&lt;p&gt;Directus has an &lt;a href="https://directus.com/docs/guides/ai/mcp" rel="noopener noreferrer"&gt;MCP server in core&lt;/a&gt; since 11.12, off by default and available on all plans, with OAuth 2.1 since version 12 and 12 grouped tools for items, files, flows and the schema. Whether an item is a draft depends on how you use the &lt;code&gt;status&lt;/code&gt; field. The &lt;a href="https://directus.com/docs/guides/ai/mcp/security" rel="noopener noreferrer"&gt;security page&lt;/a&gt; recommends a dedicated AI user, and "Allow Deletes" is off by default.&lt;/p&gt;

&lt;p&gt;The catch: in the version 12 source, permission rules that limit fields, filter items or set validation need a license entitlement; without it, a role gets full access to whole collections. The &lt;a href="https://directus.com/pricing" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt; doesn't say which plan includes these rules, so check before you rely on them. Directus is source-available, not OSI-approved open source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Drupal
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://www.drupal.org/project/mcp_server" rel="noopener noreferrer"&gt;MCP Server&lt;/a&gt; module (2.0.0-beta7, October 2026), maintained by Lullabot and Omedia with sponsorship from Acquia, has no stable release, so it isn't covered by Drupal security advisories. It ships no content tools: you map tools from the Tool API, for example from Tool Belt, or write your own &lt;code&gt;#[Tool]&lt;/code&gt; plugins. What an agent can do, and whether it creates drafts through Content Moderation, depends entirely on what you install.&lt;/p&gt;

&lt;p&gt;OAuth with per-tool scopes comes from the separate &lt;a href="https://www.drupal.org/project/mcp_server_oauth" rel="noopener noreferrer"&gt;MCP Server OAuth&lt;/a&gt; module, which is still alpha and requires Drupal 11. If you're already deep into Drupal, it's worth a test; for a production site, I'd wait for a stable release.&lt;/p&gt;

&lt;h2&gt;
  
  
  PagibleAI
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pagible.com" rel="noopener noreferrer"&gt;PagibleAI&lt;/a&gt; is an MIT-licensed CMS package for Laravel whose &lt;a href="https://pagible.com/configure-mcp" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt; is part of the default installation. Its 47 tools cover pages, shared elements and files (32), AI tasks like refining, translating, image generation and transcription (12) and page metrics (3). Every save creates a draft version with the user who saved it, validated against the JSON schema of the editor forms. Saves must include the &lt;code&gt;latest_id&lt;/code&gt; the agent read, so changes made in the admin panel in the meantime are merged instead of silently overwritten, and deletes are soft and can be restored.&lt;/p&gt;

&lt;p&gt;Authentication uses OAuth via Laravel Passport, and each tool checks the user's CMS permissions such as &lt;code&gt;page:save&lt;/code&gt; or &lt;code&gt;page:publish&lt;/code&gt;, so an editor without publish rights can let an agent prepare pages, but not put them live. The catch: PagibleAI requires a Laravel app, and agents can't change the content model or manage users, because the schema lives in your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Payload
&lt;/h2&gt;

&lt;p&gt;Payload's official &lt;a href="https://payloadcms.com/docs/plugins/mcp" rel="noopener noreferrer"&gt;MCP plugin&lt;/a&gt; runs inside your app under the MIT license. Nothing is exposed by default: you enable each collection and operation, then per API key, and requests run as the key's user, so access rules and hooks still apply. The 4.0 beta adds OAuth and tools for versions, restore, duplicates and schema.&lt;/p&gt;

&lt;p&gt;The catch: in 3.x, the &lt;code&gt;draft&lt;/code&gt; parameter of the create and update tools defaults to &lt;code&gt;false&lt;/code&gt;, so on a drafts-enabled collection an agent overwrites the published document unless it asks for a draft, which the docs don't mention. Drafts in turn skip field validation unless the collection sets &lt;code&gt;versions.drafts.validate: true&lt;/code&gt;. Also strip sensitive fields with &lt;code&gt;overrideResponse&lt;/code&gt; or &lt;code&gt;select&lt;/code&gt;, because models get the full document by default.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sanity
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://www.sanity.io/docs/ai/mcp-server" rel="noopener noreferrer"&gt;hosted MCP server&lt;/a&gt; has been generally available for all projects since December 2025, with 60 tools for GROQ queries, documents, releases, assets, semantic search and even deploying schemas and Studios. Edits go to drafts or release versions (except for &lt;code&gt;liveEdit&lt;/code&gt; types), and since version 2.45, writes that fail validation against the deployed schema are blocked, although your custom validation rules are still skipped.&lt;/p&gt;

&lt;p&gt;The catch: there's no read-only mode or tool allow-list on the server. The token's role defines what an agent can do, and a token that can deploy schemas can change your content model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Storyblok
&lt;/h2&gt;

&lt;p&gt;Storyblok's &lt;a href="https://www.storyblok.com/docs/tooling/mcp-server" rel="noopener noreferrer"&gt;hosted server&lt;/a&gt; has only seven tools: &lt;code&gt;search&lt;/code&gt; and &lt;code&gt;describe&lt;/code&gt; to discover the Management API, &lt;code&gt;execute_readonly&lt;/code&gt;, &lt;code&gt;execute_mutating&lt;/code&gt; and &lt;code&gt;execute_destructive&lt;/code&gt; to call it, and two upload tools. This keeps the agent's context small and still covers stories, components, assets, workflows and releases.&lt;/p&gt;

&lt;p&gt;The split makes it easy to require approval for writes and deletes in clients like Claude, but that's a client setting, not a server restriction; on the server, access is limited to the spaces and permissions granted during OAuth. Creates accept a &lt;code&gt;publish&lt;/code&gt; parameter, so an agent can publish in the same call, and file uploads need shell access, so they only work in agents like Claude Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Strapi
&lt;/h2&gt;

&lt;p&gt;Strapi 5.49 made its &lt;a href="https://strapi.io/blog/the-strapi-mcp-server-is-now-ga" rel="noopener noreferrer"&gt;built-in MCP server&lt;/a&gt; generally available on all plans, including the free Community edition. It's off by default and generates up to eight tools per content type, from list to publish and discard draft, plus ten Media Library tools. With Draft &amp;amp; Publish enabled, new entries are drafts, and tokens are capped at their owner's permissions; a read-only token only gets the list and read tools.&lt;/p&gt;

&lt;p&gt;Every content type gets a strict input schema with field types, enums and min/max limits, so unknown fields are rejected, except in dynamic zones and media, which are untyped arrays. Agents can't change content types or upload new files.&lt;/p&gt;

&lt;h2&gt;
  
  
  WordPress
&lt;/h2&gt;

&lt;p&gt;For self-hosted WordPress, the official &lt;a href="https://wordpress.org/plugins/mcp-adapter/" rel="noopener noreferrer"&gt;MCP Adapter&lt;/a&gt; (version 0.7.2) turns registered "abilities" into MCP tools. Core only registers a few read-only abilities, and everything else comes from plugins, so they decide what an agent can do, whether it creates drafts and whether its input matches your content model. Authentication uses application passwords, so web clients that need OAuth can't connect without extra work.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wordpress.com/support/mcp/" rel="noopener noreferrer"&gt;WordPress.com&lt;/a&gt; runs a hosted server with OAuth 2.1 for posts, pages, comments, categories, tags and media. It's free on every WordPress.com plan, and Jetpack-connected sites need Jetpack AI or Jetpack Complete from December 2026. Tool groups can be switched on and off per site, posts default to drafts and permanent deletions ask for confirmation, but changes to published posts go live immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Also checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Umbraco&lt;/strong&gt; has two servers, both generally available on Umbraco Cloud since November 2026: a &lt;a href="https://docs.umbraco.com/umbraco-in-ai/mcp/mcp-servers/cms-developer-mcp" rel="noopener noreferrer"&gt;Developer MCP&lt;/a&gt; with more than 330 tools, according to Umbraco, that its own docs say not to connect to production, and an Editor MCP, free on all Cloud plans, that asks for approval before publishing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hygraph&lt;/strong&gt; writes only to drafts and rejects all delete and unpublish operations. Its &lt;a href="https://hygraph.com/docs/hygraph-ai/mcp-server" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt; is available to all Hygraph projects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DatoCMS&lt;/strong&gt; has a &lt;a href="https://www.datocms.com/docs/mcp-server" rel="noopener noreferrer"&gt;remote server&lt;/a&gt; in beta where agents write type-checked TypeScript scripts against the Management API, with execution time limits per plan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kontent.ai&lt;/strong&gt; replaced its open-source local server with a hosted &lt;a href="https://kontent.ai/learn/docs/ai/mcp-server" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt; in November 2026, but it still only accepts Management API keys, no OAuth.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webflow&lt;/strong&gt; includes &lt;a href="https://developers.webflow.com/mcp/reference/overview" rel="noopener noreferrer"&gt;MCP&lt;/a&gt; on all site plans. CMS items are drafts, and publishing is a separate tool.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Statamic&lt;/strong&gt; has no official server. Community addons exist: &lt;a href="https://statamic.com/addons/daniel/statamic-mcp" rel="noopener noreferrer"&gt;statamic-mcp&lt;/a&gt; creates drafts only and hides delete tools until you enable them, and &lt;a href="https://statamic.com/addons/cboxdk/statamic-mcp" rel="noopener noreferrer"&gt;cboxdk/statamic-mcp&lt;/a&gt; supports OAuth 2.1 and groups more than 140 operations into 11 tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to check before connecting an agent
&lt;/h2&gt;

&lt;p&gt;Some things don't show up in feature lists, but they decide how much damage a wrong tool call can do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a dedicated user for the agent and give it the role you'd give a new freelance editor, not an admin token. Most servers here run with the permissions of the connected user or token, so this is your most effective limit. Check the exceptions: Drupal tools can be configured without authentication, and on self-hosted WordPress, the permission checks come from the plugins that register the abilities.&lt;/li&gt;
&lt;li&gt;Ask the agent to create a test page and check if it's live. In Craft and Payload, it will be unless the agent passes the draft flag.&lt;/li&gt;
&lt;li&gt;Find out if schema changes are possible. In Sanity, Craft and Directus, a token with enough rights can change your content model, so keep those rights away from content agents.&lt;/li&gt;
&lt;li&gt;Look at how deletes work. Soft deletes with restore tools (Craft, PagibleAI, WordPress.com posts) are forgiving, hard deletes of media and taxonomies are not.&lt;/li&gt;
&lt;li&gt;Watch out for prompt injection. Agents read pages, comments and form entries written by others, and a hidden instruction in that content can make them change or publish things you didn't ask for. This is the strongest reason to let agents write drafts only and keep publish rights for people.&lt;/li&gt;
&lt;li&gt;Check the audit trail. You'll want to see later what an agent changed and in whose name. Version histories (Contentful, Craft, PagibleAI, Sanity) show who saved what, so give the agent its own user to tell its changes apart from yours.&lt;/li&gt;
&lt;li&gt;Think about concurrent edits. If an editor works on a page while the agent saves it, one of them can lose changes. Contentful's local server rejects saves based on an outdated version, and PagibleAI merges them with the newer one. Craft does so only for configuration changes; with the others, check your version history.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Connecting a server takes one command in Claude Code. A hosted server like Contentful's opens the OAuth login in your browser (an admin has to install the Contentful MCP app in the space first), and a self-hosted one like PagibleAI's runs under your own domain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http --scope user contentful https://mcp.contentful.com/mcp
claude mcp add --transport http --scope user pagible https://example.com/mcp/cms/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In claude.ai, the same URLs go into Settings → Connectors → Add custom connector, and in ChatGPT into Settings → Apps → Create.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which one should you use?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If you want a hosted CMS, Contentful gives admins the most control. Sanity keeps all agent edits in drafts or releases and lets agents query content with GROQ.&lt;/li&gt;
&lt;li&gt;If you use Node.js, Strapi has safer defaults. Payload works too, but pass &lt;code&gt;draft: true&lt;/code&gt; and set &lt;code&gt;versions.drafts.validate: true&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If you use PHP/Laravel, PagibleAI creates drafts, validates content and includes AI tools. Statamic only has community addons (see Also checked).&lt;/li&gt;
&lt;li&gt;If you use WordPress, WordPress.com's hosted server works today. Self-hosted sites depend on plugins.&lt;/li&gt;
&lt;li&gt;If you use Drupal, wait for a stable MCP Server release.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I compared
&lt;/h2&gt;

&lt;p&gt;I read the official MCP docs, changelogs and announcements of each CMS in November 2026. For Craft, Payload (plugin and core), Strapi and PagibleAI, I also checked draft handling, permissions or input validation in the source code, and I counted the registered tools in the current releases of Contentful's local server, Craft, Directus and PagibleAI. I didn't test paid Enterprise features. For the hosted servers (Contentful's remote server, Sanity, Storyblok, WordPress.com and most under Also checked), everything is based on the docs.&lt;/p&gt;

&lt;p&gt;MCP servers change monthly. If you find something that's outdated, please let me know in the comments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Contentful: &lt;a href="https://www.contentful.com/blog/remote-mcp-now-generally-available/" rel="noopener noreferrer"&gt;remote MCP GA&lt;/a&gt;, &lt;a href="https://www.contentful.com/developers/docs/tools/mcp-server/" rel="noopener noreferrer"&gt;MCP docs&lt;/a&gt;, &lt;a href="https://github.com/contentful/contentful-mcp-server" rel="noopener noreferrer"&gt;local server&lt;/a&gt;, &lt;a href="https://github.com/contentful/contentful-mcp-server/blob/main/packages/mcp-tools/src/tools/entries/updateEntry.ts" rel="noopener noreferrer"&gt;updateEntry.ts&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Craft CMS: &lt;a href="https://craftcms.com/blog/craft-5-12-released" rel="noopener noreferrer"&gt;5.12 release&lt;/a&gt;, &lt;a href="https://github.com/craftcms/cms/releases/tag/5.12.1" rel="noopener noreferrer"&gt;5.12.1 release&lt;/a&gt;, &lt;a href="https://craftcms.com/docs/5.x/system/mcp" rel="noopener noreferrer"&gt;MCP docs&lt;/a&gt;, &lt;a href="https://github.com/craftcms/cms/tree/5.x/src/mcp/capabilities" rel="noopener noreferrer"&gt;MCP capabilities&lt;/a&gt;, &lt;a href="https://github.com/craftcms/cms/blob/5.x/src/mcp/EditionFeatures.php" rel="noopener noreferrer"&gt;EditionFeatures.php&lt;/a&gt;, &lt;a href="https://github.com/craftcms/cms/blob/5.x/src/services/Users.php" rel="noopener noreferrer"&gt;Users.php&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Directus: &lt;a href="https://directus.com/docs/guides/ai/mcp" rel="noopener noreferrer"&gt;MCP docs&lt;/a&gt;, &lt;a href="https://directus.com/docs/guides/ai/mcp/installation" rel="noopener noreferrer"&gt;installation&lt;/a&gt;, &lt;a href="https://directus.com/docs/guides/ai/mcp/security" rel="noopener noreferrer"&gt;security&lt;/a&gt;, &lt;a href="https://github.com/directus/directus/releases/tag/v12.0.0" rel="noopener noreferrer"&gt;v12 release&lt;/a&gt;, &lt;a href="https://github.com/directus/directus/blob/main/license" rel="noopener noreferrer"&gt;license&lt;/a&gt;, &lt;a href="https://github.com/directus/directus/blob/main/api/src/services/permissions.ts" rel="noopener noreferrer"&gt;permissions.ts&lt;/a&gt;, &lt;a href="https://directus.com/pricing" rel="noopener noreferrer"&gt;pricing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Drupal: &lt;a href="https://www.drupal.org/project/mcp_server" rel="noopener noreferrer"&gt;MCP Server&lt;/a&gt;, &lt;a href="https://www.drupal.org/project/mcp_server_oauth" rel="noopener noreferrer"&gt;MCP Server OAuth&lt;/a&gt;, &lt;a href="https://www.drupal.org/about/ai/initiatives/blog/outside-ai-the-state-of-agent-experience-in-drupal" rel="noopener noreferrer"&gt;agent experience in Drupal&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PagibleAI: &lt;a href="https://pagible.com/configure-mcp" rel="noopener noreferrer"&gt;MCP setup&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/mcp/src/Mcp/CmsServer.php" rel="noopener noreferrer"&gt;CmsServer.php&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/mcp/src/Tools/Tool.php" rel="noopener noreferrer"&gt;Tool.php&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/mcp/src/Tools/SavePage.php" rel="noopener noreferrer"&gt;SavePage.php&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/core/src/Merge.php" rel="noopener noreferrer"&gt;Merge.php&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Payload: &lt;a href="https://payloadcms.com/docs/plugins/mcp" rel="noopener noreferrer"&gt;MCP plugin&lt;/a&gt;, &lt;a href="https://github.com/payloadcms/payload/tree/main/packages/plugin-mcp" rel="noopener noreferrer"&gt;plugin source&lt;/a&gt;, &lt;a href="https://payloadcms.com/docs/versions/drafts" rel="noopener noreferrer"&gt;drafts docs&lt;/a&gt;, &lt;a href="https://github.com/payloadcms/payload/blob/main/packages/payload/src/collections/operations/utilities/update.ts" rel="noopener noreferrer"&gt;update operation&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sanity: &lt;a href="https://www.sanity.io/docs/ai/mcp-server" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt;, &lt;a href="https://www.sanity.io/blog/sanity-remote-mcp-server-is-generally-available" rel="noopener noreferrer"&gt;GA announcement&lt;/a&gt;, &lt;a href="https://www.sanity.io/docs/ai/mcp-server/changelog" rel="noopener noreferrer"&gt;changelog&lt;/a&gt;, &lt;a href="https://www.sanity.io/docs/changelog/mcp-server-change-2-45-0" rel="noopener noreferrer"&gt;2.45.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Storyblok: &lt;a href="https://www.storyblok.com/docs/tooling/mcp-server" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt;, &lt;a href="https://www.storyblok.com/docs/tooling/mcp-server/setup" rel="noopener noreferrer"&gt;setup&lt;/a&gt;, &lt;a href="https://www.storyblok.com/mp/hidden-cost-flat-mcp-tool-lists" rel="noopener noreferrer"&gt;flat tool lists&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Strapi: &lt;a href="https://strapi.io/blog/the-strapi-mcp-server-is-now-ga" rel="noopener noreferrer"&gt;MCP GA&lt;/a&gt;, &lt;a href="https://docs.strapi.io/cms/features/strapi-mcp-server" rel="noopener noreferrer"&gt;MCP docs&lt;/a&gt;, &lt;a href="https://github.com/strapi/strapi/blob/develop/packages/core/content-manager/server/src/mcp/schemas/data-schema.ts" rel="noopener noreferrer"&gt;data-schema.ts&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;WordPress: &lt;a href="https://wordpress.org/plugins/mcp-adapter/" rel="noopener noreferrer"&gt;MCP Adapter&lt;/a&gt;, &lt;a href="https://developer.wordpress.org/news/2026/02/from-abilities-to-ai-agents-introducing-the-wordpress-mcp-adapter/" rel="noopener noreferrer"&gt;abilities to agents&lt;/a&gt;, &lt;a href="https://wordpress.com/support/mcp/" rel="noopener noreferrer"&gt;WordPress.com MCP&lt;/a&gt;, &lt;a href="https://developer.wordpress.com/docs/mcp/" rel="noopener noreferrer"&gt;WordPress.com MCP developer docs&lt;/a&gt;, &lt;a href="https://developer.wordpress.com/docs/mcp/tools-reference/" rel="noopener noreferrer"&gt;WordPress.com MCP tools&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Others: &lt;a href="https://docs.umbraco.com/umbraco-in-ai/mcp/mcp-servers/cms-developer-mcp" rel="noopener noreferrer"&gt;Umbraco&lt;/a&gt;, &lt;a href="https://umbraco.com/blog/umbraco-cms-editor-mcp-and-developer-mcp-are-now-live-on-umbraco-cloud/" rel="noopener noreferrer"&gt;Umbraco Cloud GA&lt;/a&gt;, &lt;a href="https://hygraph.com/docs/hygraph-ai/mcp-server" rel="noopener noreferrer"&gt;Hygraph&lt;/a&gt;, &lt;a href="https://www.datocms.com/docs/mcp-server" rel="noopener noreferrer"&gt;DatoCMS&lt;/a&gt;, &lt;a href="https://kontent.ai/learn/docs/ai/mcp-server" rel="noopener noreferrer"&gt;Kontent.ai&lt;/a&gt;, &lt;a href="https://developers.webflow.com/mcp/reference/overview" rel="noopener noreferrer"&gt;Webflow&lt;/a&gt;, &lt;a href="https://statamic.com/addons/daniel/statamic-mcp" rel="noopener noreferrer"&gt;Statamic addons&lt;/a&gt;, &lt;a href="https://github.com/cboxdk/statamic-mcp" rel="noopener noreferrer"&gt;cboxdk/statamic-mcp&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>webdev</category>
      <category>cms</category>
    </item>
    <item>
      <title>Best AI CMS 2026: 8 compared on drafts, models and MCP</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Thu, 05 Nov 2026 16:45:11 +0000</pubDate>
      <link>https://dev.to/aimeos/best-ai-cms-2026-8-compared-on-drafts-models-and-mcp-b3n</link>
      <guid>https://dev.to/aimeos/best-ai-cms-2026-8-compared-on-drafts-models-and-mcp-b3n</guid>
      <description>&lt;p&gt;&lt;em&gt;Last updated: November 25, 2026&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every CMS advertises AI now. Sometimes that's a rephrase button, sometimes an agent that builds whole pages. In five of the eight CMSs I checked, AI output isn't validated against your content model at all, or only partly. And the details developers care about are usually buried in pricing tables and docs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does AI output go live immediately or into a draft?&lt;/li&gt;
&lt;li&gt;Is it validated against your content model?&lt;/li&gt;
&lt;li&gt;Can you choose the model, or are you locked to the vendor's?&lt;/li&gt;
&lt;li&gt;Is AI part of the product or an Enterprise add-on?&lt;/li&gt;
&lt;li&gt;Can agents like Claude or ChatGPT work with your content via MCP?&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Free AI with your own model: Drupal, PagibleAI and WordPress&lt;/li&gt;
&lt;li&gt;Hosted with the strictest guardrails: Sanity, which checks AI output against your schema and only writes drafts&lt;/li&gt;
&lt;li&gt;Built-in AI only on paid plans: Contentful, Payload and Strapi&lt;/li&gt;
&lt;li&gt;AI output checked against the content model: PagibleAI and Sanity, in Contentful if you turn it on&lt;/li&gt;
&lt;li&gt;MCP servers that save agent changes as drafts: Contentful, PagibleAI, Sanity and Strapi (with Draft &amp;amp; Publish)&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  AI feature comparison
&lt;/h2&gt;

&lt;p&gt;✅ yes · ⚠️ partly or with conditions · ❌ no · ❓ not documented or closed source&lt;/p&gt;

&lt;h3&gt;
  
  
  What the AI can do
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Contentful&lt;/th&gt;
&lt;th&gt;Drupal&lt;/th&gt;
&lt;th&gt;PagibleAI&lt;/th&gt;
&lt;th&gt;Payload&lt;/th&gt;
&lt;th&gt;Sanity&lt;/th&gt;
&lt;th&gt;Storyblok&lt;/th&gt;
&lt;th&gt;Strapi&lt;/th&gt;
&lt;th&gt;WordPress&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Create and change pages by chat&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Generate text for any field&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Translate whole pages&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Generate images&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Edit images&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Alt text&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Safety, cost and MCP
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Contentful&lt;/th&gt;
&lt;th&gt;Drupal&lt;/th&gt;
&lt;th&gt;PagibleAI&lt;/th&gt;
&lt;th&gt;Payload&lt;/th&gt;
&lt;th&gt;Sanity&lt;/th&gt;
&lt;th&gt;Storyblok&lt;/th&gt;
&lt;th&gt;Strapi&lt;/th&gt;
&lt;th&gt;WordPress&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AI changes as drafts&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI output validated&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❓&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Own model per task&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No AI credits or Enterprise plan&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Runs on your own server&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MCP server&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;⚠️&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The most common reasons for ⚠️:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create and change pages by chat: Storyblok's agents are in beta and need the Growth plan.&lt;/li&gt;
&lt;li&gt;Generate text for any field: Storyblok only in the rich text editor, WordPress only for fixed fields like titles, excerpts and meta descriptions.&lt;/li&gt;
&lt;li&gt;Generate and edit images: Contentful only through a separate DALL-E app, Drupal only through provider integrations and contrib modules.&lt;/li&gt;
&lt;li&gt;AI changes as drafts: Strapi only with Draft &amp;amp; Publish on, Drupal only with revisions or Content Moderation, and WordPress saves generated images straight to the Media Library.&lt;/li&gt;
&lt;li&gt;AI output validated: Contentful only if you turn it on, Storyblok checks lengths and block counts but not patterns.&lt;/li&gt;
&lt;li&gt;Own model per task: Storyblok only on Elite, Strapi only with a paid Enterprise add-on, Payload without documented configuration.&lt;/li&gt;
&lt;li&gt;MCP server: Drupal's is still beta, WordPress exposes only what plugins make public.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PagibleAI also transcribes audio and can uncrop and upscale images. Of the others, I only found transcription in Drupal, as a &lt;a href="https://project.pages.drupalcode.org/ai/1.2.x/developers/call_speech_to_text/" rel="noopener noreferrer"&gt;speech-to-text API&lt;/a&gt; for developers.&lt;/p&gt;

&lt;p&gt;Statamic and Craft CMS aren't in the table because neither has stable first-party AI features; both rely on third-party addons. Craft 5.12 (November 2026) ships an MCP server in core, and the Craft 6 beta adds an "Ask AI" assistant on top of it. Statamic only has community MCP servers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contentful: drafts by default, AI Actions only on Enterprise
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.contentful.com/products/ai/ai-actions/" rel="noopener noreferrer"&gt;AI Actions&lt;/a&gt; cover translation, rewriting, alt text, SEO and custom prompts. The &lt;a href="https://www.contentful.com/developers/changelog/content-operations-agent-is-now-generally-available/" rel="noopener noreferrer"&gt;Content Operations Agent&lt;/a&gt; has been generally available since November 2026 on Pro plans and up; it creates and updates entries from a brief. You can &lt;a href="https://www.contentful.com/help/ai-automations/ai-actions/bring-your-own-model/" rel="noopener noreferrer"&gt;bring your own model&lt;/a&gt; via OpenAI, AWS Bedrock, Google Gemini, Google Vertex AI, Azure or any OpenAI-compatible endpoint. AI Actions can't generate images; for that, Contentful offers a separate &lt;a href="https://www.contentful.com/help/apps/ai-image-generator/" rel="noopener noreferrer"&gt;AI Image Generator app&lt;/a&gt; that uses DALL-E with your own OpenAI key.&lt;/p&gt;

&lt;p&gt;Entries stay drafts until someone publishes them, the agent asks for approval before it publishes, and automations can check AI output against the target field's rules if you turn that on.&lt;/p&gt;

&lt;p&gt;You'll only get AI Actions as an Enterprise add-on with metered credits. The Lite plan (about $300/month) doesn't include them, and Contentful is SaaS only.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.contentful.com/blog/remote-mcp-now-generally-available/" rel="noopener noreferrer"&gt;remote MCP server&lt;/a&gt; has been free and generally available since July 2026, and there's also a local MIT server. New entries are drafts, but agents can also publish them directly, limited by the user's permissions and an admin allow-list of tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Drupal: the most providers, but you assemble it yourself
&lt;/h2&gt;

&lt;p&gt;Drupal has the broadest AI ecosystem. The &lt;a href="https://www.drupal.org/project/ai" rel="noopener noreferrer"&gt;AI module&lt;/a&gt; bundles CKEditor AI, automators, a chatbot and observability, and supports &lt;a href="https://www.drupal.org/project/ai" rel="noopener noreferrer"&gt;95 AI providers&lt;/a&gt;, more than any other CMS here. &lt;a href="https://www.drupal.org/blog/drupal-cms-20-is-here-visual-building-ai-and-site-templates-transform-drupal" rel="noopener noreferrer"&gt;Drupal CMS 2.0&lt;/a&gt; adds optional page generation from prompts with Canvas agents. Everything is GPL and free.&lt;/p&gt;

&lt;p&gt;Drupal's revisions and Content Moderation apply to AI changes, too. Translations can be created as drafts.&lt;/p&gt;

&lt;p&gt;You have to combine several separate projects yourself, though. And &lt;a href="https://project.pages.drupalcode.org/canvas/ai-assistant/" rel="noopener noreferrer"&gt;Canvas' own docs&lt;/a&gt; warn that the AI can return invalid component IDs or enum values that cause render errors.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.drupal.org/project/mcp_server" rel="noopener noreferrer"&gt;MCP Server&lt;/a&gt; module is still in beta. Without a stable release, it isn't covered by Drupal security advisories.&lt;/p&gt;

&lt;h2&gt;
  
  
  PagibleAI: all AI features free, but Laravel only
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pagible.com" rel="noopener noreferrer"&gt;PagibleAI&lt;/a&gt; is an MIT-licensed CMS package for Laravel, and its AI features are part of the open source package: a chat that creates, refines and translates pages, page-wide refine prompts, text generation for any field, queued translation of whole pages, image generation and editing (repaint, inpaint, erase, remove background, uncrop, upscale), alt text and audio transcription.&lt;/p&gt;

&lt;p&gt;Every AI change is saved as a draft version you can diff in the history. Output is checked against the JSON schema that also defines the editor form, and the same schema lets you exclude fields from translation with &lt;code&gt;"translate": false&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Each task can use its own provider and model from &lt;a href="https://github.com/aimeos/prisma#supported-providers" rel="noopener noreferrer"&gt;64 providers&lt;/a&gt;, including Anthropic, OpenAI, Gemini, Mistral, Ollama and DeepL. There are no AI credits; you pay the providers directly. Switching a task to another provider takes two lines in your &lt;code&gt;.env&lt;/code&gt; file, plus the API key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;CMS_AI_WRITE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;anthropic
&lt;span class="nv"&gt;CMS_AI_WRITE_MODEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;claude-sonnet-5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It requires Laravel, though. It's also the youngest CMS here, with a smaller community and no plugin marketplace yet.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://pagible.com/configure-mcp" rel="noopener noreferrer"&gt;built-in MCP server&lt;/a&gt; has 47 tools, uses OAuth via Laravel Passport and checks the user's permissions on every call. Agent changes are saved as drafts, and only users with publish rights can put them live.&lt;/p&gt;

&lt;h2&gt;
  
  
  Payload: free core, closed Enterprise AI
&lt;/h2&gt;

&lt;p&gt;Payload is MIT-licensed and self-hosted, with drafts and versions in its open source core. Its first-party AI is part of &lt;a href="https://payloadcms.com/enterprise/enterprise-ai" rel="noopener noreferrer"&gt;Payload Enterprise&lt;/a&gt; and closed source: a writing assistant and auto-embedding for AI search, with AI translations and image generation marked as "coming soon".&lt;/p&gt;

&lt;p&gt;Without Enterprise, you depend on community plugins for AI. The AI code isn't public, and the docs don't say whether AI changes become drafts or are validated against your fields. Payload says the writing assistant works with "your preferred LLM", but doesn't document how you configure it.&lt;/p&gt;

&lt;p&gt;The official &lt;a href="https://payloadcms.com/docs/plugins/mcp" rel="noopener noreferrer"&gt;MCP plugin&lt;/a&gt; runs on your own server and respects Payload's access control. The docs don't say whether agents can publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sanity: schema-aware AI, but no model choice
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.sanity.io/docs/studio/ai-assist-content-translation" rel="noopener noreferrer"&gt;AI Assist&lt;/a&gt; handles field instructions, translation, image generation and alt text from the Growth plan ($15 per seat). &lt;a href="https://www.sanity.io/docs/agent-actions/introduction" rel="noopener noreferrer"&gt;Agent Actions&lt;/a&gt; (Generate, Transform, Translate, Prompt, Patch) and the chat-based &lt;a href="https://www.sanity.io/docs/content-agent/introduction" rel="noopener noreferrer"&gt;Content Agent&lt;/a&gt; are available on all plans, including Free, with 1,000 AI credits per month.&lt;/p&gt;

&lt;p&gt;Of the hosted options, Sanity keeps AI on the shortest leash. Agent Actions know your schema, and Content Agent stages edits as drafts or in a content release that a person publishes.&lt;/p&gt;

&lt;p&gt;You can't bring your own model for the built-in AI; Sanity picks it. Your own agents can only read content through &lt;a href="https://www.sanity.io/docs/ai/sanity-context" rel="noopener noreferrer"&gt;Sanity Context&lt;/a&gt;, generally available since November 2026, or write through the MCP server. Content lives in the proprietary Content Lake, and version history depends on the plan (3 days on Free, 90 on Growth).&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.sanity.io/docs/ai/mcp-server" rel="noopener noreferrer"&gt;hosted MCP server&lt;/a&gt; works within the user's role and writes into drafts or releases, and publishing is a separate tool call. Custom validation rules in your schema don't run for MCP writes, though.&lt;/p&gt;

&lt;h2&gt;
  
  
  Storyblok: free AI credits, approval for every agent write
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.storyblok.com/docs/manuals/ai-assistance" rel="noopener noreferrer"&gt;AI translations, alt text and content generation&lt;/a&gt; are included on all plans, even the free Starter plan with 25k credits. AI SEO needs Premium. &lt;a href="https://www.storyblok.com/docs/manuals/agents" rel="noopener noreferrer"&gt;Storyblok Agents&lt;/a&gt; (beta) run chat and scheduled tasks on Growth ($99/month) and up, and every write needs manual approval.&lt;/p&gt;

&lt;p&gt;There's no image generation. Your own AI provider requires the Elite plan, and version history covers 1 day on Starter and 30 days on Growth. Validation is partial: the Management API checks maximum lengths and block counts, but regex patterns only apply in the Visual Editor.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.storyblok.com/docs/tooling/mcp-server" rel="noopener noreferrer"&gt;hosted MCP server&lt;/a&gt; exposes the whole Management API through seven tools, with separate ones for reading, changing and deleting, and can publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  Strapi: free MCP, AI from the Growth plan
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.strapi.io/cms/ai/for-content-managers" rel="noopener noreferrer"&gt;Strapi AI&lt;/a&gt; offers a chat assistant in the Content-Type Builder, AI translations and AI metadata (alt text, captions). It needs the Growth license ($45/month for 3 users) with 1,000 credits per month. The Content-Type Builder assistant, which helps you design content models, is something I didn't find in the other seven.&lt;/p&gt;

&lt;p&gt;There's no writing assistant for content and no image generation. The Community edition has neither AI nor content history, and your own model requires the paid Strapi AI Enterprise add-on, which covers translations and media metadata only. If Draft &amp;amp; Publish is off, AI translations go live right away and overwrite manual edits in the target locale.&lt;/p&gt;

&lt;p&gt;Strapi 5.49 made its &lt;a href="https://strapi.io/blog/the-strapi-mcp-server-is-now-ga" rel="noopener noreferrer"&gt;built-in MCP server&lt;/a&gt; generally available on all plans. It's off by default and runs inside your instance. With Draft &amp;amp; Publish enabled, new entries land as drafts, and agents can publish them within the token owner's permissions.&lt;/p&gt;

&lt;h2&gt;
  
  
  WordPress: free AI plugin, one post at a time
&lt;/h2&gt;

&lt;p&gt;The official &lt;a href="https://make.wordpress.org/ai/2026/05/21/whats-new-in-ai-1-0-0/" rel="noopener noreferrer"&gt;AI plugin&lt;/a&gt; (formerly "AI Experiments") reached 1.0 in May 2026 and is at 1.5 now. It's free: image generation and editing is a stable feature, and 27 opt-in experiments add titles, excerpts, summaries, meta descriptions, alt text, translation, tag suggestions, comment moderation and more.&lt;/p&gt;

&lt;p&gt;You connect providers (Claude, Gemini, OpenAI and others) via connector plugins and can pin a model per feature in the advanced settings. Most features produce suggestions that a person applies. The exceptions are opt-in: Editorial Updates saves posts without a preview, and WebMCP lets agents publish.&lt;/p&gt;

&lt;p&gt;The features work on single fields and posts, not whole sites. Translation has been an experiment since 1.3; it translates a post's blocks and title, one post at a time in the editor. Generated texts aren't validated against blocks, and generated images go straight into the Media Library.&lt;/p&gt;

&lt;p&gt;The official &lt;a href="https://wordpress.org/plugins/mcp-adapter/" rel="noopener noreferrer"&gt;MCP Adapter&lt;/a&gt; plugin exposes nothing until plugins mark their abilities as public, so what agents can do depends on your plugins. The AI plugin's experiments expose its own abilities via MCP and let agents in the browser edit and publish posts via WebMCP. WordPress.com has a &lt;a href="https://wordpress.com/support/mcp/" rel="noopener noreferrer"&gt;hosted MCP server&lt;/a&gt; that can write and publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the others are ahead
&lt;/h2&gt;

&lt;p&gt;PagibleAI doesn't do everything. Here, the others go further:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Contentful runs AI Actions inside workflow automations and in bulk over many entries.&lt;/li&gt;
&lt;li&gt;Drupal has an AI chatbot for site visitors and logs all AI calls.&lt;/li&gt;
&lt;li&gt;Payload Enterprise creates embeddings for vector search automatically. PagibleAI's search is full-text only.&lt;/li&gt;
&lt;li&gt;Sanity is fully hosted, so there's nothing to install, update or scale.&lt;/li&gt;
&lt;li&gt;Storyblok agents can run scheduled tasks, and every agent write waits for your approval.&lt;/li&gt;
&lt;li&gt;Strapi has an AI assistant that designs content types for you. In PagibleAI, you write the &lt;code&gt;schema.json&lt;/code&gt; yourself.&lt;/li&gt;
&lt;li&gt;WordPress moderates comments and suggests tags with AI, and its plugin ecosystem is the largest by far.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Which one should you use?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If you're on WordPress, check whether the free AI plugin is enough. If it isn't, look at Drupal and PagibleAI.&lt;/li&gt;
&lt;li&gt;If you want a hosted CMS, Sanity has the strictest guardrails, with schema-checked AI output and drafts only, but you can't choose the model. Contentful sells AI Actions as an Enterprise add-on.&lt;/li&gt;
&lt;li&gt;If you want to pick your models freely, Drupal and PagibleAI support the most providers.&lt;/li&gt;
&lt;li&gt;If you work with Node.js, Strapi and Payload include MCP for free, but built-in AI needs Strapi Growth or Payload Enterprise.&lt;/li&gt;
&lt;li&gt;If you work with Laravel, PagibleAI is the only option here with built-in AI, and it's free. Statamic, also built on Laravel, needs third-party addons.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I compared
&lt;/h2&gt;

&lt;p&gt;I went through the official docs, changelogs and pricing pages of eight CMSs in November 2026. For WordPress (AI plugin 1.0), Strapi and PagibleAI, I also checked draft handling and validation in their source code. Drupal's Canvas docs already state that AI output isn't validated, so I skipped the source check there. Payload's AI is closed source, so its cells stay open. I didn't run paid Enterprise trials, so for those features I relied on the vendors' documentation.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Last updated: November 25, 2026&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Contentful: &lt;a href="https://www.contentful.com/pricing/" rel="noopener noreferrer"&gt;pricing&lt;/a&gt;, &lt;a href="https://www.contentful.com/help/ai-automations/ai-actions/" rel="noopener noreferrer"&gt;AI Actions&lt;/a&gt;, &lt;a href="https://www.contentful.com/help/ai-automations/ai-actions/bring-your-own-model/" rel="noopener noreferrer"&gt;bring your own model&lt;/a&gt;, &lt;a href="https://www.contentful.com/help/apps/ai-image-generator/" rel="noopener noreferrer"&gt;AI Image Generator&lt;/a&gt;, &lt;a href="https://www.contentful.com/blog/remote-mcp-now-generally-available/" rel="noopener noreferrer"&gt;remote MCP&lt;/a&gt;, &lt;a href="https://www.contentful.com/developers/changelog/content-operations-agent-is-now-generally-available/" rel="noopener noreferrer"&gt;Content Operations Agent&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Craft CMS: &lt;a href="https://craftcms.com/docs/5.x/system/mcp" rel="noopener noreferrer"&gt;MCP in 5.12&lt;/a&gt;, &lt;a href="https://github.com/craftcms/cms/releases/tag/6.0.0-beta.1" rel="noopener noreferrer"&gt;6.0 beta&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Drupal: &lt;a href="https://www.drupal.org/project/ai" rel="noopener noreferrer"&gt;AI module&lt;/a&gt;, &lt;a href="https://new.drupal.org/ai/about-drupal-ai/providers" rel="noopener noreferrer"&gt;providers&lt;/a&gt;, &lt;a href="https://project.pages.drupalcode.org/ai/1.2.x/developers/call_speech_to_text/" rel="noopener noreferrer"&gt;speech-to-text&lt;/a&gt;, &lt;a href="https://www.drupal.org/project/ai_translate" rel="noopener noreferrer"&gt;AI Translate&lt;/a&gt;, &lt;a href="https://www.drupal.org/blog/drupal-cms-20-is-here-visual-building-ai-and-site-templates-transform-drupal" rel="noopener noreferrer"&gt;Drupal CMS 2.0&lt;/a&gt;, &lt;a href="https://project.pages.drupalcode.org/canvas/ai-assistant/" rel="noopener noreferrer"&gt;Canvas AI&lt;/a&gt;, &lt;a href="https://www.drupal.org/project/mcp_server" rel="noopener noreferrer"&gt;MCP Server&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PagibleAI: &lt;a href="https://pagible.com" rel="noopener noreferrer"&gt;pagible.com&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;, &lt;a href="https://github.com/aimeos/prisma#supported-providers" rel="noopener noreferrer"&gt;Prisma providers&lt;/a&gt;, &lt;a href="https://pagible.com/configure-mcp" rel="noopener noreferrer"&gt;MCP setup&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/core/src/JsonSchema.php" rel="noopener noreferrer"&gt;JsonSchema.php&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/ai/src/Ai.php" rel="noopener noreferrer"&gt;Ai.php&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/core/src/Resource/Variants.php" rel="noopener noreferrer"&gt;Variants.php&lt;/a&gt;, &lt;a href="https://github.com/aimeos/pagible/blob/master/ai/src/GraphQL/Mutations/Imagine.php" rel="noopener noreferrer"&gt;Imagine.php&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Payload: &lt;a href="https://payloadcms.com/enterprise/enterprise-ai" rel="noopener noreferrer"&gt;Enterprise AI&lt;/a&gt;, &lt;a href="https://payloadcms.com/enterprise/ai-framework" rel="noopener noreferrer"&gt;AI framework&lt;/a&gt;, &lt;a href="https://payloadcms.com/docs/plugins/mcp" rel="noopener noreferrer"&gt;MCP plugin&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sanity: &lt;a href="https://www.sanity.io/pricing" rel="noopener noreferrer"&gt;pricing&lt;/a&gt;, &lt;a href="https://www.sanity.io/docs/agent-actions/introduction" rel="noopener noreferrer"&gt;Agent Actions&lt;/a&gt;, &lt;a href="https://www.sanity.io/docs/content-agent/introduction" rel="noopener noreferrer"&gt;Content Agent&lt;/a&gt;, &lt;a href="https://www.sanity.io/docs/ai/mcp-server" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt;, &lt;a href="https://www.sanity.io/docs/ai/sanity-context" rel="noopener noreferrer"&gt;Sanity Context&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Storyblok: &lt;a href="https://www.storyblok.com/pricing" rel="noopener noreferrer"&gt;pricing&lt;/a&gt;, &lt;a href="https://www.storyblok.com/docs/manuals/ai-assistance" rel="noopener noreferrer"&gt;AI assistance&lt;/a&gt;, &lt;a href="https://www.storyblok.com/docs/manuals/agents" rel="noopener noreferrer"&gt;Agents&lt;/a&gt;, &lt;a href="https://www.storyblok.com/docs/tooling/mcp-server" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt;, &lt;a href="https://www.storyblok.com/cl/we-re-enforcing-field-validation-rules-on-the-management-api" rel="noopener noreferrer"&gt;API validation&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Strapi: &lt;a href="https://docs.strapi.io/cms/ai/for-content-managers" rel="noopener noreferrer"&gt;AI&lt;/a&gt;, &lt;a href="https://strapi.io/pricing-self-hosted" rel="noopener noreferrer"&gt;pricing&lt;/a&gt;, &lt;a href="https://strapi.io/blog/the-strapi-mcp-server-is-now-ga" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt;, &lt;a href="https://docs.strapi.io/cms/features/strapi-mcp-server" rel="noopener noreferrer"&gt;MCP docs&lt;/a&gt;, &lt;a href="https://github.com/strapi/strapi/blob/develop/packages/plugins/i18n/server/src/services/ai-localizations.ts" rel="noopener noreferrer"&gt;ai-localizations.ts&lt;/a&gt;, &lt;a href="https://github.com/strapi/strapi/blob/develop/packages/core/core/src/services/entity-validator/validators.ts" rel="noopener noreferrer"&gt;validators.ts&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;WordPress: &lt;a href="https://make.wordpress.org/ai/2026/05/21/whats-new-in-ai-1-0-0/" rel="noopener noreferrer"&gt;AI plugin 1.0&lt;/a&gt;, &lt;a href="https://wordpress.org/plugins/ai/" rel="noopener noreferrer"&gt;AI plugin 1.5&lt;/a&gt;, &lt;a href="https://developer.wordpress.org/news/2026/02/from-abilities-to-ai-agents-introducing-the-wordpress-mcp-adapter/" rel="noopener noreferrer"&gt;MCP Adapter&lt;/a&gt;, &lt;a href="https://wordpress.com/support/mcp/" rel="noopener noreferrer"&gt;WordPress.com MCP&lt;/a&gt;, &lt;a href="https://github.com/WordPress/ai/blob/develop/includes/Abilities/Title_Generation/Title_Generation.php" rel="noopener noreferrer"&gt;Title_Generation.php&lt;/a&gt;, &lt;a href="https://github.com/WordPress/ai/blob/develop/includes/Abilities/Image/Import_Base64_Image.php" rel="noopener noreferrer"&gt;Import_Base64_Image.php&lt;/a&gt;, &lt;a href="https://github.com/WordPress/ai/blob/develop/src/experiments/alt-text-generation/bulk.ts" rel="noopener noreferrer"&gt;bulk.ts&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>cms</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Aimeos 2026.10: MCP tools for Laravel e-commerce</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Tue, 27 Oct 2026 13:03:34 +0000</pubDate>
      <link>https://dev.to/aimeos/aimeos-202610-mcp-tools-for-laravel-e-commerce-49lc</link>
      <guid>https://dev.to/aimeos/aimeos-202610-mcp-tools-for-laravel-e-commerce-49lc</guid>
      <description>&lt;p&gt;Aimeos is an open-source e-commerce framework for Laravel applications. Version 2026.10 adds MCP tools that let AI agents search products, update orders and manage customers in your shop.&lt;/p&gt;

&lt;p&gt;An agent could retrieve selected products, draft improved descriptions and save the changes after your approval. Aimeos provides the tools for reading and updating shop data; your integration handles the agent workflow and approval step.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's new
&lt;/h2&gt;

&lt;h3&gt;
  
  
  MCP tools for AI agents
&lt;/h3&gt;

&lt;p&gt;Model Context Protocol (MCP) gives AI applications a standard way to discover and call tools. The new &lt;code&gt;ai-admin-mcp&lt;/code&gt; extension provides tools for more than 20 shop domains, including products, categories, orders, customers and stock. Depending on the domain, agents can search and aggregate records, save and delete items, and change category trees.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aimeos/ai-admin-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each tool validates its arguments and checks permissions using the Aimeos context supplied by your integration. In &lt;code&gt;admin/mcp/resource&lt;/code&gt; you configure which user groups may call which tool.&lt;/p&gt;

&lt;p&gt;The package doesn't include an MCP transport or SDK. Each tool exposes an input schema and returns its results as PHP arrays.&lt;/p&gt;

&lt;p&gt;Your integration registers the tool definitions with an MCP server and routes calls to their execution methods. Expose only the tools you need. The &lt;a href="https://github.com/aimeos/ai-admin-mcp#readme" rel="noopener noreferrer"&gt;MCP package README&lt;/a&gt; shows how to retrieve the tool catalog, inspect definitions and execute calls.&lt;/p&gt;

&lt;h3&gt;
  
  
  WebMCP in the storefront
&lt;/h3&gt;

&lt;p&gt;WebMCP is a proposed browser standard that lets websites describe actions for AI agents. The Aimeos storefront now uses it on the forms for addresses, saved baskets, coupons and product watch lists. Browser agents that support WebMCP can fill these forms for the customer. Few browsers support it yet, and for regular visitors the forms work as before.&lt;/p&gt;

&lt;h3&gt;
  
  
  Choose an AI provider for each task
&lt;/h3&gt;

&lt;p&gt;In the admin backend, you can write and translate texts, generate images and remove image backgrounds with AI. In 2026.10, these features use &lt;a href="https://github.com/aimeos/prisma#readme" rel="noopener noreferrer"&gt;Prisma (&lt;code&gt;aimeos/prisma&lt;/code&gt;)&lt;/a&gt;, our PHP library for AI providers. You can configure a different provider and model for each task. Switching providers later is a configuration change.&lt;/p&gt;

&lt;h3&gt;
  
  
  Imports and exports
&lt;/h3&gt;

&lt;p&gt;Customer, product, category and supplier imports can combine file data with configured values. For example, set a fixed &lt;code&gt;product.status&lt;/code&gt; in the import mapping and omit the repetitive status column from your CSV.&lt;/p&gt;

&lt;p&gt;Order, product and subscription exports can be extended with project-specific data before the files are written, for example fields your ERP or CRM system expects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Framework support
&lt;/h3&gt;

&lt;p&gt;Laravel 10 to 13 remain supported, Symfony 8 and TYPO3 14 are now supported too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Security hardening
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Customer password hashes are excluded from loaded customer items and API responses. Admin APIs apply tighter checks to shared items and customer group assignments.&lt;/li&gt;
&lt;li&gt;HTML sanitization and output encoding strengthen XSS protection. Remote image and CMS media fetching blocks internal addresses to protect against SSRF.&lt;/li&gt;
&lt;li&gt;Checkout steps require POST requests. Guest orders can't be linked to existing accounts by e-mail, and site settings can't overwrite internal configuration keys.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For published vulnerabilities and affected versions, see the &lt;a href="https://github.com/aimeos/aimeos-core/security/advisories" rel="noopener noreferrer"&gt;core security advisories&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Aimeos fits into your application
&lt;/h2&gt;

&lt;p&gt;You can install Aimeos (LGPLv3) into an existing Laravel application as a Composer package. It uses your routes, middleware, authentication, queues and Blade views.&lt;/p&gt;

&lt;p&gt;Use the JSON:API for a custom frontend, or start with the server-rendered HTML components included with Aimeos. GraphQL and now MCP cover administration.&lt;/p&gt;

&lt;p&gt;Aimeos is multi-vendor, multi-language, and multi-currency capable so you can run several shops with their own catalogs, prices, languages and currencies.&lt;/p&gt;

&lt;p&gt;Aimeos is self-hosted, so you control your shop database and hosting, with no Aimeos fees per transaction. Data sent to external AI services depends on the provider and features you configure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get started
&lt;/h2&gt;

&lt;p&gt;You can install different packages, depending on your needs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Full shop system&lt;/span&gt;
composer create-project aimeos/aimeos

&lt;span class="c"&gt;# Headless API&lt;/span&gt;
composer create-project aimeos/aimeos-headless

&lt;span class="c"&gt;# Laravel package only&lt;/span&gt;
composer require aimeos/aimeos-laravel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;New to Aimeos?&lt;/strong&gt; Follow the &lt;a href="https://aimeos.org/docs/latest/laravel/setup/" rel="noopener noreferrer"&gt;Laravel setup guide&lt;/a&gt; or explore the &lt;a href="https://demo.aimeos.org" rel="noopener noreferrer"&gt;demo shop&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Upgrading an existing shop?&lt;/strong&gt; Read the &lt;a href="https://aimeos.org/docs/latest/laravel/setup/#upgrade" rel="noopener noreferrer"&gt;upgrade guidance&lt;/a&gt; before updating your dependencies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Building an agent integration?&lt;/strong&gt; Install &lt;code&gt;aimeos/ai-admin-mcp&lt;/code&gt; and use the &lt;a href="https://github.com/aimeos/ai-admin-mcp#readme" rel="noopener noreferrer"&gt;tool catalog example&lt;/a&gt; to connect the tools to your MCP server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can find the application source on &lt;a href="https://github.com/aimeos/aimeos" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you like Aimeos, give it a star! :-)&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>PagibleAI CMS 0.13: Review with AI, publish with confidence</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Mon, 19 Oct 2026 09:11:04 +0000</pubDate>
      <link>https://dev.to/aimeos/pagibleai-cms-013-review-with-ai-publish-with-confidence-12c3</link>
      <guid>https://dev.to/aimeos/pagibleai-cms-013-review-with-ai-publish-with-confidence-12c3</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/aimeos/pagible" rel="noopener noreferrer"&gt;PagibleAI&lt;/a&gt; is an MIT-licensed CMS for Laravel with visual editing, versioned content, and APIs for headless frontends and AI agents. It runs on PHP 8.2+ with Laravel 11, 12 or 13.&lt;/p&gt;

&lt;p&gt;PagibleAI 0.13 helps you review content before publishing and keep connected systems updated afterwards. Ask the AI assistant to check a page, inspect its changes in the history, and publish when you're ready. Optional webhook and CDN packages notify your integrations and purge affected URLs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8nt44z8ga9fnfr2141h5.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8nt44z8ga9fnfr2141h5.gif" alt=" " width="600" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Review a page before publishing
&lt;/h2&gt;

&lt;p&gt;Version 0.13 teaches the AI assistant built-in SEO rules for page reviews. Just click on the magic AI button and the assistant checks heading structure, meta description, canonical and robots settings, broken links and more. It explains what it found and you can then ask it in the chat to apply all suggestions or parts of it to the draft before you publish.&lt;/p&gt;

&lt;p&gt;Before publishing, open the redesigned history dialog. Large text diffs collapse to the changed passages, and unpublished versions are marked clearly, so you see exactly what the AI and your colleagues changed.&lt;/p&gt;

&lt;p&gt;To enable the chat, set its provider and API key with &lt;code&gt;CMS_AI_WRITE&lt;/code&gt; and &lt;code&gt;CMS_AI_WRITE_API_KEY&lt;/code&gt;, as described in the &lt;a href="https://github.com/aimeos/pagible#configuration" rel="noopener noreferrer"&gt;AI configuration guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Edit without losing your place
&lt;/h2&gt;

&lt;p&gt;Visual editing now opens content fields in a sidebar next to the preview. Change a headline while its layout stays visible, then check desktop, tablet and phone sizes. The element picker adds search, group tabs and descriptions.&lt;/p&gt;

&lt;p&gt;Press &lt;code&gt;Ctrl/Cmd+K&lt;/code&gt; to jump to a page, element, file or action with the new command palette. &lt;code&gt;Ctrl/Cmd+S&lt;/code&gt; saves; &lt;code&gt;Ctrl/Cmd+Shift+S&lt;/code&gt; opens the publishing menu.&lt;/p&gt;

&lt;h2&gt;
  
  
  Trigger integrations with signed webhooks
&lt;/h2&gt;

&lt;p&gt;Publishing often starts another task: updating a search service, rebuilding a static frontend, or sending content to another channel.&lt;/p&gt;

&lt;p&gt;The optional &lt;a href="https://github.com/aimeos/pagible/blob/master/webhooks/README.md" rel="noopener noreferrer"&gt;&lt;code&gt;aimeos/pagible-webhooks&lt;/code&gt; package&lt;/a&gt; sends tenant-scoped notifications through Laravel's queue when pages, elements or files are published, deleted, restored or purged, and when pages are moved (&lt;code&gt;page.published&lt;/code&gt;, &lt;code&gt;element.deleted&lt;/code&gt;, &lt;code&gt;file.purged&lt;/code&gt; and so on).&lt;/p&gt;

&lt;p&gt;Each notification identifies what changed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"event"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"page.published"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"tenant_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"tenant"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-09-14T12:00:00.000+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"01995d6a-cb84-7218-9bb9-79063c4bf681"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"version_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"01995d6a-cb84-7218-9bb9-79063c4bf682"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"products/example"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"example.com"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Requests use Standard Webhooks signatures. The &lt;a href="https://github.com/aimeos/pagible/blob/master/webhooks/README.md#verifying-requests" rel="noopener noreferrer"&gt;webhook verification guide&lt;/a&gt; provides a complete Laravel receiver covering signature and timestamp checks, duplicate deliveries and queued processing. For a search integration, your job fetches the current content to update the external index, or removes an entry when content is deleted.&lt;/p&gt;

&lt;p&gt;Manage and test subscriptions in the admin panel. Temporary failures trigger retries with increasing backoff, while terminal responses such as 404 stop delivery.&lt;/p&gt;

&lt;p&gt;Run this check during deployment to validate endpoint settings, deny-list entries, queue timing and cache configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan cms:webhooks:check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The command also warns about subscription secrets that can no longer be decrypted.&lt;/p&gt;

&lt;h2&gt;
  
  
  Purge CDN caches when content changes
&lt;/h2&gt;

&lt;p&gt;When you correct a price or headline, your CDN needs to stop serving the old copy.&lt;/p&gt;

&lt;p&gt;The optional &lt;a href="https://github.com/aimeos/pagible/blob/master/cdn/README.md" rel="noopener noreferrer"&gt;&lt;code&gt;aimeos/pagible-cdn&lt;/code&gt; package&lt;/a&gt; purges Cloudflare, Fastly and Varnish automatically.&lt;/p&gt;

&lt;p&gt;With your provider configured and queue workers running, the package purges affected page URLs and public files removed from storage through queued jobs. Publishing a URL change queues purges for both the old and new address.&lt;/p&gt;

&lt;p&gt;For Cloudflare, configure your token and zone, then choose how long public pages may stay cached:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;CMS_CDN_CLOUDFLARE_TOKEN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;...
&lt;span class="nv"&gt;CMS_CDN_CLOUDFLARE_ZONE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;...
&lt;span class="nv"&gt;CMS_CDN_MAXAGE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;86400
&lt;span class="nv"&gt;CMS_CDN_STALE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;60
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;CMS_CDN_MAXAGE=86400&lt;/code&gt; lets the CDN cache public pages for a day. &lt;code&gt;CMS_CDN_STALE=60&lt;/code&gt; allows a stale copy for up to a minute while refreshing it or if your server is unavailable.&lt;/p&gt;

&lt;p&gt;Pages that only show a changed navigation entry stay cached until they expire, so pick a lifetime your site can live with.&lt;/p&gt;

&lt;p&gt;PagibleAI also caches complete public pages in Laravel's cache, a separate layer from the CDN. The admin panel's "Clear cache" action clears a page and its subpages from the application cache and, with the CDN package configured, queues their CDN purges too. After a theme change, you can purge all CDN content:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan cms:cdn:purge &lt;span class="nt"&gt;--all&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Catch content errors before submitting updates
&lt;/h2&gt;

&lt;p&gt;The new &lt;a href="https://github.com/aimeos/pagible/blob/master/jsonapi/README.md" rel="noopener noreferrer"&gt;content schema endpoint&lt;/a&gt; in 0.13 lets your frontend, form builder or AI agent read registered content, metadata and configuration definitions, including those added by themes and extensions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;GET /cms/schema
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The endpoint returns a JSON Schema Draft 2020-12 document. This excerpt shows the required &lt;code&gt;title&lt;/code&gt; field inside a hero element's &lt;code&gt;data&lt;/code&gt; object:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"properties"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"minLength"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"required"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A missing &lt;code&gt;title&lt;/code&gt; or an empty string fails validation before your integration submits the update.&lt;/p&gt;

&lt;p&gt;Use a Draft 2020-12 validator to check the full &lt;code&gt;content&lt;/code&gt;, &lt;code&gt;meta&lt;/code&gt; and &lt;code&gt;config&lt;/code&gt; object, or select an individual element definition. Write changes through GraphQL or MCP.&lt;/p&gt;

&lt;h2&gt;
  
  
  Import content from TYPO3 and WordPress
&lt;/h2&gt;

&lt;p&gt;A new TYPO3 importer brings pages, content and files over to Laravel, preserving the page tree.&lt;/p&gt;

&lt;p&gt;Re-importing the same domain and post slug with the WordPress importer now updates and republishes the existing article instead of creating a duplicate. Each run publishes the imported changes and preserves publication dates and cover images.&lt;/p&gt;

&lt;p&gt;Both importers are available through the optional &lt;code&gt;aimeos/pagible-import&lt;/code&gt; package. They read directly from the source database, configured as a Laravel database connection:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan cms:t3-import &lt;span class="nt"&gt;--connection&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;typo3 &lt;span class="nt"&gt;--file-base&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://example.com/fileadmin
php artisan cms:wp-import &lt;span class="nt"&gt;--connection&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;wordpress &lt;span class="nt"&gt;--domain&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  More in this release
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AI agents:&lt;/strong&gt; Claude Code, Cursor and other MCP clients can manage pages through the built-in MCP server. Its tools now accept base64 file uploads, so your agent can attach a file without hosting it at a public URL first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Themes:&lt;/strong&gt; Taste and News add layouts for restaurants and publishers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content elements:&lt;/strong&gt; New maps, call-to-action blocks and configurable contact forms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Images:&lt;/strong&gt; Smaller preview images for mobile devices, and &lt;code&gt;php artisan cms:previews&lt;/code&gt; regenerates previews for existing images.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install or upgrade
&lt;/h2&gt;

&lt;p&gt;Add the CMS to your Laravel application with the &lt;a href="https://pagible.com/install-pagibleai-cms" rel="noopener noreferrer"&gt;PagibleAI installation guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Already using PagibleAI? Review the &lt;a href="https://pagible.com/upgrade-pagibleai-cms" rel="noopener noreferrer"&gt;PagibleAI upgrade guide&lt;/a&gt; before updating your application.&lt;/p&gt;

&lt;p&gt;The webhooks and CDN integrations are separate packages you add when you need them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aimeos/pagible-webhooks aimeos/pagible-cdn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When an editor publishes a change, which systems does your application need to update?&lt;/p&gt;

&lt;p&gt;If you like PagibleAI CMS, give it a star :-)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>laravel</category>
      <category>opensource</category>
      <category>php</category>
    </item>
    <item>
      <title>The Best Laravel CMS: PagibleAI vs Statamic vs October CMS</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Fri, 31 Jul 2026 12:37:43 +0000</pubDate>
      <link>https://dev.to/aimeos/the-best-laravel-cms-pagibleai-vs-statamic-vs-october-cms-2c58</link>
      <guid>https://dev.to/aimeos/the-best-laravel-cms-pagibleai-vs-statamic-vs-october-cms-2c58</guid>
      <description>&lt;p&gt;Using Laravel internally does not make a CMS a natural fit for every Laravel application. The integration model matters more.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pagible.com/laravel-cms" rel="noopener noreferrer"&gt;PagibleAI&lt;/a&gt;, &lt;a href="https://statamic.com/features" rel="noopener noreferrer"&gt;Statamic&lt;/a&gt; and &lt;a href="https://octobercms.com/features" rel="noopener noreferrer"&gt;October CMS&lt;/a&gt; all use Laravel, but they ask developers to work in different ways.&lt;/p&gt;

&lt;p&gt;Statamic is a content-first CMS centered on flat-file and Git workflows. October CMS is a website platform built around Twig, themes and plugins. PagibleAI is a modular CMS package designed to live inside an existing Laravel application.&lt;/p&gt;

&lt;p&gt;For a content-led marketing site, that difference may be small. For a SaaS product, customer portal, marketplace or multi-tenant application, it can determine whether the CMS simplifies the architecture or becomes another architecture beside it.&lt;/p&gt;

&lt;p&gt;For projects where Laravel is the product rather than an implementation detail, PagibleAI is often the most direct fit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture at a glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Decision&lt;/th&gt;
&lt;th&gt;PagibleAI&lt;/th&gt;
&lt;th&gt;Statamic&lt;/th&gt;
&lt;th&gt;October CMS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Product shape&lt;/td&gt;
&lt;td&gt;Composer package inside a Laravel app&lt;/td&gt;
&lt;td&gt;Full Laravel CMS, installable standalone or into Laravel&lt;/td&gt;
&lt;td&gt;Full CMS platform built on Laravel&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Default content model&lt;/td&gt;
&lt;td&gt;Database-backed Eloquent models&lt;/td&gt;
&lt;td&gt;Flat files, with database options available&lt;/td&gt;
&lt;td&gt;Database-backed Tailor records and plugin models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frontend choices&lt;/td&gt;
&lt;td&gt;Blade themes or read-only JSON:API&lt;/td&gt;
&lt;td&gt;Antlers/Blade or paid Pro REST and GraphQL APIs&lt;/td&gt;
&lt;td&gt;Twig themes; custom APIs through CMS pages or PHP routes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Publishing&lt;/td&gt;
&lt;td&gt;Drafts, immutable versions, history and scheduling&lt;/td&gt;
&lt;td&gt;Revisions, drafts and history in paid Pro&lt;/td&gt;
&lt;td&gt;Tailor entries support drafts; wider workflows are project-specific&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Automation&lt;/td&gt;
&lt;td&gt;Built-in editorial AI and 33 MCP tools&lt;/td&gt;
&lt;td&gt;Addons and custom Laravel integrations&lt;/td&gt;
&lt;td&gt;Plugins plus AI-oriented developer tooling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Licensing&lt;/td&gt;
&lt;td&gt;MIT, no per-site fee&lt;/td&gt;
&lt;td&gt;Free Core; paid Pro required for teams, revisions, multisite and headless&lt;/td&gt;
&lt;td&gt;A production license is required; one complimentary license is available&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best fit&lt;/td&gt;
&lt;td&gt;Laravel products that need an integrated CMS&lt;/td&gt;
&lt;td&gt;Content-centric sites and Git-first teams&lt;/td&gt;
&lt;td&gt;Theme- and plugin-driven website development&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The relevant question is how closely those defaults match the application you intend to maintain.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding the CMS to a Laravel application
&lt;/h2&gt;

&lt;p&gt;PagibleAI installs with Composer and two Artisan commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aimeos/pagible
php artisan cms:install
php artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It uses the Laravel application you already have: its service container, database connections, Eloquent models, authentication, middleware, cache, filesystem and deployment process. The CMS does not require a separate content service or a parallel user system.&lt;/p&gt;

&lt;p&gt;Its core records, including pages, reusable elements, files and versions, are normal Eloquent models. CMS content can therefore participate in the rest of the product.&lt;/p&gt;

&lt;p&gt;Because &lt;code&gt;Page&lt;/code&gt; is an Eloquent model, a controller can retrieve CMS content with ordinary Laravel code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Cms\Models\Page&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$page&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Page&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;query&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'path'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'account/help'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'status'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'&amp;gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;access&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;request&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;user&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;firstOrFail&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;view&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'account.help'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;compact&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'page'&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model's global scope selects the active tenant, while &lt;code&gt;access()&lt;/code&gt; applies the visitor's page-access rules. Product plans, middleware and application events can interact with the same model. There is no client SDK or synchronization layer between the CMS and the application.&lt;/p&gt;

&lt;p&gt;Statamic can also be &lt;a href="https://statamic.dev/installing/laravel" rel="noopener noreferrer"&gt;installed into an existing Laravel application&lt;/a&gt;. Its documentation explains that the package installation begins without the content and views supplied by a standard Statamic site, and that content remains flat-file by default. That works when content belongs in Git. It is less natural when content belongs to database-backed product workflows.&lt;/p&gt;

&lt;p&gt;October CMS takes a different approach. Its plugin system introduces October-specific conventions: plugin registration files, CMS components, backend controllers, Twig themes and its own extension lifecycle. The team is building an October application powered by Laravel, rather than adding a CMS-shaped module to an otherwise conventional Laravel product.&lt;/p&gt;

&lt;h2&gt;
  
  
  Content storage and versions
&lt;/h2&gt;

&lt;p&gt;Statamic's flat-file model puts content and configuration in Git, where they can be reviewed in pull requests and deployed with code. That workflow suits documentation sites and developer-led publications.&lt;/p&gt;

&lt;p&gt;That model is a less direct fit when editors publish continuously, many tenants share an installation, or content is related to application data.&lt;/p&gt;

&lt;p&gt;PagibleAI stores structured content in the database and gives every CMS model a tenant boundary. Editors work on the latest version while visitors receive the published version. Each save creates an immutable snapshot, making comparison, restoration and scheduling parts of the same data model.&lt;/p&gt;

&lt;p&gt;The database-first design supports SQLite, MySQL, MariaDB, PostgreSQL and SQL Server. PagibleAI's Laravel Scout integration uses each database's full-text search facility, so a project can begin without a separate search service.&lt;/p&gt;

&lt;p&gt;October CMS also uses database content. Its &lt;a href="https://docs.octobercms.com/4.x/cms/tailor/introduction.html" rel="noopener noreferrer"&gt;Tailor&lt;/a&gt; feature turns YAML blueprints into backend forms and database tables, and its plugin models are based on Eloquent. October fits projects where those blueprints, backend screens and website components define the application. PagibleAI fits cases where CMS content must coexist with an application whose domain model already exists.&lt;/p&gt;

&lt;h2&gt;
  
  
  Editorial and public APIs
&lt;/h2&gt;

&lt;p&gt;PagibleAI separates editorial operations from public delivery.&lt;/p&gt;

&lt;p&gt;Its Lighthouse-based GraphQL API serves the Vue administration interface and custom management tools. Its public JSON:API is read-only and returns published content to SPAs, mobile apps, static-site generators or other services. Blade remains available when server-rendered pages are the simpler answer.&lt;/p&gt;

&lt;p&gt;A public frontend does not need administrative mutations, while an editorial client is not constrained by an API designed for anonymous traffic. Both APIs use the same content, permissions and publication state.&lt;/p&gt;

&lt;p&gt;Statamic provides REST and GraphQL APIs, but they are &lt;a href="https://statamic.dev/frontend/rest-api" rel="noopener noreferrer"&gt;Statamic Pro features&lt;/a&gt;. As of July 2026, Statamic lists Pro at &lt;a href="https://statamic.com/pricing" rel="noopener noreferrer"&gt;$349 per site, including one year of updates&lt;/a&gt;, with subsequent updates priced separately. The license also covers its control panel, developer support and additional Pro features. Headless delivery, multiple editors, revisions and multisite support therefore belong to the commercial decision.&lt;/p&gt;

&lt;p&gt;October CMS documents how to &lt;a href="https://docs.octobercms.com/4.x/cms/resources/building-apis.html" rel="noopener noreferrer"&gt;build API endpoints&lt;/a&gt; with CMS pages or PHP routes. This leaves more of the public content contract to the project. PagibleAI provides a standardized, read-only content API from the start.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI and MCP permissions
&lt;/h2&gt;

&lt;p&gt;AI-assisted editing is useful only when generated changes follow the same permissions, tenant boundaries and publication rules as changes made by an editor.&lt;/p&gt;

&lt;p&gt;PagibleAI includes tools for drafting and refining text, generating and editing images, transcription, translation and SEO assistance. These features are optional: the CMS works without configuring a model provider.&lt;/p&gt;

&lt;p&gt;PagibleAI also exposes &lt;a href="https://pagible.com/configure-mcp" rel="noopener noreferrer"&gt;33 content-management tools through MCP&lt;/a&gt;. An authorized assistant can search pages, inspect the page tree, create a draft, update reusable elements, manage media, translate content and schedule publication.&lt;/p&gt;

&lt;p&gt;Each MCP operation uses the authenticated user's permissions and tenant. Changes create drafts, publication remains explicit and version history provides recovery. The MCP client uses the existing publishing system rather than writing around it.&lt;/p&gt;

&lt;p&gt;Statamic and October CMS can both be connected to AI services through addons or custom Laravel code. October 4.3 also introduced AI-oriented development tooling. The difference is that editorial AI and assistant-driven CMS operations are part of PagibleAI's core product design.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment
&lt;/h2&gt;

&lt;p&gt;PagibleAI follows Laravel's contracts for storage, caching, queues and broadcasting. A local installation can use SQLite and local files; production can move media to object storage, locks and caching to Redis, and jobs to dedicated workers without changing the content model.&lt;/p&gt;

&lt;p&gt;Existing Laravel monitoring, backups and deployment practices still apply. PagibleAI also supports Octane workers, tenant-scoped content, multiple page trees and domains, endpoint rate limits and content sanitization. These features become relevant as an installation grows beyond one site.&lt;/p&gt;

&lt;h2&gt;
  
  
  Statamic and October CMS
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Statamic: Git-centered content with Pro licensing
&lt;/h3&gt;

&lt;p&gt;Statamic combines flat-file content, a control panel, configurable field types, live preview and Git automation. This suits documentation, publications and marketing sites where developers review content in Git. Pro editon adds developer support and access to its addon ecosystem.&lt;/p&gt;

&lt;p&gt;The flat-file default fits database-backed, multi-tenant products less naturally, and installation inside an existing Laravel app needs extra setup. Multiple users, roles, revisions, multilingual and multisite support, REST and GraphQL require the &lt;a href="https://statamic.com/pricing" rel="noopener noreferrer"&gt;$349-per-site Pro edition&lt;/a&gt;. That adds cost when the application only needs an integrated CMS module.&lt;/p&gt;

&lt;h3&gt;
  
  
  October CMS: a site platform with its own conventions
&lt;/h3&gt;

&lt;p&gt;October CMS combines Twig themes, CMS components, Tailor blueprints and a plugin marketplace. It supports structured content, custom backend screens and Eloquent-based models for custom PHP. Its production license includes platform support.&lt;/p&gt;

&lt;p&gt;Adopting October means adopting its plugin lifecycle, backend controllers and Twig conventions. Public API endpoints are project code rather than a standardized content-delivery API. Each website needs a &lt;a href="https://octobercms.com/pricing" rel="noopener noreferrer"&gt;production license&lt;/a&gt; after the complimentary license, and continued updates require annual renewal. It fits projects built around October more directly than existing Laravel products needing a CMS module.&lt;/p&gt;

&lt;h2&gt;
  
  
  When PagibleAI fits
&lt;/h2&gt;

&lt;p&gt;PagibleAI keeps the CMS inside the Laravel application. It supplies structured content, media, page trees, versions, permissions, scheduling, search, delivery APIs and editorial automation. The application retains its domain rules, users, infrastructure and deployment, without a per-site CMS fee or mandatory frontend framework.&lt;/p&gt;

&lt;p&gt;This model suits SaaS products with customer-specific content, marketplaces and portals that connect editorial content to application data, and agencies running several sites or domains from one installation. The same published content can serve Blade templates, web applications and mobile clients. AI-assisted editing remains subject to the ordinary publishing controls.&lt;/p&gt;

&lt;p&gt;Statamic fits Git-centered content projects, while October CMS fits projects built around its website platform. PagibleAI fits teams that want the CMS to remain a Laravel component.&lt;/p&gt;

&lt;p&gt;For developers who already use Laravel as the product foundation, &lt;a href="https://pagible.com" rel="noopener noreferrer"&gt;PagibleAI CMS&lt;/a&gt; is the most direct option of the three. The &lt;a href="https://github.com/aimeos/pagible" rel="noopener noreferrer"&gt;PagibleAI source code&lt;/a&gt; and &lt;a href="https://pagible.com/laravel-cms" rel="noopener noreferrer"&gt;Laravel CMS installation guide&lt;/a&gt; cover the next steps.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>cms</category>
      <category>opensource</category>
    </item>
    <item>
      <title>PagibleAI: A Cloud-Native Laravel CMS, Not Just a Container</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Thu, 23 Jul 2026 12:09:18 +0000</pubDate>
      <link>https://dev.to/aimeos/pagibleai-a-cloud-native-laravel-cms-not-just-a-container-c29</link>
      <guid>https://dev.to/aimeos/pagibleai-a-cloud-native-laravel-cms-not-just-a-container-c29</guid>
      <description>&lt;p&gt;A container changes how software is packaged. It says little about where that software keeps state or how it behaves when another instance comes online.&lt;/p&gt;

&lt;p&gt;A CMS that writes uploads to local disk, caches pages inside one process and runs background work during web requests is still tied to one machine, however neatly it has been containerized.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.cncf.io/about/who-we-are/" rel="noopener noreferrer"&gt;Cloud Native Computing Foundation&lt;/a&gt; defines cloud-native systems in terms of scalability, loose coupling, resilience, manageability and observability. It cites containers and microservices among the techniques used to achieve those properties.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pagible.com/cloud-native-cms" rel="noopener noreferrer"&gt;PagibleAI CMS&lt;/a&gt; follows that model through Laravel's infrastructure contracts. Database connections, filesystem disks, cache stores, queues and broadcasting form the boundary between the CMS and the machine running it.&lt;/p&gt;

&lt;p&gt;A site can begin with SQLite and local files, then move to replicated application nodes, a managed database, object storage, shared cache and independent queue workers without altering its content model.&lt;/p&gt;

&lt;p&gt;“Fully cloud-native” here means that the CMS has no architectural dependency on a particular web server. Kubernetes is one possible runtime, not a requirement.&lt;/p&gt;

&lt;h2&gt;
  
  
  One application, one operating model
&lt;/h2&gt;

&lt;p&gt;PagibleAI installs as a Composer package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aimeos/pagible
php artisan cms:install
php artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Installation turns an existing Laravel application into the CMS. It does not introduce a separate content service with its own authentication, deployment and monitoring model.&lt;/p&gt;

&lt;p&gt;PagibleAI uses the application's service container, Eloquent connections, authentication, middleware, filesystem disks, cache stores, queues and logging channels. Development and operations stay within the Laravel stack.&lt;/p&gt;

&lt;p&gt;Laravel serves as both the framework beneath the admin panel and the infrastructure abstraction layer.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Clients → CDN → Load balancer → Laravel replicas
                                  ├── Managed database
                                  ├── Redis cache and locks
                                  ├── Object storage
                                  └── Queue broker → workers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The same topology can run on AWS, Google Cloud, Azure, Kubernetes, conventional virtual machines or a managed Laravel platform. Provider-specific details remain in Laravel's configuration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Durable state stays off the web node
&lt;/h2&gt;

&lt;p&gt;Horizontal replication only works when the next request can land on any node. PagibleAI keeps durable state in shared infrastructure rather than in the web process.&lt;/p&gt;

&lt;h3&gt;
  
  
  Content in the database
&lt;/h3&gt;

&lt;p&gt;Pages, reusable elements, files and versions are Eloquent models. PagibleAI supports SQLite for a compact local installation and MySQL, MariaDB, PostgreSQL or SQL Server for production deployments.&lt;/p&gt;

&lt;p&gt;Every edit creates an immutable version snapshot. Editors work against the latest version while visitors receive the published one. Any replica can serve either view because the database, rather than the PHP process, owns that state. Laravel's read/write connections can place a managed primary and replicas behind the same CMS connection without introducing another database layer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Media on a filesystem disk
&lt;/h3&gt;

&lt;p&gt;PagibleAI sends uploads through Laravel's filesystem abstraction. The default public disk is convenient on a laptop, while &lt;code&gt;CMS_DISK=s3&lt;/code&gt; can move the same media operations to Amazon S3 or another S3-compatible service. Laravel's &lt;a href="https://laravel.com/docs/13.x/filesystem" rel="noopener noreferrer"&gt;filesystem drivers&lt;/a&gt; also cover services such as Cloudflare R2, MinIO and DigitalOcean Spaces.&lt;/p&gt;

&lt;p&gt;Uploaded media is then independent of the web-container lifecycle. Replacement nodes need no copied volume, and a CDN can serve files without routing every byte through PHP.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cache and coordination
&lt;/h3&gt;

&lt;p&gt;PagibleAI's public page cache stores complete HTML responses. In a multi-node deployment, that cache moves from the default file store to a shared, lock-capable store such as Redis.&lt;/p&gt;

&lt;p&gt;The lock matters as much as the cached HTML. When a popular page expires, one renderer acquires the lease. Other requests can receive the stale entry during a short revalidation window instead of repeating the same query and rendering work across every replica.&lt;/p&gt;

&lt;p&gt;Fresh responses carry shared-cache directives such as &lt;code&gt;s-maxage&lt;/code&gt;, allowing a CDN to absorb public traffic before it reaches the application. Requests with a Laravel session or an &lt;code&gt;Authorization&lt;/code&gt; header bypass the public cache, so authenticated content is not accidentally promoted to a shared response.&lt;/p&gt;

&lt;p&gt;After a publication, deletion or access change commits, PagibleAI queues targeted invalidation work. If that job is delayed, the configured cache lifetime determines how long an old response can remain available.&lt;/p&gt;

&lt;h2&gt;
  
  
  Commit first, then distribute
&lt;/h2&gt;

&lt;p&gt;Database writes and distributed side effects fail independently. An event emitted before commit may describe a change that later rolls back; a cache or search job may run after a temporary queue failure.&lt;/p&gt;

&lt;p&gt;PagibleAI starts these side effects after the database transaction commits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search reconciliation is dispatched only after the content transaction succeeds.&lt;/li&gt;
&lt;li&gt;Rendered-page invalidation is requested after commit and handled by a queue worker.&lt;/li&gt;
&lt;li&gt;Collaboration events are emitted after commit, so another editor never receives a change that the database later rejects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Clients, caches and search indexes therefore do not observe writes that the database later rejects.&lt;/p&gt;

&lt;p&gt;The jobs use Laravel's &lt;a href="https://laravel.com/docs/13.x/queues" rel="noopener noreferrer"&gt;queue contract&lt;/a&gt;, so production can use Redis or Amazon SQS while development stays on a simpler connection. Workers scale independently from the web tier, with Laravel supplying retries, failed-job handling, supervision and deployment restarts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built-in search, external engine optional
&lt;/h2&gt;

&lt;p&gt;PagibleAI's &lt;a href="https://github.com/aimeos/pagible/blob/master/search/src/Scout/CmsEngine.php" rel="noopener noreferrer"&gt;Laravel Scout engine&lt;/a&gt; uses the full-text facilities already present in the selected database:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;FTS5 on SQLite&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;MATCH ... AGAINST&lt;/code&gt; on MySQL and MariaDB&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tsvector&lt;/code&gt; on PostgreSQL&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;CONTAINSTABLE&lt;/code&gt; on SQL Server&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Draft and published content receive separate index rows, preserving the same visibility boundary used by the CMS.&lt;/p&gt;

&lt;p&gt;The first production deployment therefore needs no separate search cluster. If a later workload justifies an external engine, Laravel Scout remains the extension point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Headless and server-rendered delivery
&lt;/h2&gt;

&lt;p&gt;Content is available through three delivery surfaces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A GraphQL administration API, used by the Vue editor and available to custom tools&lt;/li&gt;
&lt;li&gt;A read-only JSON:API for web applications, mobile clients and static-site pipelines&lt;/li&gt;
&lt;li&gt;Server-rendered Blade themes for sites that benefit from direct HTML delivery&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three use the same content model. The editor and GraphQL endpoint can remain inside a private application network, the read-only API can sit behind an API gateway, and Blade output can be cached at the edge. Frontend delivery can scale independently without maintaining a second copy of editorial data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tenant context beyond the HTTP request
&lt;/h2&gt;

&lt;p&gt;PagibleAI uses single-database multi-tenancy. CMS models carry a &lt;code&gt;tenant_id&lt;/code&gt;, and a global Eloquent scope limits queries to the active tenant. Multi-domain routing can map separate page trees to separate domains.&lt;/p&gt;

&lt;p&gt;Search jobs retain the tenant they were created for. Page-cache keys include the tenant and domain. Realtime channels require both a matching tenant and the relevant view permission.&lt;/p&gt;

&lt;p&gt;That gives SaaS products and agencies one deployment and one shared database with application-level content isolation. It is not database-per-tenant isolation. Requirements that mandate a separate database for every customer need a different tenancy architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Realtime and long-running processes
&lt;/h2&gt;

&lt;p&gt;When broadcasting is enabled, PagibleAI uses Laravel Reverb and Echo to notify other editors about saved, published, restored, moved or deleted content.&lt;/p&gt;

&lt;p&gt;The events carry the metadata needed to update a list. They do not turn the WebSocket connection into a second content-delivery API. An open detail view re-fetches changed content through GraphQL, and a client reloads its state after reconnecting because it may have missed events while the socket was unavailable.&lt;/p&gt;

&lt;p&gt;Laravel Octane and queue workers keep the application alive between requests or jobs. PagibleAI binds tenant and access state to scoped lifetimes, keeps GraphQL metadata on the request, and avoids a global user-ID permission cache. This prevents state from one execution leaking into the next under &lt;a href="https://laravel.com/docs/13.x/octane" rel="noopener noreferrer"&gt;Octane&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Optional Pulse metrics cover page requests, search, contact forms, JSON:API, GraphQL and MCP operations. Structured watch logs use the application's logging stack, while Laravel's health route can feed a load balancer or Kubernetes probe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuring a distributed deployment
&lt;/h2&gt;

&lt;p&gt;PagibleAI's local defaults suit a single process. A distributed deployment replaces the node-local parts with shared services.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concern&lt;/th&gt;
&lt;th&gt;Small installation&lt;/th&gt;
&lt;th&gt;Distributed installation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Content&lt;/td&gt;
&lt;td&gt;SQLite&lt;/td&gt;
&lt;td&gt;Managed MySQL, MariaDB, PostgreSQL or SQL Server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Media&lt;/td&gt;
&lt;td&gt;Local public disk&lt;/td&gt;
&lt;td&gt;S3-compatible object storage and CDN&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page cache and locks&lt;/td&gt;
&lt;td&gt;File cache&lt;/td&gt;
&lt;td&gt;Shared Redis cache&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sessions&lt;/td&gt;
&lt;td&gt;Local or database&lt;/td&gt;
&lt;td&gt;Shared database or Redis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Jobs&lt;/td&gt;
&lt;td&gt;Synchronous or database queue&lt;/td&gt;
&lt;td&gt;Redis or SQS with independent workers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Web runtime&lt;/td&gt;
&lt;td&gt;One PHP process&lt;/td&gt;
&lt;td&gt;Replicas behind a load balancer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Live updates&lt;/td&gt;
&lt;td&gt;Disabled&lt;/td&gt;
&lt;td&gt;Reverb with shared production configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Telemetry&lt;/td&gt;
&lt;td&gt;Local logs&lt;/td&gt;
&lt;td&gt;Centralized logs and optional Pulse metrics&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A production environment may begin like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DB_CONNECTION=pgsql
CACHE_STORE=redis
SESSION_DRIVER=redis
QUEUE_CONNECTION=redis

CMS_DISK=s3

# After installing and configuring Laravel Reverb
CMS_BROADCAST=true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The complete-page cache selects its own store, so configure Redis explicitly for production:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// config/cms/theme.php&lt;/span&gt;
&lt;span class="s1"&gt;'cache'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'APP_DEBUG'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="s1"&gt;'array'&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'redis'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The infrastructure also needs a few standard operating rules:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Build application code, Composer dependencies and published assets into an immutable release.&lt;/li&gt;
&lt;li&gt;Keep uploaded media off ephemeral web disks.&lt;/li&gt;
&lt;li&gt;Run queue workers separately, restart them during deployments and run only one scheduler.&lt;/li&gt;
&lt;li&gt;Ensure the CDN bypasses public HTML caching for session and authorization requests.&lt;/li&gt;
&lt;li&gt;Extend Laravel's health endpoint with database and cache diagnostics appropriate to your availability target.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;PagibleAI uses Laravel's &lt;a href="https://laravel.com/docs/13.x/cache" rel="noopener noreferrer"&gt;cache API&lt;/a&gt;, queues and filesystem directly, so the same operational tooling applies to the CMS and the rest of the application.&lt;/p&gt;

&lt;p&gt;The source is available in the &lt;a href="https://github.com/aimeos/pagible" rel="noopener noreferrer"&gt;PagibleAI GitHub repository&lt;/a&gt;, and the &lt;a href="https://pagible.com/install-pagibleai-cms" rel="noopener noreferrer"&gt;installation guide&lt;/a&gt; covers the first deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  What PagibleAI leaves to the deployment
&lt;/h2&gt;

&lt;p&gt;PagibleAI does not provision a VPC, tune PostgreSQL, choose a Redis topology or write Kubernetes manifests. The deployment team owns those choices.&lt;/p&gt;

&lt;p&gt;They remain deployment responsibilities. PagibleAI keeps them outside the content model and editorial workflow, allowing state to move to managed services, workers to split from the web tier and public responses to move toward the edge.&lt;/p&gt;

&lt;p&gt;The visible product includes structured content, versioning, AI-assisted editing, GraphQL, JSON:API and MCP tools. The deployment model rests on less visible choices: authoritative database state, replaceable storage, shared cache coordination, post-commit side effects, queued work and request isolation in long-running processes.&lt;/p&gt;

&lt;p&gt;The same &lt;a href="https://pagible.com/laravel-cms" rel="noopener noreferrer"&gt;PagibleAI CMS&lt;/a&gt; package and content model can run in one process or across a cluster.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>cloud</category>
      <category>opensource</category>
      <category>php</category>
    </item>
    <item>
      <title>How to customize Aimeos e-commerce projects without maintaining a fork</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Tue, 21 Jul 2026 11:28:22 +0000</pubDate>
      <link>https://dev.to/aimeos/how-to-customize-aimeos-e-commerce-projects-without-maintaining-a-fork-2904</link>
      <guid>https://dev.to/aimeos/how-to-customize-aimeos-e-commerce-projects-without-maintaining-a-fork-2904</guid>
      <description>&lt;p&gt;Editing a file under &lt;code&gt;vendor/&lt;/code&gt; can solve today's problem and create the next upgrade's problem.&lt;/p&gt;

&lt;p&gt;The first change usually looks harmless: move a block on the product page, add a checkout rule, adjust the way products are loaded. After a few more, the shop depends on a private fork and every Composer update begins with a three-way diff.&lt;/p&gt;

&lt;p&gt;Aimeos provides a separate place for each kind of change. Wording can stay in translation configuration, page composition in page configuration, markup in a template and business rules in decorators. Larger features can live in their own Composer package.&lt;/p&gt;

&lt;p&gt;When a new requirement arrives, start by finding the narrowest layer that can handle it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose the smallest extension point
&lt;/h2&gt;

&lt;p&gt;Before writing a class, identify the layer that owns the requirement.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Requirement&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Change a label, page size or feature switch&lt;/td&gt;
&lt;td&gt;&lt;code&gt;config/shop.php&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add or remove a storefront component&lt;/td&gt;
&lt;td&gt;page configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change the Laravel page shell&lt;/td&gt;
&lt;td&gt;an overridden Blade view&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Restyle the shop&lt;/td&gt;
&lt;td&gt;a custom theme&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change component markup&lt;/td&gt;
&lt;td&gt;a template override&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Store project-specific product data&lt;/td&gt;
&lt;td&gt;properties or attributes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add behavior around existing logic&lt;/td&gt;
&lt;td&gt;a decorator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Replace an implementation completely&lt;/td&gt;
&lt;td&gt;a configured class replacement&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add new storage, behavior or an integration&lt;/td&gt;
&lt;td&gt;a project-specific Aimeos extension&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Use the first row that solves the problem. There is little value in creating a subclass for a configuration change or copying a controller when a decorator can add the required behavior. Related project code is also easier to follow when it lives in one extension.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with configuration
&lt;/h2&gt;

&lt;p&gt;The Laravel integration exposes the shop configuration in &lt;code&gt;config/shop.php&lt;/code&gt;. Its nested arrays follow the structure of Aimeos components and controllers, so the location of a setting identifies the part of the system it affects.&lt;/p&gt;

&lt;p&gt;Suppose a store needs 24 products per page, no add-to-basket button in product lists, a two-level mega menu and “Brands” instead of “Suppliers”. The relevant configuration is short:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="s1"&gt;'client'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'html'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'catalog'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'lists'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'basket-add'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'size'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;],&lt;/span&gt;

&lt;span class="s1"&gt;'controller'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'frontend'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'catalog'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'levels-always'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;],&lt;/span&gt;

&lt;span class="s1"&gt;'i18n'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'en'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'client'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'Suppliers'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'Brands'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;],&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No service provider, listener or copied component is involved.&lt;/p&gt;

&lt;p&gt;Some structural changes are environment switches. Multi-language routes, vendor-specific sites and seller registration can be enabled without rebuilding the routing layer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SHOP_MULTILOCALE=true
SHOP_MULTISHOP=true
SHOP_REGISTRATION=true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For many projects, &lt;code&gt;config/shop.php&lt;/code&gt; is where customization starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compose pages from components
&lt;/h2&gt;

&lt;p&gt;A storefront page is assembled from components. A product detail page can contain locale selection, the mini basket, category navigation, search, a stage area, the product itself and session-based lists such as recently viewed products.&lt;/p&gt;

&lt;p&gt;The list lives in &lt;code&gt;config/shop.php&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="s1"&gt;'page'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'catalog-detail'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'locale/select'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'basket/mini'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'catalog/tree'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'catalog/search'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'catalog/stage'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'catalog/detail'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;],&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This version leaves out &lt;code&gt;catalog/session&lt;/code&gt;. The page no longer prepares the recently viewed and pinned-product area, but the product-detail component remains untouched.&lt;/p&gt;

&lt;p&gt;You can also add an existing component to a page, or create a Laravel route and render the required Aimeos components through the &lt;code&gt;Shop&lt;/code&gt; facade.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://aimeos.org/docs/latest/laravel/extend/" rel="noopener noreferrer"&gt;Laravel extension guide&lt;/a&gt; documents the available page sections, routes and facade integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the page shell, markup and theme separate
&lt;/h2&gt;

&lt;p&gt;Aimeos separates presentation into three layers. Blade views define the surrounding Laravel page, component templates generate the storefront markup, and themes provide CSS, JavaScript, fonts and images.&lt;/p&gt;

&lt;p&gt;To change the complete product-detail page shell, copy the corresponding package view to the application's vendor-view directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;resources/views/vendor/shop/catalog/detail.blade.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Laravel prefers the application copy, leaving the package file untouched.&lt;/p&gt;

&lt;p&gt;If the page shell is already correct but the product markup is not, override only the relevant template in the project extension:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;templates/client/html/catalog/detail/body.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An identically named project template takes precedence over the default. A custom image gallery may need only &lt;code&gt;catalog/detail/image.php&lt;/code&gt;; it does not require a copy of the entire detail component.&lt;/p&gt;

&lt;p&gt;If the HTML structure is already right, a theme is enough. Aimeos keeps assets such as &lt;code&gt;catalog-detail.css&lt;/code&gt; and &lt;code&gt;basket-mini.js&lt;/code&gt; per component, so pages load the assets for the components they use.&lt;/p&gt;

&lt;p&gt;The size of the override matters during upgrades. Replacing &lt;code&gt;image.php&lt;/code&gt; instead of &lt;code&gt;body.php&lt;/code&gt;, for example, leaves less upstream code to compare.&lt;/p&gt;

&lt;p&gt;During development, clear the Aimeos and compiled Blade caches if configuration or template changes do not appear:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan aimeos:clear
php artisan view:clear
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The official guides cover both &lt;a href="https://aimeos.org/docs/latest/frontend/html/overwrite-templates/" rel="noopener noreferrer"&gt;template overrides&lt;/a&gt; and &lt;a href="https://aimeos.org/docs/latest/frontend/html/create-themes/" rel="noopener noreferrer"&gt;custom themes&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add business rules with decorators
&lt;/h2&gt;

&lt;p&gt;Many project rules only need to run around existing behavior. Typical examples include a regional availability check, an audit event, data from an external service or validation before an item is stored.&lt;/p&gt;

&lt;p&gt;A decorator wraps the existing object, changes only the relevant methods and delegates everything else.&lt;/p&gt;

&lt;p&gt;For example, a product-controller decorator can check products retrieved individually through &lt;code&gt;get()&lt;/code&gt; against an application service owned by the Laravel project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;namespace&lt;/span&gt; &lt;span class="nn"&gt;Aimeos\Controller\Frontend\Product\Decorator&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;App\Commerce\AvailabilityRule&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\MShop\Product\Item\Iface&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;final&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Availability&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;Base&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="nv"&gt;$id&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="kt"&gt;Iface&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nv"&gt;$item&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;parent&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$id&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

        &lt;span class="nf"&gt;app&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;AvailabilityRule&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;class&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;assertPurchasable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$item&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nv"&gt;$item&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;AvailabilityRule&lt;/code&gt; is ordinary Laravel application code. The decorator connects it to the Aimeos product controller.&lt;/p&gt;

&lt;p&gt;The class belongs at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;src/Controller/Frontend/Product/Decorator/Availability.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Register it in &lt;code&gt;config/shop.php&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="s1"&gt;'controller'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'frontend'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'product'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'decorators'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'local'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'Availability'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
            &lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;],&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only &lt;code&gt;get()&lt;/code&gt; changes. Product searches, aggregation and the remaining controller API continue through the original implementation. This example therefore guards direct product retrieval only. If the rule determines whether a product may be purchased, enforce it again at basket or checkout level.&lt;/p&gt;

&lt;p&gt;HTML clients and data managers support the same pattern. Several decorators can be combined without collecting unrelated rules in one project class.&lt;/p&gt;

&lt;p&gt;When the standard behavior is unsuitable, Aimeos factories also support named replacements. Setting &lt;code&gt;controller/frontend/product/name&lt;/code&gt; to &lt;code&gt;Project&lt;/code&gt;, for example, selects &lt;code&gt;Aimeos\Controller\Frontend\Product\Project&lt;/code&gt;. This is useful when a decorator would have to replace most of the original implementation anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put larger customizations in one package
&lt;/h2&gt;

&lt;p&gt;Once a customization contains several classes, templates, translations or database changes, it should become a project-specific Aimeos extension.&lt;/p&gt;

&lt;p&gt;Before extending a core table, check whether the requirement fits an Aimeos property, attribute or related domain item. Much project-specific product data can be stored without changing the core schema.&lt;/p&gt;

&lt;p&gt;The standalone distribution already declares &lt;code&gt;packages/*&lt;/code&gt; as a Composer path repository. An extension can live there during development and be installed like any other dependency:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require acme/shop-extension
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A typical project extension contains:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;packages/shop-extension/
├── composer.json
├── manifest.php
├── config/
├── i18n/
├── setup/
├── src/
├── templates/
└── themes/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The manifest registers the resources contributed by the package. The &lt;code&gt;setup/&lt;/code&gt; directory carries schema updates, Composer handles autoloading, and the extension can be versioned independently from both Laravel and Aimeos.&lt;/p&gt;

&lt;p&gt;For a single shop, this keeps its Aimeos-specific code in one place. Organizations running several shops can use the same package to share an integration, theme or business rule between applications.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://aimeos.org/docs/latest/developer/extensions/" rel="noopener noreferrer"&gt;extension documentation&lt;/a&gt; explains manifests and package structure, while the &lt;a href="https://aimeos.org/extensions/" rel="noopener noreferrer"&gt;extension generator&lt;/a&gt; creates the initial files.&lt;/p&gt;

&lt;h2&gt;
  
  
  Know when to replace the HTML frontend
&lt;/h2&gt;

&lt;p&gt;Template overrides work well while the application still fits the component model. If nearly every page needs replacing, or the same commerce backend must serve web, mobile and in-store clients, the APIs are usually the cleaner option.&lt;/p&gt;

&lt;p&gt;Aimeos exposes storefront data through JSON:API and administration through GraphQL. The product, price, stock, basket and order logic can remain in place while a new client replaces the presentation.&lt;/p&gt;

&lt;p&gt;A team does not have to make that change all at once. It can keep the working storefront, override a few templates and use the APIs only for channels that need a separate interface.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the structure costs
&lt;/h2&gt;

&lt;p&gt;The first extension takes some orientation. Configuration paths correspond to class and template paths, and the naming convention is more explicit than a generic Laravel hook.&lt;/p&gt;

&lt;p&gt;Once &lt;code&gt;controller/frontend/product/decorators/local&lt;/code&gt; has led to the product controller's decorator directory, the same relationship repeats throughout the platform. The paths make it possible to see who owns the behavior and how the project changed it.&lt;/p&gt;

&lt;p&gt;Separation does not make custom code immune to upstream changes. Templates, decorators and replacement classes should still be reviewed during major upgrades, but the affected surface is explicit and confined to the project extension.&lt;/p&gt;

&lt;p&gt;Upstream code stays in &lt;code&gt;vendor/&lt;/code&gt;, project code stays in the project extension, and updates require a focused compatibility review rather than a source-code merge.&lt;/p&gt;

&lt;p&gt;Each kind of change has an obvious home. By using the narrowest one that fits, a shop can move a long way from the Aimeos defaults without becoming a fork.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>ecommerce</category>
      <category>webdev</category>
    </item>
    <item>
      <title>PagibleAI: The Best Headless CMS for Laravel</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Thu, 16 Jul 2026 11:23:33 +0000</pubDate>
      <link>https://dev.to/aimeos/pagibleai-the-best-headless-cms-for-laravel-4koo</link>
      <guid>https://dev.to/aimeos/pagibleai-the-best-headless-cms-for-laravel-4koo</guid>
      <description>&lt;p&gt;Headless is supposed to loosen the frontend. Too often, it merely moves the constraint somewhere else.&lt;/p&gt;

&lt;p&gt;A hosted platform places content behind a remote service. A toolkit leaves the delivery API and publishing model to the application. An admin framework can turn a headless project into a CMS development project before the frontend has even begun.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pagible.com" rel="noopener noreferrer"&gt;PagibleAI CMS&lt;/a&gt; keeps the content system inside Laravel, exposes published material through a standard API and leaves the frontend entirely open.&lt;/p&gt;

&lt;p&gt;Structured content, reusable elements, media, drafts, immutable versions and scheduled publishing are already part of the package.&lt;/p&gt;

&lt;h2&gt;
  
  
  The CMS remains part of the application
&lt;/h2&gt;

&lt;p&gt;PagibleAI installs into an existing Laravel project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aimeos/pagible
php artisan cms:install
php artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The CMS does not live behind a vendor account or inside a second application with its own users, permissions and release cycle. It shares the Laravel project’s database, authentication, storage, cache and deployment process.&lt;/p&gt;

&lt;p&gt;The frontend is decoupled; deployment and operations remain consolidated.&lt;/p&gt;

&lt;p&gt;The useful boundary in a headless system lies between content and presentation, not between a Laravel application and its own content.&lt;/p&gt;

&lt;p&gt;A remote CMS can be the right decision when outsourcing infrastructure is the priority. It is less persuasive when the project already has a capable application platform and the additional service creates another place where business rules must be translated, synchronized and monitored.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the package already settles
&lt;/h2&gt;

&lt;p&gt;Several decisions precede the first frontend request. PagibleAI makes them explicit:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concern&lt;/th&gt;
&lt;th&gt;PagibleAI’s answer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Public delivery&lt;/td&gt;
&lt;td&gt;Read-only JSON:API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Editorial operations&lt;/td&gt;
&lt;td&gt;Administrative GraphQL API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Content model&lt;/td&gt;
&lt;td&gt;Pages, reusable elements, files and versions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Publishing&lt;/td&gt;
&lt;td&gt;Drafts, scheduling, history and restoration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Site structure&lt;/td&gt;
&lt;td&gt;Hierarchical page trees for navigation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;Any API client, with Blade available when useful&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reach&lt;/td&gt;
&lt;td&gt;Multiple domains and languages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Search&lt;/td&gt;
&lt;td&gt;Full-text search through Laravel Scout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ownership&lt;/td&gt;
&lt;td&gt;Open source and self-hosted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Automation&lt;/td&gt;
&lt;td&gt;Optional AI tools and an MCP interface&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;PagibleAI documents this separation between editorial operations and public delivery in the &lt;a href="https://pagible.com/headless-cms" rel="noopener noreferrer"&gt;PagibleAI headless CMS guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Editors manage versions and reusable content through one publishing system, while frontends receive a stable stream of published material. You extend the CMS instead of finishing its foundations.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Laravel alternatives
&lt;/h2&gt;

&lt;p&gt;The Laravel shortlist usually includes Statamic, Twill and Filament. The practical difference is how much work remains after installation.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Best suited to&lt;/th&gt;
&lt;th&gt;What remains&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;PagibleAI&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Most headless Laravel applications&lt;/td&gt;
&lt;td&gt;All included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Statamic&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Teams wanting a mature commercial CMS and paid support&lt;/td&gt;
&lt;td&gt;A Pro license for headless features&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Twill&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bespoke editorial systems with custom models&lt;/td&gt;
&lt;td&gt;The public delivery API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Filament&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Custom back offices and administration tools&lt;/td&gt;
&lt;td&gt;The CMS itself&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Statamic offers a control panel, REST and GraphQL, but requires a paid &lt;a href="https://statamic.com/pricing?lang=en" rel="noopener noreferrer"&gt;Statamic Pro&lt;/a&gt; license for headless delivery and multi-user publishing.&lt;/p&gt;

&lt;p&gt;Twill supplies editorial components and flexible content modules, while leaving &lt;a href="https://twillcms.com/docs/getting-started/installation.html" rel="noopener noreferrer"&gt;frontend routes and API endpoints to the developer&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Filament provides &lt;a href="https://filamentphp.com/docs/5.x/getting-started" rel="noopener noreferrer"&gt;CRUD interfaces for Eloquent models&lt;/a&gt;; publication states, versions, previews and content delivery remain your own concerns.&lt;/p&gt;

&lt;p&gt;PagibleAI is the only option in this group that combines a complete open-source CMS with a built-in public delivery API - without a paid headless tier or a custom delivery layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  A deliberate boundary between editing and delivery
&lt;/h2&gt;

&lt;p&gt;The public and editorial APIs have different roles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GraphQL serves the administration layer, where editors and custom tools need precise queries, relationships and mutations&lt;/li&gt;
&lt;li&gt;Public frontends receive published content through a high performance read-only JSON API following the JSON:API standard.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The delivery API has a narrow promise: return content that is ready to be shown. A frontend does not need to interpret editorial permissions or infer whether a record is still a draft. The public contract stays read-only and editorial complexity remains behind GraphQL.&lt;/p&gt;

&lt;p&gt;The choice of frontend belongs to your project. Nuxt, React, VueJS, a native application or another service can consume the same published content. If parts of the site is better served directly by Laravel, Blade remains available without requiring a second content system.&lt;/p&gt;

&lt;p&gt;Headless delivery becomes a choice of presentation, not a demand to split every project into separate applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Content that survives the current frontend
&lt;/h2&gt;

&lt;p&gt;A headless CMS should preserve structure without smuggling presentation into the content.&lt;/p&gt;

&lt;p&gt;PagibleAI separates pages, reusable elements, files and versions. A product statement, author profile, legal notice or call to action can be maintained once and placed wherever it belongs. Each frontend decides how to present it.&lt;/p&gt;

&lt;p&gt;An editor can update a product statement once and publish it. The same approved version then becomes available to a Nuxt storefront, a mobile application and a customer portal, while each frontend controls its presentation.&lt;/p&gt;

&lt;p&gt;The page tree supplies hierarchy for navigation, while shared elements remain reusable beyond an individual page. Editors retain a coherent view of the site without binding its content to one template system.&lt;/p&gt;

&lt;p&gt;That separation also governs publishing. Every editorial save creates a snapshot. Editors work with the latest version; public consumers continue to receive the published one. A replacement can be reviewed, scheduled or discarded without disturbing the live experience.&lt;/p&gt;

&lt;p&gt;When several frontends depend on the same CMS, this separation becomes essential. Publication is decided once, at the source, rather than interpreted independently by every consumer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The unglamorous work is already done
&lt;/h2&gt;

&lt;p&gt;The attraction of building a CMS from smaller Laravel components is strongest at the beginning. A model, migration and administration form can be produced quickly.&lt;/p&gt;

&lt;p&gt;The expensive work comes later: search, restoration, media relationships, translations, page movement, safe previews, publication scheduling and API compatibility.&lt;/p&gt;

&lt;p&gt;PagibleAI treats those concerns as part of the product:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full-text search works with SQLite, MySQL, PostgreSQL and SQL Server&lt;/li&gt;
&lt;li&gt;Multiple domains and languages can share one installation&lt;/li&gt;
&lt;li&gt;Tenant-scoped content supports projects operating several sites from the same Laravel deployment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these capabilities is especially fashionable but all of them become expensive when discovered late.&lt;/p&gt;

&lt;p&gt;PagibleAI also includes optional AI-assisted editing and a full MCP interface, but neither is required for the headless publishing workflow.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://pagible.com/features" rel="noopener noreferrer"&gt;PagibleAI feature overview&lt;/a&gt; documents these capabilities in greater detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where PagibleAI may not be the answer
&lt;/h2&gt;

&lt;p&gt;It is self-hosted and your team operates it as part of the Laravel application. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If the primary requirement is to hand the entire CMS operation to a vendor, a managed platform is the more natural choice.&lt;/li&gt;
&lt;li&gt;Public delivery is centred on JSON:API for performance and scalability reasons, while GraphQL serves editorial work. A project committed specifically to a public GraphQL content API would need to add that layer.&lt;/li&gt;
&lt;li&gt;Multi-tenancy uses a shared database. Applications requiring a separate database for every tenant fall outside the intended model.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For most Laravel teams seeking a self-hosted headless CMS, the trade is still favourable: the content and publishing system arrives complete.&lt;/p&gt;

&lt;h2&gt;
  
  
  A better use of development time
&lt;/h2&gt;

&lt;p&gt;The real cost of a headless CMS is the engineering it diverts from the product.&lt;/p&gt;

&lt;p&gt;PagibleAI handles content structure, editorial workflow and publication state. Your team shapes the frontend, its design, interactions, performance and relationship with the rest of the application.&lt;/p&gt;

&lt;p&gt;Editors get a dependable publishing environment, frontends consume consistent published content, and developers decide how that content becomes a product. The CMS stays close to Laravel without tying the presentation to it.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/aimeos/pagible" rel="noopener noreferrer"&gt;PagibleAI source code&lt;/a&gt; is available on GitHub.&lt;/p&gt;

&lt;p&gt;For a Laravel team that wants a headless CMS without also building one, PagibleAI is the strongest option.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is PagibleAI CMS?
&lt;/h3&gt;

&lt;p&gt;PagibleAI CMS is an open-source, self-hosted headless CMS for Laravel. It provides structured content, reusable elements, media management, drafts, immutable versions, scheduled publishing and public content delivery within an existing Laravel application.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is PagibleAI a headless CMS?
&lt;/h3&gt;

&lt;p&gt;Yes. PagibleAI separates content management from presentation. Editors manage content through the administration interface, while websites, mobile applications and other clients retrieve published content through a read-only JSON:API.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does PagibleAI require a separate hosted service?
&lt;/h3&gt;

&lt;p&gt;No. PagibleAI runs inside your Laravel application and uses its database, authentication, storage, cache and deployment infrastructure. Content does not need to be stored in a separate vendor-controlled platform.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which frontends can use PagibleAI?
&lt;/h3&gt;

&lt;p&gt;Any frontend capable of consuming an HTTP API can use PagibleAI. Common choices include Nuxt, Vue, React, native mobile applications and external services. Laravel projects can also render selected pages with Blade.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which APIs does PagibleAI provide?
&lt;/h3&gt;

&lt;p&gt;PagibleAI provides two APIs with distinct responsibilities. Its read-only JSON:API delivers published content to public frontends. Its GraphQL API supports editorial administration, including content queries, relationships and mutations.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does publishing work in PagibleAI?
&lt;/h3&gt;

&lt;p&gt;Each editorial save creates an immutable version. Editors can review, restore or schedule versions without immediately changing the public content. Frontends continue to receive the currently published version until a replacement is published.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can content be shared between multiple frontends?
&lt;/h3&gt;

&lt;p&gt;Yes. Pages, reusable elements and files are stored independently of a particular frontend. The same published content can therefore supply a website, mobile application, storefront or customer portal while each client controls its own presentation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does PagibleAI support multiple websites and languages?
&lt;/h3&gt;

&lt;p&gt;Yes. One installation can manage content for multiple domains and languages. It also supports tenant-scoped content for applications that operate several sites from one Laravel deployment using a shared database.&lt;/p&gt;

&lt;h3&gt;
  
  
  How is PagibleAI different from Filament or Twill?
&lt;/h3&gt;

&lt;p&gt;Filament is an administration framework rather than a complete CMS, so content versioning, publishing workflows and delivery APIs must be implemented separately. Twill provides editorial components and flexible content modules but leaves public routes and API delivery to the application. PagibleAI includes both the publishing system and a public content API.&lt;/p&gt;

&lt;h3&gt;
  
  
  How is PagibleAI different from Statamic?
&lt;/h3&gt;

&lt;p&gt;Both products can support headless Laravel projects. Statamic is a commercial CMS whose headless and multi-user capabilities require a Pro license. PagibleAI is open source and includes headless content delivery without a paid tier.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>headlesscms</category>
      <category>php</category>
      <category>ai</category>
    </item>
    <item>
      <title>Aimeos: The Headless E-Commerce Framework for Laravel</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Sat, 04 Jul 2026 16:58:52 +0000</pubDate>
      <link>https://dev.to/aimeos/aimeos-the-headless-e-commerce-framework-for-laravel-232j</link>
      <guid>https://dev.to/aimeos/aimeos-the-headless-e-commerce-framework-for-laravel-232j</guid>
      <description>&lt;p&gt;Laravel developers rarely need help building a storefront. Given a familiar stack, they can ship one with Blade, Livewire, Vue, React, Next.js, Nuxt, or a mobile client without much ceremony. The harder question is what happens after the first version is live, when the business starts asking for regional catalogs, customer-specific prices, subscriptions, stock rules, marketplace workflows, imports, exports, payment integrations, and an admin experience that non-developers can use every day.&lt;/p&gt;

&lt;p&gt;That is the point where many lightweight e-commerce packages begin to show their limits. They are pleasant while the model is simple, but the custom code around them grows quickly once the shop becomes central to the business, which is why Aimeos should be the default starting point when e-commerce is expected to become a serious part of a Laravel application rather than a small feature beside it.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://aimeos.org/laravel-headless-ecommerce" rel="noopener noreferrer"&gt;Aimeos&lt;/a&gt; approaches the problem from the stronger direction: it gives Laravel a mature e-commerce engine first, then leaves the presentation layer open.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Aimeos is not just a cart, a product table, and a checkout flow. It brings catalog management, basket handling, checkout, orders, customers, stock, suppliers, services, subscriptions, scheduled jobs, imports, a full administration interface, a JSON REST API for storefronts, and a GraphQL API for administration. More importantly, it does all of this without forcing Laravel to disappear behind a separate platform.&lt;/p&gt;

&lt;p&gt;That makes Aimeos the clearer favorite for ambitious Laravel e-commerce projects. Lunar PHP and Laravel Shopper both have useful places in the ecosystem, but Aimeos is the one that starts with the broader e-commerce model, the operational admin, the APIs, and the growth path already in place.&lt;/p&gt;

&lt;p&gt;To install the Aimeos headless distribution, use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer create-project aimeos/aimeos-headless aimeos
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The Short Version
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Responsibility&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Laravel&lt;/td&gt;
&lt;td&gt;Application structure, routing, authentication, sessions, cache, logging, mail, queues, policies, and deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Aimeos&lt;/td&gt;
&lt;td&gt;Catalog, prices, stock, basket, checkout, orders, services, subscriptions, jobs, imports, APIs, and administration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storefront&lt;/td&gt;
&lt;td&gt;Blade, Livewire, Vue, React, Next.js, Nuxt, mobile apps, partner portals, or any other client&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That division is the real argument for choosing Aimeos first. Laravel remains the application, Aimeos becomes the e-commerce engine, and the frontend can evolve without turning every business rule into custom application code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Laravel Remains The Application, Not The Shopping Cart
&lt;/h2&gt;

&lt;p&gt;The best part of Aimeos in a Laravel project is not only the feature set, but the boundary it draws. Laravel continues to own the application structure: routing, authentication, sessions, cache, logging, configuration, mail, queues, policies, and deployment. Aimeos takes responsibility for the e-commerce domain, where product data, prices, baskets, stock, orders, services, and subscriptions need a model that has already survived real complexity.&lt;/p&gt;

&lt;p&gt;That separation is what makes Aimeos especially suitable for headless e-commerce. The storefront can change without rewriting the engine beneath it, while the e-commerce layer remains deep enough for the business requirements that usually arrive later. A team can start with a conventional Laravel storefront and still have a path toward a PWA, a mobile app, a B2B portal, a marketplace frontend, or partner-facing API clients.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Laravel application
    -&amp;gt; routing, auth, cache, sessions, queues, mail, policies

Aimeos e-commerce engine
    -&amp;gt; catalog, prices, stock, basket, checkout, orders, admin

APIs
    -&amp;gt; JSON:API for storefronts
    -&amp;gt; GraphQL for administration

Clients
    -&amp;gt; Blade, Livewire, Vue, React, Next.js, Nuxt, mobile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This may sound simple, but it is exactly the division many e-commerce projects fail to protect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Headless Without An Unfinished Back Office
&lt;/h2&gt;

&lt;p&gt;Headless e-commerce is often described as frontend freedom, although that framing leaves out the part that matters most in production. A custom storefront is only useful if the people running the business can still manage products, prices, orders, content, stock, and customer data without waiting for developers to edit database rows or build internal tools from scratch.&lt;/p&gt;

&lt;p&gt;Aimeos avoids that trap because its headless APIs sit beside an existing administration system rather than replacing it.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aimeos part&lt;/th&gt;
&lt;th&gt;Why it matters in a headless setup&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;JSON REST API&lt;/td&gt;
&lt;td&gt;Custom storefronts can work against the e-commerce engine without being tied to one frontend stack&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GraphQL admin API&lt;/td&gt;
&lt;td&gt;Administration and automation can access shop data through a structured API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Standard admin&lt;/td&gt;
&lt;td&gt;Operations teams still have a usable interface for daily work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Jobs and imports&lt;/td&gt;
&lt;td&gt;Product data, stock updates, and scheduled processes do not have to be invented around the edges&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That balance is one of the main reasons Aimeos feels different from thinner Laravel e-commerce packages. It treats the frontend as replaceable, but it does not treat the e-commerce operation as an exercise left to the application team.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built For The Moment The Shop Becomes A Platform
&lt;/h2&gt;

&lt;p&gt;A simple store can survive on a simple package, and there is nothing wrong with that. The reason to choose Aimeos is that many Laravel e-commerce projects do not stay simple for very long. A brand expands into multiple regions, a B2C shop gains B2B accounts, one catalog becomes several catalogs, a single seller model becomes a marketplace, or the product data grows large enough that imports, indexing, and caching become architectural concerns rather than background tasks.&lt;/p&gt;

&lt;p&gt;That is where Aimeos starts to pay for its additional depth:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;multi-site setups where one installation serves several channels or regions&lt;/li&gt;
&lt;li&gt;B2B projects with customer-specific prices, visibility, or ordering behavior&lt;/li&gt;
&lt;li&gt;marketplace models where vendors, products, orders, and payments need clearer boundaries&lt;/li&gt;
&lt;li&gt;subscription-oriented projects where recurring processes must be part of the e-commerce model&lt;/li&gt;
&lt;li&gt;large catalogs where indexing, imports, caching, and operational tooling matter early&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Aimeos is built for those situations. Its multi-site capabilities, broad e-commerce model, marketplace and B2B orientation, subscription support, import and job infrastructure, and scaling options make it the stronger foundation for projects where e-commerce is not an add-on feature but the system the business depends on.&lt;/p&gt;

&lt;p&gt;The tradeoff is that Aimeos has more concepts to learn than a smaller package. That is not a weakness if the project is expected to grow, because the complexity exists either way; the choice is whether it lives in a framework designed for e-commerce or in custom application code that accumulates around a package that was never meant to carry that much responsibility.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Aimeos Comes Out Ahead Of Lunar PHP And Laravel Shopper
&lt;/h2&gt;

&lt;p&gt;Lunar PHP and Laravel Shopper are both useful Laravel e-commerce projects, but they are narrower choices. The practical question is not whether they can work, because they can, but whether they give a Laravel team enough e-commerce depth before the business starts asking for more complex catalogs, B2B rules, marketplace behavior, subscriptions, imports, operational tooling, and multiple storefronts.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Framework&lt;/th&gt;
&lt;th&gt;Best fit&lt;/th&gt;
&lt;th&gt;What stands out&lt;/th&gt;
&lt;th&gt;Why Aimeos is favored&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Aimeos&lt;/td&gt;
&lt;td&gt;Larger e-commerce platforms, B2B, marketplaces, multi-site setups, complex catalogs, and projects expected to scale&lt;/td&gt;
&lt;td&gt;A mature e-commerce engine with APIs, admin, jobs, imports, subscriptions, and operational depth&lt;/td&gt;
&lt;td&gt;It is the strongest default when e-commerce is core to the business&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lunar PHP&lt;/td&gt;
&lt;td&gt;Custom Laravel stores where an Eloquent-first development style is the priority&lt;/td&gt;
&lt;td&gt;A familiar Laravel feel with clean developer experience&lt;/td&gt;
&lt;td&gt;Aimeos gives more platform depth when requirements move beyond a custom store&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Laravel Shopper&lt;/td&gt;
&lt;td&gt;Existing Laravel apps that need package-style e-commerce building blocks&lt;/td&gt;
&lt;td&gt;A Laravel-friendly, Filament-based approach with swappable models and composable packages&lt;/td&gt;
&lt;td&gt;Aimeos is stronger when the project needs a complete e-commerce engine instead of building blocks&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Lunar PHP is attractive when the development team wants the e-commerce layer to feel as close to Laravel conventions as possible. Its Eloquent-first model and Laravel-native style make sense for teams that want a custom store and expect to shape more of the surrounding business logic themselves, although that strength becomes a limitation when the project needs broader platform behavior rather than a Laravel-shaped e-commerce package.&lt;/p&gt;

&lt;p&gt;Laravel Shopper is appealing from a different angle. It is package-oriented, uses familiar Laravel ecosystem tools, and fits teams that want to add e-commerce capabilities to an existing application without adopting a heavier e-commerce platform, although Aimeos is the stronger option when the e-commerce layer should become durable infrastructure instead of a set of adaptable building blocks.&lt;/p&gt;

&lt;p&gt;Aimeos is the clearer favorite when the e-commerce system itself needs depth from the beginning. If the roadmap includes B2B rules, multiple storefronts, marketplace behavior, subscriptions, large imports, operational administration, or very large catalogs, Aimeos gives the Laravel team more of the foundation upfront rather than asking them to build it later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Practical Case For Aimeos
&lt;/h2&gt;

&lt;p&gt;The strongest argument for Aimeos is not simply that it is headless, because many tools can make that claim. The stronger argument is that Aimeos combines headless flexibility with a serious e-commerce core, a working admin, Laravel integration, and enough architectural room for projects that become more demanding over time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Choose Aimeos when the shop is expected to become a platform,
and treat smaller packages as niche choices for simpler stores.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That combination is difficult to replace. A thin package may feel faster at the beginning, while a hosted platform may remove too much control from a Laravel team that wants to own its application. Aimeos occupies the strongest middle ground: it gives Laravel developers a real e-commerce framework without taking away the freedom to build the customer experience in the stack that suits the product.&lt;/p&gt;

&lt;p&gt;For small stores, Aimeos may be more power than necessary. For ambitious Laravel e-commerce projects, especially those likely to move into B2B, marketplace, multi-site, subscription, or high-volume catalog territory, that power is exactly the reason Aimeos should be the preferred choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aimeos.org/laravel-headless-ecommerce" rel="noopener noreferrer"&gt;Aimeos headless&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/aimeos/aimeos-headless" rel="noopener noreferrer"&gt;Github repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aimeos.org/docs" rel="noopener noreferrer"&gt;Aimeos documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>laravel</category>
      <category>ecommerce</category>
      <category>php</category>
      <category>headless</category>
    </item>
    <item>
      <title>Aimeos Prisma 0.5: a sturdier PHP layer for AI providers</title>
      <dc:creator>Aimeos</dc:creator>
      <pubDate>Tue, 30 Jun 2026 10:11:09 +0000</pubDate>
      <link>https://dev.to/aimeos/aimeos-prisma-05-a-sturdier-php-layer-for-ai-providers-n7i</link>
      <guid>https://dev.to/aimeos/aimeos-prisma-05-a-sturdier-php-layer-for-ai-providers-n7i</guid>
      <description>&lt;p&gt;Most AI integrations do not fail because the first provider is hard to call. They become awkward later, when the application has to speak several dialects at once.&lt;/p&gt;

&lt;p&gt;One endpoint generates text. Another returns embeddings. A third handles transcription. Image generation arrives with its own payload shape, its own errors, and its own idea of metadata. Add web search, tool calling, local models, or an OpenAI-compatible gateway, and the useful application code starts to disappear behind provider plumbing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/aimeos/prisma" rel="noopener noreferrer"&gt;Aimeos Prisma&lt;/a&gt; exists to keep that boundary small. It gives PHP applications one API across text, image, audio, and video providers, while still leaving room for provider-specific options when they are needed.&lt;/p&gt;

&lt;p&gt;The 0.5 release makes that layer more suitable for real applications: streamed responses, conversation history, stronger schema support, request observation, better test doubles, safer response handling, and more provider coverage.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aimeos/prisma
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The API shape
&lt;/h2&gt;

&lt;p&gt;Prisma is a framework-agnostic PHP 8.2+ package. It is MIT-licensed, uses Guzzle internally, and keeps the calling pattern consistent across provider types.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OPENAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Summarize the benefits of renewable energy'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nv"&gt;$image&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;image&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'stabilityai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'STABILITYAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;imagine&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'a clean product photo of a ceramic coffee cup'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;binary&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nv"&gt;$transcript&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'deepgram'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'DEEPGRAM_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;transcribe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$audioFile&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nv"&gt;$description&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;video&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'gemini'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'GEMINI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;describe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$videoFile&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The provider name changes. The surrounding application shape does not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Streaming belongs in the core API
&lt;/h2&gt;

&lt;p&gt;For user-facing tools, waiting for a full model response is often the wrong interaction. Prisma 0.5 adds &lt;code&gt;stream()&lt;/code&gt; as a text capability instead of treating it as a separate integration path.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OPENAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;ensure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'stream'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Write a short launch announcement for our PHP package'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="k"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nv"&gt;$delta&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$delta&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nv"&gt;$full&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;output&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Streaming keeps the same configuration surface as &lt;code&gt;write()&lt;/code&gt;: model selection, system prompts, tools, prior messages, and provider options all travel through the same provider object.&lt;/p&gt;

&lt;p&gt;In Laravel, it can be handed directly to &lt;code&gt;response()-&amp;gt;eventStream()&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Support\Facades\Route&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;Route&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/chat'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;config&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'services.openai'&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
        &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;ensure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'stream'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Explain event sourcing in plain English'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;response&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;eventStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;use&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nv"&gt;$chunk&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;is_string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$chunk&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="k"&gt;yield&lt;/span&gt; &lt;span class="nv"&gt;$chunk&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is one operational rule: consume the stream before reading body-derived metadata. Usage, citations, tool steps, finish reason, and response metadata are complete only after the stream has been drained. Rate-limit data from headers is available immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conversation history without a second abstraction
&lt;/h2&gt;

&lt;p&gt;Chat history now lives in &lt;code&gt;withMessages()&lt;/code&gt;. The current prompt passed to &lt;code&gt;write()&lt;/code&gt;, &lt;code&gt;stream()&lt;/code&gt;, or &lt;code&gt;structure()&lt;/code&gt; becomes the next user turn.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'anthropic'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'ANTHROPIC_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;withSystemPrompt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'You are a concise technical assistant.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;withMessages&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'role'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'user'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'content'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'I need a laptop recommendation.'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'role'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'assistant'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'content'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'What is your budget and workload?'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Around 1500 EUR, mostly PHP development and light video editing.'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For multimodal providers, user turns can also carry files, subject to each provider's file support.&lt;/p&gt;

&lt;h2&gt;
  
  
  Structured output is stricter when it can be, explicit when it cannot
&lt;/h2&gt;

&lt;p&gt;Structured output is most useful when the code can state what it expects and then check what it received. Prisma 0.5 improves both sides.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Schema\Schema&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$schema&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'ticket'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'title'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;required&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="s1"&gt;'priority'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;enum&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="s1"&gt;'low'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'normal'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'high'&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;required&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="s1"&gt;'tags'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="k"&gt;array&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;()),&lt;/span&gt;
&lt;span class="p"&gt;]);&lt;/span&gt;

&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OPENAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;ensure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'structure'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;structure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Extract a support ticket from: Checkout is broken for EU cards'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$schema&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nv"&gt;$ticket&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;structured&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default, Prisma uses the provider's native structured-output mode when one exists. If a schema is too large or deeply nested for that mode, pass &lt;code&gt;['mode' =&amp;gt; 'json']&lt;/code&gt; and Prisma will embed the schema in the prompt and parse the returned JSON.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OPENAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;structure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Extract a support ticket'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$schema&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'mode'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'json'&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The schema builder also gained unions, reusable definitions, references, and validation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Schema\Schema&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$schema&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'order'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s1"&gt;'billing'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;ref&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Address'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;required&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="s1"&gt;'shipping'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;ref&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Address'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;required&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="s1"&gt;'discount'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;anyOf&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
        &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
        &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;number&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="p"&gt;]),&lt;/span&gt;
&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;def&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Address'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;object&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
    &lt;span class="s1"&gt;'street'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;required&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="s1"&gt;'city'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;required&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
&lt;span class="p"&gt;]));&lt;/span&gt;

&lt;span class="nv"&gt;$errors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$schema&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;validate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;structured&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$errors&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// reject, retry, or ask for a correction&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Provider-enforced structured output reduces risk, but it does not make generated content trusted. Validate the shape you receive, and handle generated values as carefully as any user-supplied input.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wider provider coverage
&lt;/h2&gt;

&lt;p&gt;Prisma 0.5 now covers 29 providers across text, image, audio, and video workflows. The release adds Azure OpenAI text support, VertexAI text support, image generation through xAI, ModelsLab, and Replicate, and text embeddings across more providers.&lt;/p&gt;

&lt;p&gt;OpenAI-compatible endpoints remain a practical escape hatch. Local servers, internal gateways, and proxy services can be used through the &lt;code&gt;openai&lt;/code&gt; provider by changing the base URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'GATEWAY_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
        &lt;span class="s1"&gt;'url'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'https://my-gateway.example.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'my-model'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Hello from an OpenAI-compatible gateway'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Provider tools also behave more carefully in 0.5. Prisma can omit unsupported combinations, such as a server-side tool that a provider cannot use for the current request shape, without forcing every application to know those edge cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  Observability where the call happens
&lt;/h2&gt;

&lt;p&gt;Production AI calls need accounting. A plain response string cannot tell you which model ran, how long the request took, whether it failed, or what usage the provider reported.&lt;/p&gt;

&lt;p&gt;Prisma 0.5 adds request-scoped observers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Values\Observation&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;observe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;Observation&lt;/span&gt; &lt;span class="nv"&gt;$observation&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;logger&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;info&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'ai.operation'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$observation&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;toArray&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
    &lt;span class="p"&gt;})&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OPENAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'gpt-4.1-mini'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Draft a changelog entry'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An observation records the operation, provider type, provider name, model, duration, error state, usage, and metadata. Streamed responses are observed after the stream completes, so their usage and metadata are present.&lt;/p&gt;

&lt;h2&gt;
  
  
  Usage and metadata now have names
&lt;/h2&gt;

&lt;p&gt;Provider usage payloads are inconsistent. &lt;code&gt;input_tokens&lt;/code&gt;, &lt;code&gt;prompt_tokens&lt;/code&gt;, &lt;code&gt;promptTokenCount&lt;/code&gt;, and &lt;code&gt;inputTokens&lt;/code&gt; may all mean the same thing, depending on which API answered.&lt;/p&gt;

&lt;p&gt;In 0.5, &lt;code&gt;usage()&lt;/code&gt; returns a &lt;code&gt;Values\Usage&lt;/code&gt; object:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$usage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;promptTokens&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;completionTokens&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;totalTokens&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;cacheReadTokens&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;cacheWriteTokens&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;thoughtTokens&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$usage&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;used&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;meta()&lt;/code&gt; returns a &lt;code&gt;Values\Meta&lt;/code&gt; object:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$meta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;meta&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nv"&gt;$meta&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;id&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$meta&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$meta&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;thinking&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$meta&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;reasoningDetails&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both objects remain array-compatible for provider-specific fields:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$rawUsage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nv"&gt;$created&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;meta&lt;/span&gt;&lt;span class="p"&gt;()[&lt;/span&gt;&lt;span class="s1"&gt;'created'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Existing code that type-hints these results as arrays should switch to &lt;code&gt;Values\Usage&lt;/code&gt;, &lt;code&gt;Values\Meta&lt;/code&gt;, or call &lt;code&gt;all()&lt;/code&gt; when a raw array is required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing without a live provider
&lt;/h2&gt;

&lt;p&gt;Application tests should not need live API keys to prove that the right Prisma calls are made. Prisma 0.5 adds a recording fake:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Prisma&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Aimeos\Prisma\Responses\TextResponse&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$fake&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;fake&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
    &lt;span class="nc"&gt;TextResponse&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;fake&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Invoice approved'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;withUsage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'prompt_tokens'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'completion_tokens'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;]),&lt;/span&gt;
&lt;span class="p"&gt;]);&lt;/span&gt;

&lt;span class="nv"&gt;$result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'test'&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Review this invoice'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nv"&gt;$fake&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;assertCalled&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'write'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;array&lt;/span&gt; &lt;span class="nv"&gt;$args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;str_contains&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$args&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="s1"&gt;'invoice'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nb"&gt;reset&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For provider-level tests, the new testing helpers can run real provider code against mocked Guzzle responses. Request building, response parsing, streaming, and tool loops can be exercised without leaving the test process.&lt;/p&gt;

&lt;p&gt;Responses implement &lt;code&gt;JsonSerializable&lt;/code&gt;, which keeps snapshot-style assertions straightforward:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$payload&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;jsonSerialize&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Safer response boundaries
&lt;/h2&gt;

&lt;p&gt;Provider responses may be streamed, proxied, malformed, or simply too large. &lt;code&gt;withMaxResponseSize()&lt;/code&gt; bounds how many bytes Prisma will read from a single provider response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'openai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'api_key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'OPENAI_API_KEY'&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;withMaxResponseSize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Analyze this document'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The default limit is 64 MB per provider response. It applies to streamed and non-streamed calls, including individual tool-loop turns.&lt;/p&gt;

&lt;p&gt;The release also tightens provider discovery by validating provider type and name before building provider class names.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom providers are part of the story
&lt;/h2&gt;

&lt;p&gt;Prisma resolves providers by namespace convention:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;Prisma&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;using&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'myprovider'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$config&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That maps to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;Aimeos\Prisma\Providers\Text\Myprovider&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The new &lt;a href="https://github.com/aimeos/prisma/blob/master/CUSTOM-PROVIDERS.md" rel="noopener noreferrer"&gt;custom provider guide&lt;/a&gt; documents provider discovery, contracts, response objects, structured output, tool loops, async operations, OpenAI-compatible APIs, and testing.&lt;/p&gt;

&lt;p&gt;That is useful when a project has an internal gateway, a private model host, or a provider that Prisma does not ship yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Upgrading
&lt;/h2&gt;

&lt;p&gt;The main migration points are small but worth checking. Use &lt;code&gt;stream()&lt;/code&gt; for live text responses. Pass prior turns through &lt;code&gt;withMessages()&lt;/code&gt;. Call &lt;code&gt;structure()&lt;/code&gt; to request structured output; keep using &lt;code&gt;structured()&lt;/code&gt; to read the parsed response. Treat &lt;code&gt;usage()&lt;/code&gt; and &lt;code&gt;meta()&lt;/code&gt; as value objects, or call &lt;code&gt;all()&lt;/code&gt; when existing code expects arrays. Drain streamed responses before reading usage, metadata, citations, tool steps, or finish reason. Reset &lt;code&gt;Prisma::fake()&lt;/code&gt; in test teardown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;Docs: &lt;a href="https://php-prisma.org" rel="noopener noreferrer"&gt;https://php-prisma.org&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/aimeos/prisma" rel="noopener noreferrer"&gt;https://github.com/aimeos/prisma&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Custom providers: &lt;a href="https://github.com/aimeos/prisma/blob/master/CUSTOM-PROVIDERS.md" rel="noopener noreferrer"&gt;CUSTOM-PROVIDERS.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Prisma 0.4 established the broad interface across text, image, audio, and video. Prisma 0.5 makes that interface easier to run in production: streamed UIs, observable calls, cheaper tests, clearer schemas, provider fallbacks, and custom integrations.&lt;/p&gt;

</description>
      <category>php</category>
      <category>ai</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
