<?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: Mohammad Emran</title>
    <description>The latest articles on DEV Community by Mohammad Emran (@memran).</description>
    <link>https://dev.to/memran</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3917759%2F531e56e0-d5ce-4e8f-955d-e8f511f382a9.png</url>
      <title>DEV Community: Mohammad Emran</title>
      <link>https://dev.to/memran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/memran"/>
    <language>en</language>
    <item>
      <title>Introducing MarwaPHP: An AI-Native PHP Framework for Modern Web Applications</title>
      <dc:creator>Mohammad Emran</dc:creator>
      <pubDate>Thu, 07 May 2026 11:00:42 +0000</pubDate>
      <link>https://dev.to/memran/introducing-marwaphp-an-ai-native-php-framework-for-modern-web-applications-i0n</link>
      <guid>https://dev.to/memran/introducing-marwaphp-an-ai-native-php-framework-for-modern-web-applications-i0n</guid>
      <description>&lt;p&gt;Today I’m excited to share my first post about &lt;strong&gt;MarwaPHP&lt;/strong&gt;, an AI-native PHP framework I am building for modern web application development.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/memran/marwa-php" rel="noopener noreferrer"&gt;https://github.com/memran/marwa-php&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why MarwaPHP?
&lt;/h2&gt;

&lt;p&gt;PHP is still one of the most powerful and widely used technologies for building web applications. But the software world is changing very fast.&lt;/p&gt;

&lt;p&gt;Modern applications are no longer only about routing, controllers, templates, and databases. Today, applications need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI chat systems&lt;/li&gt;
&lt;li&gt;AI assistants&lt;/li&gt;
&lt;li&gt;Automation tools&lt;/li&gt;
&lt;li&gt;MCP server support&lt;/li&gt;
&lt;li&gt;Knowledge-based responses&lt;/li&gt;
&lt;li&gt;Agent-ready architecture&lt;/li&gt;
&lt;li&gt;Developer-friendly modular systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is why I started building &lt;strong&gt;MarwaPHP&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is MarwaPHP?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;MarwaPHP is an AI-native PHP framework designed to build modern, modular, and intelligent web applications.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The goal of MarwaPHP is simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Help developers build clean, modular, AI-powered PHP applications with less complexity.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;MarwaPHP is not only a traditional PHP framework. It is designed from the beginning with AI integration in mind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;p&gt;MarwaPHP focuses on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Modular architecture&lt;/li&gt;
&lt;li&gt;Service provider pattern&lt;/li&gt;
&lt;li&gt;Clean routing&lt;/li&gt;
&lt;li&gt;Reusable components&lt;/li&gt;
&lt;li&gt;Simple application structure&lt;/li&gt;
&lt;li&gt;AI chat integration&lt;/li&gt;
&lt;li&gt;Built-in AI tools&lt;/li&gt;
&lt;li&gt;MCP server support&lt;/li&gt;
&lt;li&gt;Developer-friendly workflow&lt;/li&gt;
&lt;li&gt;Scalable application design&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  AI-Native Framework
&lt;/h2&gt;

&lt;p&gt;MarwaPHP is being built as an &lt;strong&gt;AI-native framework&lt;/strong&gt;, not just a normal framework with AI added later.&lt;/p&gt;

&lt;p&gt;This means AI features are part of the core direction of the framework.&lt;/p&gt;

&lt;p&gt;For example, MarwaPHP aims to support:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI chat inside applications&lt;/li&gt;
&lt;li&gt;Tools that AI agents can call&lt;/li&gt;
&lt;li&gt;MCP server integration&lt;/li&gt;
&lt;li&gt;Application data access through AI tools&lt;/li&gt;
&lt;li&gt;AI-powered admin panels&lt;/li&gt;
&lt;li&gt;AI-based customer support&lt;/li&gt;
&lt;li&gt;AI assistants for CMS, CRM, ERP, and SaaS applications&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Built-in AI Chat
&lt;/h2&gt;

&lt;p&gt;One important goal of MarwaPHP is to make it easy to add AI chat to any application.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Customer support chat&lt;/li&gt;
&lt;li&gt;Admin assistant&lt;/li&gt;
&lt;li&gt;Sales assistant&lt;/li&gt;
&lt;li&gt;Website content assistant&lt;/li&gt;
&lt;li&gt;Internal business data assistant&lt;/li&gt;
&lt;li&gt;Developer assistant for application management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of building everything from scratch, developers should be able to connect AI chat with their application services, database, and tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built-in MCP Server
&lt;/h2&gt;

&lt;p&gt;MarwaPHP also includes a direction for &lt;strong&gt;MCP Server&lt;/strong&gt; support.&lt;/p&gt;

&lt;p&gt;MCP means &lt;strong&gt;Model Context Protocol&lt;/strong&gt;. It allows AI models and agents to connect with external tools and application data in a structured way.&lt;/p&gt;

&lt;p&gt;With MCP support, a MarwaPHP application can expose useful tools such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Get total customers&lt;/li&gt;
&lt;li&gt;Show recent orders&lt;/li&gt;
&lt;li&gt;List top products&lt;/li&gt;
&lt;li&gt;Search website content&lt;/li&gt;
&lt;li&gt;Read CRM leads&lt;/li&gt;
&lt;li&gt;Generate reports&lt;/li&gt;
&lt;li&gt;Analyze business data&lt;/li&gt;
&lt;li&gt;Execute safe application actions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This can make PHP applications more useful for AI agents, automation systems, and smart admin dashboards.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why AI Native Matters
&lt;/h2&gt;

&lt;p&gt;Many existing frameworks were created before the current AI revolution. They are excellent for traditional web development, but AI-first software needs a different mindset.&lt;/p&gt;

&lt;p&gt;AI-native applications need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tool calling&lt;/li&gt;
&lt;li&gt;Context management&lt;/li&gt;
&lt;li&gt;Structured data access&lt;/li&gt;
&lt;li&gt;Secure AI actions&lt;/li&gt;
&lt;li&gt;Chat interfaces&lt;/li&gt;
&lt;li&gt;RAG-ready architecture&lt;/li&gt;
&lt;li&gt;Event-driven automation&lt;/li&gt;
&lt;li&gt;Human approval flows&lt;/li&gt;
&lt;li&gt;Observability for AI actions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MarwaPHP is being designed with these ideas in mind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is MarwaPHP For?
&lt;/h2&gt;

&lt;p&gt;MarwaPHP is for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PHP developers&lt;/li&gt;
&lt;li&gt;SaaS builders&lt;/li&gt;
&lt;li&gt;CMS developers&lt;/li&gt;
&lt;li&gt;CRM/ERP developers&lt;/li&gt;
&lt;li&gt;AI application builders&lt;/li&gt;
&lt;li&gt;Open-source contributors&lt;/li&gt;
&lt;li&gt;Developers who want simple and modular architecture&lt;/li&gt;
&lt;li&gt;Teams that want to add AI features to PHP applications&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My Vision
&lt;/h2&gt;

&lt;p&gt;My vision is to make MarwaPHP a practical framework for building AI-powered business applications.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-native CMS&lt;/li&gt;
&lt;li&gt;AI-powered CRM&lt;/li&gt;
&lt;li&gt;Smart inventory system&lt;/li&gt;
&lt;li&gt;AI customer support system&lt;/li&gt;
&lt;li&gt;Business dashboard with AI assistant&lt;/li&gt;
&lt;li&gt;SaaS admin panel&lt;/li&gt;
&lt;li&gt;AI-powered reporting system&lt;/li&gt;
&lt;li&gt;MCP-enabled PHP applications&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Current Status
&lt;/h2&gt;

&lt;p&gt;MarwaPHP is still growing. I am actively working on the framework, improving its architecture, documentation, and AI features.&lt;/p&gt;

&lt;p&gt;I am also looking for feedback from developers, content creators, and open-source contributors.&lt;/p&gt;

&lt;h2&gt;
  
  
  I Need Your Feedback
&lt;/h2&gt;

&lt;p&gt;I would really appreciate feedback on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Framework architecture&lt;/li&gt;
&lt;li&gt;Code structure&lt;/li&gt;
&lt;li&gt;Installation process&lt;/li&gt;
&lt;li&gt;Documentation&lt;/li&gt;
&lt;li&gt;AI chat design&lt;/li&gt;
&lt;li&gt;MCP server design&lt;/li&gt;
&lt;li&gt;Developer experience&lt;/li&gt;
&lt;li&gt;Missing features&lt;/li&gt;
&lt;li&gt;Real-world use cases&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub Repository:&lt;br&gt;
&lt;a href="https://github.com/memran/marwa-php" rel="noopener noreferrer"&gt;https://github.com/memran/marwa-php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please check the repository, give feedback, open issues, or suggest improvements.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;MarwaPHP is my attempt to bring PHP into the AI-native software era.&lt;/p&gt;

&lt;p&gt;PHP has powered the web for decades. Now it is time to make PHP applications smarter, more connected, and more AI-ready.&lt;/p&gt;

&lt;p&gt;Thank you for reading my first post.&lt;/p&gt;

&lt;p&gt;I would love to hear your thoughts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/memran/marwa-php" rel="noopener noreferrer"&gt;https://github.com/memran/marwa-php&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  php #opensource #ai #mcp #webdev #framework #marwaphp
&lt;/h1&gt;

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