<?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: Ibrahima Diallo</title>
    <description>The latest articles on DEV Community by Ibrahima Diallo (@ibrahima_diallo_7451d84f0).</description>
    <link>https://dev.to/ibrahima_diallo_7451d84f0</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%2F3753110%2F150d8454-1300-48cb-b32b-07acec29e26b.jpg</url>
      <title>DEV Community: Ibrahima Diallo</title>
      <link>https://dev.to/ibrahima_diallo_7451d84f0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ibrahima_diallo_7451d84f0"/>
    <language>en</language>
    <item>
      <title>I just released: laravel-model-media 🎉</title>
      <dc:creator>Ibrahima Diallo</dc:creator>
      <pubDate>Wed, 04 Feb 2026 13:51:09 +0000</pubDate>
      <link>https://dev.to/ibrahima_diallo_7451d84f0/i-just-released-laravel-model-media-3d5j</link>
      <guid>https://dev.to/ibrahima_diallo_7451d84f0/i-just-released-laravel-model-media-3d5j</guid>
      <description>&lt;h2&gt;
  
  
  I just released: laravel-model-media 🎉
&lt;/h2&gt;

&lt;p&gt;I just released &lt;strong&gt;laravel-model-media&lt;/strong&gt;, a lightweight Laravel package that makes it easy to attach media (images, videos, files) to any Eloquent model — &lt;strong&gt;without forcing you into a heavy media library&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;👉 Repository:&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/ibra379/laravel-model-media" rel="noopener noreferrer"&gt;github link&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;In many projects I only needed &lt;strong&gt;basic media support&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;attach one or more files to a model
&lt;/li&gt;
&lt;li&gt;keep things clean and explicit
&lt;/li&gt;
&lt;li&gt;avoid complex abstractions when they’re not needed
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most existing solutions are powerful, but sometimes &lt;strong&gt;overkill&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
So I built a small, focused package that does one thing well.&lt;/p&gt;




&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;With &lt;code&gt;laravel-model-media&lt;/code&gt; you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;attach media to &lt;strong&gt;any Eloquent model&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;support &lt;strong&gt;images, videos, and generic files&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;store media data &lt;strong&gt;directly on the model columns&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;avoid polymorphic tables and extra joins&lt;/li&gt;
&lt;li&gt;keep the implementation &lt;strong&gt;simple and explicit&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;stay framework-native and lightweight&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No magic, no heavy configuration.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>eloquent</category>
    </item>
  </channel>
</rss>
