<?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: Saddam Hossain</title>
    <description>The latest articles on Forem by Saddam Hossain (@mshsayket).</description>
    <link>https://forem.com/mshsayket</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%2F1411425%2F60744d62-0e15-47bf-8656-25ba9b07fa28.jpg</url>
      <title>Forem: Saddam Hossain</title>
      <link>https://forem.com/mshsayket</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mshsayket"/>
    <language>en</language>
    <item>
      <title>Laravel File Upload with Progress Bar Example</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Wed, 28 May 2025 12:23:35 +0000</pubDate>
      <link>https://forem.com/mshsayket/laravel-file-upload-with-progress-bar-example-3pg9</link>
      <guid>https://forem.com/mshsayket/laravel-file-upload-with-progress-bar-example-3pg9</guid>
      <description>&lt;p&gt;In this post, we will learn how to ajax image upload with progress bar in laravel application. Laravel File Upload with Progress Bar&lt;/p&gt;

&lt;p&gt;You always did file uploading in a normal way, and you can do it easily. But when you have a large amount of file size, it takes time to upload on a server. Maybe you can’t reduce the time to upload a file or image, but you can display a progress bar with a percentage so the client can understand how much time is left to upload a file.&lt;/p&gt;

&lt;p&gt;In this tutorial, we will create two routes with the FileController controller file. When you click on the submit button, fire the jQuery AJAX method, and the upload of the image will show you a progress bar. Let’s follow the steps below to do this example.&lt;/p&gt;

&lt;p&gt;Laravel File Upload with Progress Bar Example&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel 12
&lt;/h2&gt;

&lt;p&gt;First of all, we need to get a fresh Laravel 11 version application using the command below because we are starting from scratch. So, open your terminal or command prompt and run the command below:&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 laravel/laravel example-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Create Routes
&lt;/h2&gt;

&lt;p&gt;In the first step, we will add two new routes. One for displaying the view, and we will write jQuery code in the view file. In the second step, we will create a POST route for file upload.&lt;/p&gt;

&lt;p&gt;routes/web.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\FileController;

Route::controller(FileController::class)-&amp;gt;group(function(){
    Route::get('file-upload', 'index');
    Route::post('file-upload', 'store')-&amp;gt;name('file.upload');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read Also: &lt;a href="https://www.devscriptschool.com/laravel-12-create-blade-file-using-command-example/" rel="noopener noreferrer"&gt;Laravel 12 Create Blade File using Command Example&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Create FileController
&lt;/h2&gt;

&lt;p&gt;In the second step, we need to create the FileController controller with index() and store() methods. You need to create a “files” folder in the public folder. We will store all files in that folder. Just create a new controller and put the code below in it:&lt;/p&gt;

&lt;p&gt;app/Http/Controllers/FileController.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class FileController extends Controller
{
    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        return view('fileUpload');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        $request-&amp;gt;validate([
            'file' =&amp;gt; 'required',
        ]);

        $fileName = time().'.'.$request-&amp;gt;file-&amp;gt;getClientOriginalExtension();

        $request-&amp;gt;file-&amp;gt;move(public_path('files'), $fileName);

        return response()-&amp;gt;json(['success' =&amp;gt; 'You have successfully upload file.']);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4: Create Blade File
&lt;/h2&gt;

&lt;p&gt;In this last step, we need to create the fileUpload.blade.php file and write code for jQuery to show you the progress bar. So, you simply have to add the below code at the following path:&lt;br&gt;
Read Full Tutorials From &lt;a href="https://www.devscriptschool.com/laravel-file-upload-with-progress-bar-example/" rel="noopener noreferrer"&gt;DevScriptSchool &lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Laravel 12 Create Blade File using Command Example</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Wed, 28 May 2025 12:18:11 +0000</pubDate>
      <link>https://forem.com/mshsayket/laravel-12-create-blade-file-using-command-example-37o9</link>
      <guid>https://forem.com/mshsayket/laravel-12-create-blade-file-using-command-example-37o9</guid>
      <description>&lt;p&gt;In this short post, i will show you how to create view blade file using artisan command in laravel 12 application. we&lt;/p&gt;

&lt;p&gt;will use make:view artisan command to create blade file. Laravel has recently launched version 11, which includes a notable enhancement: the addition of a new Artisan command&lt;/p&gt;

&lt;p&gt;option for creating Blade files. You can now generate a view file in Laravel 12 by executing the following&lt;/p&gt;

&lt;p&gt;straightforward command: php artisan make:view welcome. This command simplifies the&lt;/p&gt;

&lt;p&gt;process of creating Blade files via the Artisan command.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example 1: Laravel 12 Create Blade File Command
&lt;/h2&gt;

&lt;p&gt;Here, the below command will help you to create 'dashboard.blade.php' file. so, let's run it and check the output as&lt;/p&gt;

&lt;p&gt;well.&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 make:view dashboard
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;they will create new file as like the below:&lt;/p&gt;

&lt;p&gt;resources/views/dashboard.blade.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div&amp;gt;
    &amp;lt;!-- Live as if you were to die tomorrow. Learn as if you were to live forever. - Mahatma Gandhi --&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Example 2: Laravel 12 Create Blade File inside Directory Command
&lt;/h2&gt;

&lt;p&gt;Here, the below command will help you to create 'index.blade.php' file in users folder.&lt;/p&gt;

&lt;p&gt;so, let's run it and check the output as well.&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 make:view users.index
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;they will create new file as like the below:&lt;/p&gt;

&lt;p&gt;resources/views/users/index.blade.php&lt;/p&gt;

&lt;p&gt;Read Also: &lt;a href="https://www.devscriptschool.com/laravel-file-upload-with-progress-bar-example/" rel="noopener noreferrer"&gt;Laravel File Upload with Progress Bar Example&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div&amp;gt;
    &amp;lt;!-- He who is contented is rich. - Laozi --&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These commands really help us.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>Laravel 12 Remove Public from URL</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Sat, 24 May 2025 13:06:38 +0000</pubDate>
      <link>https://forem.com/mshsayket/laravel-12-remove-public-from-url-4m2g</link>
      <guid>https://forem.com/mshsayket/laravel-12-remove-public-from-url-4m2g</guid>
      <description>&lt;p&gt;we will learn how to remove public from url using htaccess file in laravel 12 application.&lt;/p&gt;

&lt;p&gt;Sometimes, we put our Laravel app on shared hosting and want to run it. But we can’t set the path to index.php directly on shared hosting. We have to run the app with the “public” folder. This makes “public” show up in the URL, which we don’t want. Here, I will give you two solutions to remove “public” from the URL in a Laravel app.&lt;/p&gt;

&lt;h2&gt;
  
  
  Laravel 12 Remove Public from URL Example
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Solution 1: Laravel Remove Public From URL using .htaccess
&lt;/h2&gt;

&lt;p&gt;In Laravel, the .htaccess file can be generated and edited to incorporate new changes. The .htaccess file is located in the root directory, and its modification requires mod_rewrite to be enabled on your Apache server. It is mandatory to enable the rewrite module to implement these changes. Moreover, you need to activate .htaccess in Apache virtual host to use it in Laravel.&lt;/p&gt;

&lt;p&gt;Finally, Just go to root folder and create .htaccess file and upload with following code&lt;/p&gt;

&lt;p&gt;.htaccess&lt;/p&gt;

&lt;p&gt;Read Also: &lt;a href="https://www.devscriptschool.com/laravel-12-jquery-load-more-data-on-scroll-example/" rel="noopener noreferrer"&gt;Laravel 12 JQuery Load More Data on Scroll Example&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt;
   RewriteEngine On 
   RewriteRule ^(.*)$ public/$1 [L]
&amp;lt;/IfModule&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Solution 2: Rename server.php and Move .htaccess File
&lt;/h2&gt;

&lt;p&gt;To remove “public” from your Laravel URL, you need to complete the following two steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Rename the server.php file in your Laravel root folder to index.php.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy the .htaccess file located in the /public directory to your Laravel root folder.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All public folder css and js file move to root folder.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I Think it can help you…&lt;br&gt;
Read More Tutorials from &lt;a href="https://www.devscriptschool.com/" rel="noopener noreferrer"&gt;DevScriptSchool&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>laravel</category>
    </item>
    <item>
      <title>How To Move File from One Folder to Another In Laravel</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Mon, 20 Jan 2025 04:23:09 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-move-file-from-one-folder-to-another-in-laravel-3567</link>
      <guid>https://forem.com/mshsayket/how-to-move-file-from-one-folder-to-another-in-laravel-3567</guid>
      <description>&lt;p&gt;In This Tutorial I will Show you How To Move File from One Folder to Another In Laravel Application.&lt;/p&gt;

&lt;p&gt;This article will provide some of the most important example how to move file from one folder to another in laravel. this example will help you move files from one folder to another in laravel. I’m going to show you about laravel cut file from one disk to another.&lt;/p&gt;

&lt;p&gt;If you require to move file from one folder to another in laravel application then i will help you how to do it in &lt;a href="https://www.devscriptschool.com/tag/laravel/" rel="noopener noreferrer"&gt;laravel&lt;/a&gt;. laravel provide File and Storage facade and their method to work with file system. i will give you both way example with syntax so you can use it. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-generate-fake-data-using-factory-tinker-in-laravel-11-example/" rel="noopener noreferrer"&gt;How to generate fake data using factory tinker in laravel 11 Example&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can easily move file in laravel 5, laravel 6, laravel 7, laravel 8, laravel 9, laravel 10 and laravel 11 in this post solution.&lt;/p&gt;

&lt;h2&gt;
  
  
  How To Move File from One Folder to Another In Laravel
&lt;/h2&gt;

&lt;p&gt;Example 1: File Facade&lt;br&gt;
Syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;File::move(from_path, to_path);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;In this example, i have one folder “exist” with test.png image in public folder. we will move this file to new folder “move” with rename file test_move.png. so let’s see bellow code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use File; 

class DemoController extends Controller
{
    /**
     * Write code on Construct
     *
     * @return \Illuminate\Http\Response
     */  

    public function moveImage(Request $request)
    {

        File::move(public_path('exist/test.png'), public_path('move/test_move.png'));
        dd('Copy File dont.');

    }

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Example 2: Storage Facade
&lt;/h2&gt;

&lt;p&gt;Syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Storage::move(from_path, to_path);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;In this example, i have one folder “exist” with test.png image in storage. we will move this file to new folder “move” with rename file test_move.png. so let’s see bellow code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php  
namespace App\Http\Controllers; 

use Illuminate\Http\Request;
use Storage;  
class DemoController extends Controller
{    
/**     
* Write code on Construct     
*     
* @return \Illuminate\Http\Response     
*/      
public function moveImage(Request $request)    
{        
Storage::move('exist/test.png', 'move/test_move.png');           
dd('Copy File dont.');    
}}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I Think it’s Help You.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>tutorial</category>
      <category>learning</category>
    </item>
    <item>
      <title>How To Create Dynamic Apexcharts Using Larapex Charts Package in Laravel 11</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Mon, 20 Jan 2025 04:18:33 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-create-dynamic-apexcharts-using-larapex-charts-package-in-laravel-11-584m</link>
      <guid>https://forem.com/mshsayket/how-to-create-dynamic-apexcharts-using-larapex-charts-package-in-laravel-11-584m</guid>
      <description>&lt;p&gt;In this tutorial, I will show you how to create dynamic apexcharts using larapex charts package in &lt;a href="https://www.devscriptschool.com/tag/laravel-11/" rel="noopener noreferrer"&gt;laravel 11&lt;/a&gt; application.&lt;/p&gt;

&lt;p&gt;ApexCharts is a JavaScript library used for creating beautiful and interactive charts on websites. It makes it easy to visualize data through various chart types like bar, line, pie, and more. Users can customize the appearance, animate the charts, and interact with them to explore data. ApexCharts is popular because it’s easy to use and helps make data look appealing and understandable.&lt;/p&gt;

&lt;p&gt;In this example, we will create some dummy user records and then display a pie chart with all months of the current year. So let’s follow the below steps and add a chart to your &lt;a href="https://www.devscriptschool.com/tag/laravel/" rel="noopener noreferrer"&gt;Laravel &lt;/a&gt;11 apps. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-move-file-from-one-folder-to-another-in-laravel/" rel="noopener noreferrer"&gt;How To Move File from One Folder to Another In Laravel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How To Create Dynamic Apexcharts Using Larapex Charts Package in Laravel 11&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel 11
&lt;/h2&gt;

&lt;p&gt;This step is not required; however, if you have not created the Laravel app, then you may go ahead and execute the below command:&lt;/p&gt;

&lt;p&gt;How To Create Dynamic Apexcharts Using Larapex Charts Package in Laravel 11&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel 11
&lt;/h2&gt;

&lt;p&gt;This step is not required; however, if you have not created the Laravel app, then you may go ahead and execute the below 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 laravel/laravel example-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Install arielmejiadev/larapex-charts
&lt;/h2&gt;

&lt;p&gt;we need to install arielmejiadev/larapex-charts composer package 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;composer require arielmejiadev/larapex-charts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we will publish configuration file 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 vendor:publish --tag=larapex-charts-config
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3: Create Route
&lt;/h2&gt;

&lt;p&gt;First of all, we will create a simple route for creating a simple line chart. So let’s add simple routes as below:&lt;/p&gt;

&lt;p&gt;routes/web.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\ApexchartsController;

Route::get('charts', [ApexchartsController::class, 'index']);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4: Create Chart Class
&lt;/h2&gt;

&lt;p&gt;In this step, we will create “Charts” folder in app folder. then we will create MonthlyUsersChart.php file with the following code:&lt;/p&gt;

&lt;p&gt;app/Charts/MonthlyUsersChart.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

namespace App\Charts;

use ArielMejiaDev\LarapexCharts\LarapexChart;
use App\Models\User;
use DB;

class MonthlyUsersChart
{
    protected $chart;

    /**
     * Write code on Method
     *
     * @return response()
     */
    public function __construct(LarapexChart $chart)
    {
        $this-&amp;gt;chart = $chart;
    } 

    /**
     * Write code on Method
     *
     * @return response()
     */
    public function build()
    {
        $users = User::select(DB::raw("COUNT(*) as count"), DB::raw("MONTHNAME(created_at) as month_name"))
                    -&amp;gt;whereYear('created_at', date('Y'))
                    -&amp;gt;groupBy(DB::raw("Month(created_at)"))
                    -&amp;gt;pluck('count', 'month_name');

        return $this-&amp;gt;chart-&amp;gt;pieChart()
            -&amp;gt;setTitle('New Users - '.date('Y'))
            -&amp;gt;addData($users-&amp;gt;values()-&amp;gt;toArray())
            -&amp;gt;setLabels($users-&amp;gt;keys()-&amp;gt;toArray());
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5: Create Controller
&lt;/h2&gt;

&lt;p&gt;Here, we will create a new controller named ApexchartsController. So let’s add the code below to that controller file.&lt;/p&gt;

&lt;p&gt;app/Http/Controllers/ApexchartsController.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Charts\MonthlyUsersChart;

class ApexchartsController extends Controller
{
    /**
     * Write code on Method
     *
     * @return response()
     */
    public function index(MonthlyUsersChart $chart)
    {
        return view('apexcharts', ['chart' =&amp;gt; $chart-&amp;gt;build()]);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.devscriptschool.com/how-to-create-dynamic-apexcharts-using-larapex-charts-package-in-laravel-11/" rel="noopener noreferrer"&gt;Read Full Tutorials&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to Use Bootstrap Pagination in Laravel Blade (Tutorial)</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Mon, 20 Jan 2025 04:03:53 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-use-bootstrap-pagination-in-laravel-blade-tutorial-53nj</link>
      <guid>https://forem.com/mshsayket/how-to-use-bootstrap-pagination-in-laravel-blade-tutorial-53nj</guid>
      <description>&lt;p&gt;In this tutorial, How to Use Bootstrap Pagination in &lt;a href="https://www.devscriptschool.com/tag/laravel/" rel="noopener noreferrer"&gt;Laravel &lt;/a&gt;Blade. we’ll build an app that seeds 10,000 movies and shows them in a paginated list using &lt;a href="https://www.devscriptschool.com/tag/bootstrap/" rel="noopener noreferrer"&gt;Bootstrap &lt;/a&gt;and Laravel Blade. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-create-dynamic-apexcharts-using-larapex-charts-package-in-laravel-11/" rel="noopener noreferrer"&gt;How To Create Dynamic Apexcharts Using Larapex Charts Package in Laravel 11&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Why ten thousand records you say? We seed this many movies so that the application will create plenty of pages and can verify that the performance holds up properly!&lt;/p&gt;

&lt;p&gt;Let’s get started!&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use Bootstrap Pagination in Laravel Blade (Tutorial)
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Step 1: Installing Laravel
&lt;/h2&gt;

&lt;p&gt;Begin by creating a new Laravel project if you haven’t done so already.&lt;/p&gt;

&lt;p&gt;To do this, open your terminal and run:&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 laravel/laravel bootstrap-pagination-demo
cd bootstrap-pagination-demo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Creating the Model and Migration
&lt;/h2&gt;

&lt;p&gt;Now, generate a Movies Model along with a migration file to define the movie database schema by running:&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 make:model Movie -m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Afterwards, edit the migration file to define the ‘movies’ table schema and add:&lt;/p&gt;

&lt;p&gt;database/migration/2023_12_03_213058_create_movies_table.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    public function up(): void
    {
        Schema::create('movies', function (Blueprint $table) {
            $table-&amp;gt;id();
            $table-&amp;gt;string('title');
            $table-&amp;gt;string('country');
            $table-&amp;gt;date('release_date');
            $table-&amp;gt;timestamps();
        });
    }

    public function down(): void
    {
        Schema::dropIfExists('movies');
    }
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3: Running the Migration
&lt;/h2&gt;

&lt;p&gt;Run the migration to create the ‘movies’ table in the database:&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;h2&gt;
  
  
  Step 4: Creating the Factory
&lt;/h2&gt;

&lt;p&gt;Generate a factory that defines how Movie data looks like by running:&lt;/p&gt;

&lt;p&gt;php artisan make:factory MovieFactory --model=Movie&lt;br&gt;
Now, add the following code to define the structure and data of our fake movies:&lt;/p&gt;

&lt;p&gt;database/factories/MovieFactory.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class MovieFactory extends Factory
{
    public function definition(): array
    {
        return [
            'title' =&amp;gt; $this-&amp;gt;faker-&amp;gt;sentence,
            'country' =&amp;gt; $this-&amp;gt;faker-&amp;gt;country,
            'release_date' =&amp;gt; $this-&amp;gt;faker-&amp;gt;dateTimeBetween('-40 years', 'now'),
        ];
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.devscriptschool.com/how-to-use-bootstrap-pagination-in-laravel-blade-tutorial/" rel="noopener noreferrer"&gt;Read More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>tutorial</category>
      <category>learning</category>
    </item>
    <item>
      <title>How to Get Last 7 Days Record in Laravel</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Mon, 20 Jan 2025 03:59:48 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-get-last-7-days-record-in-laravel-2e46</link>
      <guid>https://forem.com/mshsayket/how-to-get-last-7-days-record-in-laravel-2e46</guid>
      <description>&lt;p&gt;In this tutorial i will show you, How to Get Last 7 Days Record in Laravel application. This simple article demonstrates of laravel get last 7 days records. i explained simply about get last 7 days data in laravel. i explained simply step by step get last 7 days records in laravel. In this article, we will implement a laravel get last 7 days data from database.&lt;/p&gt;

&lt;p&gt;we can easily get last 7 days records in laravel 6, laravel 7, laravel 8, laravel 9, laravel 10 and laravel 11 version. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-generate-and-read-sitemap-xml-file-in-laravel-11-tutorial/" rel="noopener noreferrer"&gt;How to Generate and Read Sitemap XML File in Laravel 11 Tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;i will show you simple code of controller method where we written code to getting last 7 days records using carbon laravel eloquent.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Get Last 7 Days Record in Laravel Example:
&lt;/h2&gt;

&lt;p&gt;let’s see controller code:&lt;/p&gt;

&lt;p&gt;Controller File:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Carbon\Carbon;

class UserController extends Controller

{
    /**
     * Write code on Method
     *
     * @return response()
     */

    public function index()
    {
        $date = Carbon::now()-&amp;gt;subDays(7);
        $users = User::where('created_at', '&amp;gt;=', $date)-&amp;gt;get();
        dd($users);

    }

}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read More Tutorials From &lt;a href="https://www.devscriptschool.com/" rel="noopener noreferrer"&gt;DevScriptSchool.Com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to generate fake data using factory tinker in laravel 11 Example</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Thu, 16 Jan 2025 06:27:23 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-generate-fake-data-using-factory-tinker-in-laravel-11-example-464d</link>
      <guid>https://forem.com/mshsayket/how-to-generate-fake-data-using-factory-tinker-in-laravel-11-example-464d</guid>
      <description>&lt;p&gt;In this article, I will show you How to generate fake data using factory tinker in laravel 11 application. As we know, testing is a very important part of any web development project. Sometimes we may require to add hundreds of records to our users table, or maybe thousands of records. Also, think about if you require to check pagination, then you have to add some records for testing. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-install-and-use-trix-editor-in-laravel-11/" rel="noopener noreferrer"&gt;How to Install and Use Trix Editor in Laravel 11&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So what will you do at that moment? Will you manually add thousands of records? What do you do? If you add manually thousands of records, then it can take more time.&lt;/p&gt;

&lt;p&gt;However, Laravel has a tinker that provides the ability to create dummy records for your model table. So in the Laravel application, they provide a User model factory created by default. You can see how to create records using the factory below:&lt;/p&gt;

&lt;p&gt;Generate Dummy Users:&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 tinker

User::factory()-&amp;gt;count(5)-&amp;gt;create()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This by default created a factory of Laravel. You can also see that at the following URL: &lt;code&gt;database/factories/UserFactory.php&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Custom Factory:
&lt;/h2&gt;

&lt;p&gt;But when you need to create dummy records for your products, items, or admin table, then you have to create a new factory using the tinker command. Here, &lt;br&gt;
&lt;a href="https://www.devscriptschool.com/how-to-generate-fake-data-using-factory-tinker-in-laravel-11-example/" rel="noopener noreferrer"&gt;Read More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>laravel</category>
      <category>php</category>
    </item>
    <item>
      <title>How to Generate and Read Sitemap XML File in Laravel 11 Tutorial</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Thu, 16 Jan 2025 06:24:55 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-generate-and-read-sitemap-xml-file-in-laravel-11-tutorial-4h4g</link>
      <guid>https://forem.com/mshsayket/how-to-generate-and-read-sitemap-xml-file-in-laravel-11-tutorial-4h4g</guid>
      <description>&lt;p&gt;In this tutorials, I will Show, How to Generate and Read Sitemap XML File in Laravel 11 Tutorial. Learn the basics of generating and reading sitemap files with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is an XML Sitemap?
&lt;/h2&gt;

&lt;p&gt;An XML sitemap is like a map for your website that search engines, like Google, use to find and understand your site better. Think of it as a table of contents for your website that helps search engines find and list all your web pages. This makes it simpler for people to find your site when they search online. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-install-and-use-trix-editor-in-laravel-11/" rel="noopener noreferrer"&gt;How to Install and Use Trix Editor in Laravel 11&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Need Sitemap XML?
&lt;/h2&gt;

&lt;p&gt;Having a XML map for your Laravel website is very important because of some reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Improved Visibility: Search engines can find and rank your pages better if you have a sitemap. That means more folks can find your site.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Better SEO: It makes your website better for search engines by making sure all the important pages are listed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Faster Updates: When you put new stuff or make changes, a sitemap helps search engines see these updates fast.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In this example, we will create a posts table with a title, slug, and body. Then, we will create a factory for generating dummy posts. Finally, we will generate an XML file and list all the URLs for the posts. This is a very basic example, so let’s follow along, and you will have a sitemap file for your website that you can submit to the webmaster’s tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel 11
&lt;/h2&gt;

&lt;p&gt;This step is not required; however, if you have not created the Laravel app, then you may go ahead and execute the below 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 laravel/laravel example-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Create Post Migration and Model
&lt;/h2&gt;

&lt;p&gt;In this step, we will create migration and model. So let’s run the below command to create posts table.&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 make:migration create_posts_table
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, simply update the code below to the migration file. &lt;a href="https://www.devscriptschool.com/how-to-generate-and-read-sitemap-xml-file-in-laravel-11-tutorial/" rel="noopener noreferrer"&gt;Read More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>seo</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Image Upload with CKeditor in Laravel 11 Tutorial</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Mon, 13 Jan 2025 03:19:34 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-image-upload-with-ckeditor-in-laravel-11-tutorial-4ob7</link>
      <guid>https://forem.com/mshsayket/how-to-image-upload-with-ckeditor-in-laravel-11-tutorial-4ob7</guid>
      <description>&lt;p&gt;In this post, I will show you How to Image Upload with CKeditor in Laravel 11 Tutorial.&lt;/p&gt;

&lt;p&gt;CKEditor is a web-based, open-source WYSIWYG (What You See Is What You Get) editor that allows users to edit text content in a browser. It is a powerful tool that enables users to create and format text, add images and multimedia, and edit HTML code without any knowledge of coding. CKEditor was first released in 2003 and has since become a popular choice for web developers and content creators due to its versatility and ease of use. It is written in JavaScript and can be integrated into any web application with ease.&lt;/p&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%2Fsjbb1mrlr1437npme9ft.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%2Fsjbb1mrlr1437npme9ft.png" alt="Image description" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this example, we will create a simple CKEditor instance with an image upload option that saves the image to local storage. We will set up two routes, one for GET and one for POST requests (for image uploads). Once the user selects an image and submits it, the image will be stored in the ‘media’ folder. You Can Learn &lt;a href="https://www.devscriptschool.com/laravel-11-cors-middleware-configuration-example/" rel="noopener noreferrer"&gt;Laravel 11 CORS Middleware Configuration Example&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How to Image Upload with CKeditor in Laravel 11 Tutorial Example&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel 11
&lt;/h2&gt;

&lt;p&gt;First of all, we need to get a fresh Laravel 11 version application using the command below because we are starting from scratch. So, open your terminal or command prompt and run the command below:&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 laravel/laravel example-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Create Route
&lt;/h2&gt;

&lt;p&gt;In this step, we will add three routes with GET and POST method in routes/web.php file. so let’s add it.&lt;/p&gt;

&lt;p&gt;routes/web.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\CkeditorController;

Route::get('ckeditor', [CkeditorController::class, 'index']);
Route::post('ckeditor/upload', [CkeditorController::class, 'upload'])-&amp;gt;name('ckeditor.upload');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.devscriptschool.com/how-to-image-upload-with-ckeditor-in-laravel-11-tutorial/" rel="noopener noreferrer"&gt;Read Full Tutorials&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>laravel</category>
      <category>php</category>
    </item>
    <item>
      <title>How to Install and Use Trix Editor in Laravel 11</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Mon, 13 Jan 2025 03:10:27 +0000</pubDate>
      <link>https://forem.com/mshsayket/how-to-install-and-use-trix-editor-in-laravel-11-1dj6</link>
      <guid>https://forem.com/mshsayket/how-to-install-and-use-trix-editor-in-laravel-11-1dj6</guid>
      <description>&lt;p&gt;In this article, I will show you how to install and use Trix Editor in laravel 11 application. we will use image upload with trix editor in laravel 11.&lt;/p&gt;

&lt;p&gt;Trix Editor is a lightweight, rich text editor for the web, developed by Basecamp. Designed for simplicity and ease of use, it offers essential text formatting features like bold, italics, links, and lists, without overwhelming users with options. Itâ€™s built with modern web technologies and integrates seamlessly into web applications, providing a clean, intuitive interface for creating and editing content. You Can Learn &lt;a href="https://www.devscriptschool.com/how-to-image-upload-with-ckeditor-in-laravel-11-tutorial/" rel="noopener noreferrer"&gt;How to Image Upload with CKeditor in Laravel 11 Tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this example, we will create a simple use Trix editor with an image upload option that saves the image to local storage. We will set up three routes, we create one POST route to upload image. Once the user selects an image and submits it, the image will be stored in the ‘media’ folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel 11
&lt;/h2&gt;

&lt;p&gt;First of all, we need to get a fresh Laravel 11 version application using the command below because we are starting from scratch. So, open your terminal or command prompt and run the command below:&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 laravel/laravel example-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Create Route
&lt;/h2&gt;

&lt;p&gt;In this step, we will add three routes with GET and POST method in routes/web.php file. so let’s add it.&lt;/p&gt;

&lt;p&gt;routes/web.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\TrixController;

Route::get('trix', [TrixController::class, 'index']);
Route::post('trix/upload', [TrixController::class, 'upload'])-&amp;gt;name('trix.upload');
Route::post('trix/store', [TrixController::class, 'store'])-&amp;gt;name('trix.store');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Step 3: Create Controller&lt;br&gt;
In this step, we have to create new controller as TrixController with index() and update() methods.&lt;/p&gt;

&lt;p&gt;Make sure you have created media folder in your public directory because images will store on that folder.&lt;/p&gt;

&lt;p&gt;so let’s update follow code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.devscriptschool.com/how-to-install-and-use-trix-editor-in-laravel-11/" rel="noopener noreferrer"&gt;Read Full Tutorials&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>php</category>
    </item>
    <item>
      <title>Laravel 11 Livewire Wizard Multi Step Form Tutorial</title>
      <dc:creator>Saddam Hossain</dc:creator>
      <pubDate>Sun, 17 Nov 2024 13:18:44 +0000</pubDate>
      <link>https://forem.com/mshsayket/laravel-11-livewire-wizard-multi-step-form-tutorial-3p7h</link>
      <guid>https://forem.com/mshsayket/laravel-11-livewire-wizard-multi-step-form-tutorial-3p7h</guid>
      <description>&lt;p&gt;In this tutorial, I would like to share with you how to create Laravel 11 Livewire Wizard Multi Step Form Tutorial.&lt;/p&gt;

&lt;p&gt;Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel. If you are using Livewire with Laravel, then you don’t need to worry about writing jQuery AJAX code; Livewire will help you write jQuery AJAX code using PHP in a very simple way. Without page refresh, Laravel validation will work, the form will be submitted, etc.&lt;/p&gt;

&lt;p&gt;Laravel 11 Livewire Wizard Multi Step Form Tutorial&lt;br&gt;
Here, I will give you a very simple example of a multi-step form using Bootstrap wizard design. We will create a products table with name, description, amount, status, and stock columns. Then, in the first step, the user will be able to enter name, description, and amount details and click on the next step. In the second step, the user will be able to select status and add stock. Then, in the last step, the user will see all the information and submit it. You Can Learn &lt;a href="https://www.devscriptschool.com/laravel-11-livewire-pagination-tutorial/" rel="noopener noreferrer"&gt;Laravel 11 Livewire Pagination Tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, let’s follow the bellow step and you will get the layout:&lt;/p&gt;
&lt;h2&gt;
  
  
  Step for Laravel 11 Livewire Wizard Multi Step Form Tutorial Example
&lt;/h2&gt;
&lt;h2&gt;
  
  
  Step 1: Install Laravel 11
&lt;/h2&gt;

&lt;p&gt;First of all, we need to get a fresh Laravel 11 version application using the command below because we are starting from scratch. So, open your terminal or command prompt and run the command below:&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 laravel/laravel example-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Create Migration and Model
&lt;/h2&gt;

&lt;p&gt;Here, we need to create a database migration for the files table, and also, we will create a model for the files table.&lt;br&gt;
&lt;a href="https://www.devscriptschool.com/laravel-11-livewire-wizard-multi-step-form-tutorial/" rel="noopener noreferrer"&gt;Read More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>livewire</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
