<?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: Ruhid Javadov</title>
    <description>The latest articles on DEV Community by Ruhid Javadov (@mrruhid).</description>
    <link>https://dev.to/mrruhid</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%2F4257611%2F020eb277-e7bd-4153-a64e-11a21a7049a5.jpg</url>
      <title>DEV Community: Ruhid Javadov</title>
      <link>https://dev.to/mrruhid</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrruhid"/>
    <language>en</language>
    <item>
      <title>How I Built an Open-Source Modular CMS on Laravel 12 with a Visual Builder and OpenRouter AI</title>
      <dc:creator>Ruhid Javadov</dc:creator>
      <pubDate>Sat, 21 Nov 2026 16:21:21 +0000</pubDate>
      <link>https://dev.to/mrruhid/how-i-built-an-open-source-modular-cms-on-laravel-12-with-a-visual-builder-and-openrouter-ai-2ohc</link>
      <guid>https://dev.to/mrruhid/how-i-built-an-open-source-modular-cms-on-laravel-12-with-a-visual-builder-and-openrouter-ai-2ohc</guid>
      <description>&lt;p&gt;I wanted a CMS that felt modern: self-hosted, modular, with a real visual builder and AI built in rather than bolted on. So I built one. This is &lt;strong&gt;RJ CMS (NEXUS)&lt;/strong&gt;, an open-source CMS on Laravel 12, and this post covers what it does, how it's structured, and what I learned.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Heads up:&lt;/strong&gt; RJ CMS is under active development (v1.0.0-alpha). Expect bugs and breaking changes. It's not recommended for production yet. I'm sharing it early because feedback is what it needs most.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/rj-nexus/rj-nexus" rel="noopener noreferrer"&gt;https://github.com/rj-nexus/rj-nexus&lt;/a&gt;&lt;br&gt;
Live demo: &lt;a href="https://rj-nexus.onrender.com" rel="noopener noreferrer"&gt;https://rj-nexus.onrender.com&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Why another CMS?
&lt;/h2&gt;

&lt;p&gt;[Write 2-3 sentences in your own words: what frustrated you about WordPress / other CMSs, and what you wanted instead.]&lt;/p&gt;

&lt;p&gt;My goals were:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosted:&lt;/strong&gt; you install it on your own server and own your data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modular:&lt;/strong&gt; features live in plugins that never touch the core.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Builder-first:&lt;/strong&gt; themes and pages are designed visually.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-native:&lt;/strong&gt; SEO, translation, and writing help built into the admin.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Tech stack
&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;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Laravel 12, PHP 8.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;MySQL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;Blade, Tailwind CSS v3, Alpine.js&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build tool&lt;/td&gt;
&lt;td&gt;Vite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI engine&lt;/td&gt;
&lt;td&gt;OpenRouter API&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I kept the frontend stack deliberately light: Blade and Alpine.js instead of a heavy SPA, so the admin stays easy to extend for any Laravel developer.&lt;/p&gt;
&lt;h2&gt;
  
  
  RJBuilder: the visual page builder
&lt;/h2&gt;

&lt;p&gt;The centerpiece is &lt;strong&gt;RJBuilder&lt;/strong&gt;, a drag-and-drop page editor. It includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Responsive controls per breakpoint&lt;/li&gt;
&lt;li&gt;Nested containers&lt;/li&gt;
&lt;li&gt;Custom CSS/JS&lt;/li&gt;
&lt;li&gt;Dynamic tags&lt;/li&gt;
&lt;li&gt;Undo/redo history and animations&lt;/li&gt;
&lt;li&gt;8 built-in widgets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;[Add what was hardest here: state management, history, responsive controls, etc. A short code snippet or screenshot/GIF would work great.]&lt;/p&gt;
&lt;h2&gt;
  
  
  A plugin system that never touches the core
&lt;/h2&gt;

&lt;p&gt;Plugins are fully isolated. Each one has its own routes, views, migrations, and assets, loaded through dynamic autoloaders and service providers. The core never needs to be modified, and updates are delivered through GitHub.&lt;/p&gt;

&lt;p&gt;There's even a &lt;strong&gt;Plugin IDE&lt;/strong&gt;: a built-in code editor in the admin with AI code review.&lt;/p&gt;

&lt;p&gt;The first real plugin is a &lt;strong&gt;Form Builder&lt;/strong&gt; (v1.1.0), which is how I'm stress-testing the plugin architecture: &lt;a href="https://github.com/mr-ruhid/rj-plugin-form-builder" rel="noopener noreferrer"&gt;https://github.com/mr-ruhid/rj-plugin-form-builder&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Theme architecture
&lt;/h2&gt;

&lt;p&gt;Themes are builder-first: active theme loading, view namespaces, custom page templates, child themes, and dynamic asset injection. [Explain in a sentence why you chose this approach.]&lt;/p&gt;
&lt;h2&gt;
  
  
  AI with OpenRouter
&lt;/h2&gt;

&lt;p&gt;AI is integrated through &lt;strong&gt;OpenRouter&lt;/strong&gt;, which means you're not locked into a single model provider. The built-in tools can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generate SEO meta tags&lt;/li&gt;
&lt;li&gt;Translate content&lt;/li&gt;
&lt;li&gt;Write text&lt;/li&gt;
&lt;li&gt;Suggest page layouts&lt;/li&gt;
&lt;li&gt;Run AI-powered SEO analysis&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;[Explain why OpenRouter: model choice, one API key, cost control. Mention how the API key is configured in Settings → AI.]&lt;/p&gt;
&lt;h2&gt;
  
  
  Multi-language and SEO
&lt;/h2&gt;

&lt;p&gt;Built-in locales are AZ, EN, RU, and TR, plus dynamic locales. Posts, pages, categories, and SEO data are all translatable. On the SEO side you get control over titles, descriptions, Open Graph, Twitter cards, and schema markup.&lt;/p&gt;
&lt;h2&gt;
  
  
  Everything else included
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Media library with drag-and-drop upload and image optimization&lt;/li&gt;
&lt;li&gt;Multilingual categories and tags&lt;/li&gt;
&lt;li&gt;Menu system (header, footer, custom locations)&lt;/li&gt;
&lt;li&gt;Role-based access control with activity logging&lt;/li&gt;
&lt;li&gt;Settings for General, AI, SEO, Security, and more&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Try it locally
&lt;/h2&gt;

&lt;p&gt;Requirements: PHP 8.2+, Composer, Node.js, MySQL.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/rj-nexus/rj-nexus.git
&lt;span class="nb"&gt;cd&lt;/span&gt; rj-nexus
composer install
npm install
cp .env.example .env
php artisan key:generate
&lt;span class="c"&gt;# set your DB credentials in .env&lt;/span&gt;
php artisan migrate --seed
npm run dev        &lt;span class="c"&gt;# in one terminal&lt;/span&gt;
php artisan serve  &lt;span class="c"&gt;# in another&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Default local admin: &lt;code&gt;admin@admin.com&lt;/code&gt; / &lt;code&gt;admin123&lt;/code&gt;. These are for local development only, so change them immediately on anything reachable from the internet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Roadmap
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Done:&lt;/strong&gt; auth, settings, media library, categories/tags, menus, posts/pages with AI, RJBuilder core, theme system, plugin engine, Plugin IDE.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In progress:&lt;/strong&gt; Form Builder polish, admin UI for Post Types/Roles/Themes/Plugins, frontend views (single post, archive, loop cards), a dedicated AI Center.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Planned:&lt;/strong&gt; role-based permission middleware, maintenance mode, RTL support, custom post type builder, custom fields (an ACF alternative), notifications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons learned
&lt;/h2&gt;

&lt;p&gt;[Add 3 honest lessons, for example: what you'd do differently, a design decision you regret, something that surprised you about plugin isolation or AI prompts.]&lt;/p&gt;

&lt;h2&gt;
  
  
  Contribute
&lt;/h2&gt;

&lt;p&gt;RJ CMS is MIT-licensed. If you try it, I'd love to hear what breaks. Open an issue, send a PR, or just drop a comment below. A star on GitHub also helps a lot:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/rj-nexus/rj-nexus" rel="noopener noreferrer"&gt;https://github.com/rj-nexus/rj-nexus&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Live demo
&lt;/h2&gt;

&lt;p&gt;You can see it running here: &lt;a href="https://rj-nexus.onrender.com" rel="noopener noreferrer"&gt;https://rj-nexus.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The demo is hosted on Render, so the first load may take a few seconds if the instance was sleeping.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What would you want most from a modular Laravel CMS? Let me know in the comments.&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%2Flpi10oxm46yl1gfbrmjw.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%2Flpi10oxm46yl1gfbrmjw.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2Fzap262f4iq8yqto20urh.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%2Fzap262f4iq8yqto20urh.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2Fj8tagzdl1bdhafftdt2d.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%2Fj8tagzdl1bdhafftdt2d.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2F3cov0v44cynjun2e3fcr.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%2F3cov0v44cynjun2e3fcr.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2Frg4g6tjoutrrdy3exgwm.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%2Frg4g6tjoutrrdy3exgwm.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2F7ibbb8kyzwv1g55gdg05.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%2F7ibbb8kyzwv1g55gdg05.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2F7846kpef2mwivqqiyzet.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%2F7846kpef2mwivqqiyzet.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2Fm0w8bwl3toxmnz7fg343.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%2Fm0w8bwl3toxmnz7fg343.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2Fxgh64st0q0629w9nqves.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%2Fxgh64st0q0629w9nqves.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&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%2Ftior1jimz6f2k7ff9k3b.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%2Ftior1jimz6f2k7ff9k3b.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

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