<?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: larawell-done</title>
    <description>The latest articles on DEV Community by larawell-done (@larawelldone).</description>
    <link>https://dev.to/larawelldone</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%2F1016221%2F10138986-1bde-421c-ade3-4bc78bc1a4c9.png</url>
      <title>DEV Community: larawell-done</title>
      <link>https://dev.to/larawelldone</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/larawelldone"/>
    <language>en</language>
    <item>
      <title>Laravel Breeze Quick Setup</title>
      <dc:creator>larawell-done</dc:creator>
      <pubDate>Sat, 18 Feb 2023 17:41:23 +0000</pubDate>
      <link>https://dev.to/larawelldone/laravel-breeze-quick-setup-dln</link>
      <guid>https://dev.to/larawelldone/laravel-breeze-quick-setup-dln</guid>
      <description>&lt;p&gt;&lt;a href="https://laravel.com/docs/10.x/starter-kits#laravel-breeze"&gt;Laravel Breeze&lt;/a&gt; is a minimalist starter kit for building Laravel-based web applications. It provides a simple authentication system, basic UI components, and a few pre-built routes and views to help developers get started quickly. In this blog post, we will guide you through the steps to install Laravel Breeze in your Laravel application.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: &lt;strong&gt;Create a new Laravel application&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;First, you need to create a new Laravel application using the Composer command. Open your terminal and navigate to the directory where you want to create your new Laravel application. Then, run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;composer create-project --prefer-dist laravel/laravel &amp;lt;project-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;&amp;lt;project-name&amp;gt;&lt;/code&gt; with the name of your project. This command will download the latest version of Laravel and create a new Laravel application in the specified directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: &lt;strong&gt;Install Laravel Breeze&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Once you have created your Laravel application, you can install Laravel Breeze using Composer. In your terminal, navigate to the root directory of your Laravel application and run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;composer require laravel/breeze --dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will install Laravel Breeze as a development dependency.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: &lt;strong&gt;Generate authentication scaffolding&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Next, you need to generate the authentication scaffolding using the following command:&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 breeze:install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will generate the basic authentication routes, views, and controllers needed for user registration, login, and password reset. If asked select the stack&lt;code&gt;(blade|react|vue|api)&lt;/code&gt; that you want to install, It will also install the necessary NPM packages for the authentication UI components.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: &lt;strong&gt;Run migrations&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The authentication scaffolding includes a users table, so you need to run the database migrations to create this table. Run the following command to run the migrations:&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 migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 5: &lt;strong&gt;Compile assets&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Once the authentication scaffolding has been generated, you need to compile the assets using the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install &amp;amp;&amp;amp; npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will install the required NPM packages and compile the assets.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: &lt;strong&gt;Test the authentication system&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;That's it! You have now installed Laravel Breeze and generated the basic authentication scaffolding. With your application server up and running(&lt;code&gt;php artisan serve&lt;/code&gt;) you can test the authentication system by navigating to the &lt;code&gt;/register&lt;/code&gt; and &lt;code&gt;/login&lt;/code&gt; routes in your application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CZYmAmQF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/28ko4lcho978pmig59up.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CZYmAmQF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/28ko4lcho978pmig59up.png" alt="register" width="620" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;, Laravel Breeze is a great starting point for building Laravel-based web applications that require basic authentication features. With just a few simple steps, you can quickly set up an authentication system and get started with your application development.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>breeze</category>
      <category>php</category>
      <category>authentication</category>
    </item>
    <item>
      <title>Getting started with Laravel 10 - Installation</title>
      <dc:creator>larawell-done</dc:creator>
      <pubDate>Sat, 18 Feb 2023 15:49:56 +0000</pubDate>
      <link>https://dev.to/larawelldone/getting-started-with-laravel-10-installation-40o5</link>
      <guid>https://dev.to/larawelldone/getting-started-with-laravel-10-installation-40o5</guid>
      <description>&lt;p&gt;&lt;a href="https://laravel.com/" rel="noopener noreferrer"&gt;Laravel&lt;/a&gt; is a popular open-source PHP framework that is widely used for web development. It's known for its simplicity, flexibility, and powerful features that make it easier for developers to build robust and scalable applications. In this blog, we'll guide you through the process of installing &lt;a href="https://laravel.com/docs/10.x" rel="noopener noreferrer"&gt;Laravel 10&lt;/a&gt; on any type of system, whether you're running Windows, macOS, or Linux.&lt;/p&gt;

&lt;p&gt;Before installing Laravel 10, you need to ensure that your system meets the following requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PHP 8.1&lt;/li&gt;
&lt;li&gt;Composer&lt;/li&gt;
&lt;li&gt;MySQL or any other database&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: &lt;strong&gt;Install Composer&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Composer is a dependency manager for PHP that helps you manage packages and libraries. Laravel uses Composer, so you'll need to install it on your system before you can proceed with the Laravel installation.&lt;/p&gt;

&lt;p&gt;To install Composer, you can follow the steps below:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Go to the official &lt;a href="https://getcomposer.org/" rel="noopener noreferrer"&gt;Composer website&lt;/a&gt; and download the installation package for your system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run the installation package and follow the instructions to complete the installation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To verify that Composer is installed, open your terminal or command prompt and run the following command:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;composer --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This should display the Composer version installed on your system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: &lt;strong&gt;Install Laravel&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;With Composer installed, you can now proceed with installing Laravel by following these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open your terminal or command prompt and navigate to the directory where you want to install Laravel.&lt;/li&gt;
&lt;li&gt;Run the following command to install Laravel:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;composer create-project --prefer-dist laravel/laravel &amp;lt;project-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;&amp;lt;project-name&amp;gt;&lt;/code&gt; with the name of your project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Composer will now download and install Laravel and its dependencies. This process may take some time depending on your internet speed and the complexity of your project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once the installation is complete, you can verify that Laravel is installed by navigating to the project directory and running the following command:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This should display the version of Laravel installed on your system.&lt;/p&gt;

&lt;p&gt;Congratulations, you've successfully installed Laravel 10 on your system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: &lt;strong&gt;Configure the Database&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Laravel uses a configuration file called &lt;strong&gt;.env&lt;/strong&gt; to manage your application's &lt;a href="https://laravel.com/docs/10.x/configuration#environment-configuration" rel="noopener noreferrer"&gt;environment&lt;/a&gt; variables. Open the &lt;strong&gt;.env&lt;/strong&gt; file in your project directory and configure your database settings. You'll need to set the following variables:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;your_database_name&lt;/code&gt;, &lt;code&gt;your_database_username&lt;/code&gt;, and &lt;code&gt;your_database_password&lt;/code&gt; with your own database credentials.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: &lt;strong&gt;Serve the Application&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Finally, you can serve your application by running the following command in your terminal:&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 serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will start a local development server that you can access by visiting &lt;a href="http://localhost:8000" rel="noopener noreferrer"&gt;http://localhost:8000&lt;/a&gt; in your web browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2F6rp90wx9n25j0aybpsyw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F6rp90wx9n25j0aybpsyw.png" alt="http://localhost:8000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;In this blog post, we've gone through the steps for installing Laravel 10 on your system. Now that you have Laravel installed, you can start building your web application with this powerful framework. Happy coding!&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>laravel10</category>
      <category>install</category>
    </item>
  </channel>
</rss>
