<?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>Forem: Ashish Bhandari</title>
    <description>The latest articles on Forem by Ashish Bhandari (@ashishtechdev).</description>
    <link>https://forem.com/ashishtechdev</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%2F3593339%2F3deb24ff-7e3a-46d2-98fa-5402827f790c.png</url>
      <title>Forem: Ashish Bhandari</title>
      <link>https://forem.com/ashishtechdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ashishtechdev"/>
    <language>en</language>
    <item>
      <title>My Laravel Journey – Part 1: Foundation</title>
      <dc:creator>Ashish Bhandari</dc:creator>
      <pubDate>Sun, 02 Nov 2025 18:23:46 +0000</pubDate>
      <link>https://forem.com/ashishtechdev/my-laravel-journey-part-1-foundation-259</link>
      <guid>https://forem.com/ashishtechdev/my-laravel-journey-part-1-foundation-259</guid>
      <description>&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%2F8v8753ebb5032a5gjwvq.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%2F8v8753ebb5032a5gjwvq.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
Hey everyone&lt;/p&gt;

&lt;p&gt;Welcome to Phase 1 of My Laravel Journey!&lt;br&gt;
In this post, we’ll cover the foundations of Laravel — from installation to understanding the project structure.&lt;/p&gt;

&lt;p&gt;Whether you’re completely new to Laravel or just refreshing your basics, this is a great place to start! 🚀&lt;/p&gt;

&lt;p&gt;🎯 What You’ll Learn&lt;/p&gt;

&lt;p&gt;✅ What Laravel is and why it’s so popular&lt;br&gt;
✅ How to set up Laravel using XAMPP &amp;amp; Composer&lt;br&gt;
✅ Creating your first Laravel project&lt;br&gt;
✅ Connecting your app to a MySQL database&lt;br&gt;
✅ Running migrations&lt;br&gt;
✅ Understanding the Laravel folder structure&lt;/p&gt;

&lt;p&gt;💡 What is Laravel?&lt;/p&gt;

&lt;p&gt;Laravel is a PHP framework that helps you build web applications quickly and cleanly.&lt;br&gt;
It follows the MVC (Model-View-Controller) architecture and includes built-in tools for routing, migrations, authentication, and more — making development faster and cleaner. ⚙️&lt;/p&gt;

&lt;p&gt;⚙️ Setting Up the Environment&lt;/p&gt;

&lt;p&gt;For this setup, I used XAMPP to manage PHP, Apache, and MySQL easily.&lt;/p&gt;

&lt;p&gt;You’ll also need:&lt;/p&gt;

&lt;p&gt;PHP 8.1 or higher&lt;/p&gt;

&lt;p&gt;Composer&lt;br&gt;
 (PHP dependency manager)&lt;/p&gt;

&lt;p&gt;Once installed, check your versions:&lt;/p&gt;

&lt;p&gt;php -v&lt;br&gt;
composer -v&lt;/p&gt;

&lt;p&gt;Then create your Laravel project:&lt;/p&gt;

&lt;p&gt;composer create-project laravel/laravel my-laravel-app&lt;/p&gt;

&lt;p&gt;Configure your database in .env:&lt;/p&gt;

&lt;p&gt;DB_CONNECTION=mysql&lt;br&gt;
DB_DATABASE=my-laravel-app&lt;br&gt;
DB_USERNAME=root&lt;br&gt;
DB_PASSWORD=&lt;/p&gt;

&lt;p&gt;Run migrations and start your server:&lt;/p&gt;

&lt;p&gt;php artisan migrate&lt;br&gt;
php artisan serve&lt;/p&gt;

&lt;p&gt;Visit &lt;a href="http://127.0.0.1:8000" rel="noopener noreferrer"&gt;http://127.0.0.1:8000&lt;/a&gt; — and you’re live! 🎉&lt;/p&gt;

&lt;p&gt;🗂️ Laravel Folder Structure Overview&lt;/p&gt;

&lt;p&gt;A quick tour of the main folders:&lt;/p&gt;

&lt;p&gt;app/ → Core logic (Models, Controllers, Middleware)&lt;/p&gt;

&lt;p&gt;config/ → Configuration files (database, cache, etc.)&lt;/p&gt;

&lt;p&gt;database/ → Migrations, seeders, factories&lt;/p&gt;

&lt;p&gt;public/ → Entry point and public assets&lt;/p&gt;

&lt;p&gt;resources/ → Blade templates, JS, CSS&lt;/p&gt;

&lt;p&gt;routes/ → Application URLs&lt;/p&gt;

&lt;p&gt;storage/ → Cache, logs, uploaded files&lt;/p&gt;

&lt;p&gt;Once you understand this structure, Laravel becomes much easier to work with.&lt;/p&gt;

&lt;p&gt;🎥 Watch the Full Tutorial&lt;/p&gt;

&lt;p&gt;I’ve explained everything step-by-step in my YouTube video — including live setup, migrations, and folder overview.&lt;br&gt;
👉 Watch here:&lt;a href="https://youtu.be/_uGvD3SZeJ8?si=7t60Cbv2Etc3Wvy-" rel="noopener noreferrer"&gt; [My Laravel Journey – Part 1: Foundation]&lt;/a&gt;&lt;br&gt;
💬 Let’s Connect!&lt;/p&gt;

&lt;p&gt;How was your first experience installing Laravel?&lt;br&gt;
Drop a comment or share your setup tips — I’d love to hear how your journey is going!&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
