<?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: Forward Dev</title>
    <description>The latest articles on DEV Community by Forward Dev (@forwarddev).</description>
    <link>https://dev.to/forwarddev</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%2F2899438%2F88be79a8-de4a-4e9f-9ea6-c4dfcdeb562c.png</url>
      <title>DEV Community: Forward Dev</title>
      <link>https://dev.to/forwarddev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/forwarddev"/>
    <language>en</language>
    <item>
      <title>Why &amp; How to install MoonShine v3</title>
      <dc:creator>Forward Dev</dc:creator>
      <pubDate>Wed, 26 Feb 2025 19:29:32 +0000</pubDate>
      <link>https://dev.to/forwarddev/why-how-to-install-moonshine-v3-4c3</link>
      <guid>https://dev.to/forwarddev/why-how-to-install-moonshine-v3-4c3</guid>
      <description>&lt;p&gt;Hello everybody &amp;amp; everyrock!&lt;/p&gt;

&lt;h5&gt;
  
  
  Prehistory
&lt;/h5&gt;

&lt;p&gt;Today, I want to tell you about the awesome &lt;a href="https://getmoonshine.app" rel="noopener noreferrer"&gt;MoonShine&lt;/a&gt; framework, not the MoonShine that is MoonShine at grandpa's house in the village 🌙🏕️🍺🔥 And I want to tell you about the framework, which is based on the principles of Laravel architecture and the principles of the author's view of the code. &lt;br&gt;
Perhaps I will surprise someone, but this framework helped me a lot in routine tasks with &lt;a href="https://en.wikipedia.org/wiki/Create,_read,_update_and_delete" rel="noopener noreferrer"&gt;CRUD&lt;/a&gt;-operations, query filters, fields decorations and many more packages, where you can find them on the &lt;a href="https://getmoonshine.app/plugins" rel="noopener noreferrer"&gt;plugins&lt;/a&gt; page.&lt;br&gt;
⌛ In total, it has helped me speed up my development time many times over, at least 3-4 months of time savings per year on average. ☕📚👨‍🎓 By the way, while I was studying this tool - wrote 3 small projects 🎯🛠️📊, such as logging for API services, a simple blog and a very complicated case like a freelance exchange with a balance for users. It turns out that the rest of the time, I can spend on my own projects, after my clients' projects with the same workload that I have today as I have had for the last 🔟 years 🚀🌌.&lt;/p&gt;
&lt;h5&gt;
  
  
  So what is this thing? 🌚
&lt;/h5&gt;

&lt;p&gt;&lt;a href="https://getmoonshine.app" rel="noopener noreferrer"&gt;MoonShine&lt;/a&gt; is a modern admin panel for Laravel applications. Below is a step-by-step guide to installing MoonShine for Laravel.&lt;/p&gt;

&lt;p&gt;As you might have guessed under the hood there is a stack time-honored of Tailwindcss, Alpine.js, Laravel&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This is an &lt;a href="https://en.wikipedia.org/wiki/Open_source" rel="noopener noreferrer"&gt;open-source&lt;/a&gt; project, the main task of which is to make the admin panel as simple as possible (for junior developers) and at the same time functional and customizable (for experienced ones).&lt;br&gt;
 &lt;em&gt;Danil Shchutsky (c)&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&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.amazonaws.com%2Fuploads%2Farticles%2Fv4z3m4b53xbttuii9xe9.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.amazonaws.com%2Fuploads%2Farticles%2Fv4z3m4b53xbttuii9xe9.png" alt="Dashboard page" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  Requirements [composer v2+]
&lt;/h4&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"require"&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;"php"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"^8.2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"laravel/framework"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"^10.48"&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;h3&gt;
  
  
  Step 0: Create a New Laravel Project
&lt;/h3&gt;

&lt;p&gt;If you don’t have a Laravel project yet, create one:&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 laravel/laravel my-first-moonshine-project  
&lt;span class="nb"&gt;cd &lt;/span&gt;my-first-moonshine-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 1: Install MoonShine via Composer
&lt;/h3&gt;

&lt;p&gt;Add MoonShine to your project using Composer:&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 moonshine/moonshine
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Publish MoonShine skeleton
&lt;/h3&gt;

&lt;p&gt;Run the following command to publish configuration files and assets:&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 moonshine:install &lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="nt"&gt;--with-options&lt;/span&gt;&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can learn about all supported options in the section Commands of &lt;a href="https://getmoonshine.app/en/docs/3.x/advanced/commands#install" rel="noopener noreferrer"&gt;documentation&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: View awesome result
&lt;/h3&gt;

&lt;p&gt;Up serve like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan server --port={YOUR_LIKE_PORT}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Don't forget update your new .env file after install laravel 🐱&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Also you should look into &lt;code&gt;config/moonshine.php&lt;/code&gt; or &lt;code&gt;MoonShineServiceProvider.php&lt;/code&gt; to understand the entire universe 🌌🌍🌙🪐✨,&lt;/li&gt;
&lt;li&gt;by default route is &lt;code&gt;/admin&lt;/code&gt; 🌅🌲🚶‍♀️&lt;/li&gt;
&lt;/ul&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.amazonaws.com%2Fuploads%2Farticles%2Fq633493pgyoxm8zrd14c.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.amazonaws.com%2Fuploads%2Farticles%2Fq633493pgyoxm8zrd14c.png" alt="Login page" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All done, well done! 🌈🎉👏&lt;/p&gt;

&lt;p&gt;I hope you also find this reliable tool useful. as I found it for myself. ❤️&lt;/p&gt;

&lt;p&gt;Good luck!&lt;/p&gt;

</description>
      <category>moonshine</category>
      <category>laravel</category>
      <category>php</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
