How to Import Excel file data into database in Laravel 10 using maatwebsite/excel package w/ example

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • In this video, I have taught how to import excel sheet data into database in laravel 10 using maatwebsite/excel package. I have taken an example of Customer details to import data from excel sheet in database.
    Also how to update the existing data into database while excel import.
    Post - How to Import Excel file data into database in Laravel: www.fundaofweb...
    How to create Layout using Component in Laravel 10:
    • How to create Layout u...
    Laravel 10 Tutorial Playlist:
    • Laravel 10 Tutorial
    Follow us on Instagram: / funda_of_web_it
    Subscribe to my Hindi/Urdu Channel: / fundaofwebithindi

ความคิดเห็น • 22

  • @mirazh8216
    @mirazh8216 8 หลายเดือนก่อน +1

    very informative tut. please prepare a full real world project ( task/document/project management system using laravel this is my recommendation) please please please

  • @voiceofrjbilal
    @voiceofrjbilal 7 หลายเดือนก่อน +4

    Sir i got error
    after i give this comand : php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config
    Method Illuminate\Foundation\Application::share does not exist.

    • @nezseco4719
      @nezseco4719 6 หลายเดือนก่อน +2

      Do you still want to know how to solve it?

    • @QueenMaryem-w7e
      @QueenMaryem-w7e 6 หลายเดือนก่อน

      hi can u help me with that
      @@nezseco4719

    • @QueenMaryem-w7e
      @QueenMaryem-w7e 6 หลายเดือนก่อน +2

      did u resolve this problem because i got the same

    • @nezseco4719
      @nezseco4719 6 หลายเดือนก่อน

      @@QueenMaryem-w7e yeah i did

    • @nezseco4719
      @nezseco4719 6 หลายเดือนก่อน

      ​@@QueenMaryem-w7e Yeah, I do

  • @KarishmaShah-hw9qs
    @KarishmaShah-hw9qs 4 หลายเดือนก่อน

    Hello ,
    I am getting the error undefined array key 0 in CustomerImport file. Can you let me know the issue which might have happened.

  • @manishkushwaha-je6xy
    @manishkushwaha-je6xy 8 หลายเดือนก่อน

    Great sir, thank you, you keep your promise 🙏

  • @virenkhokhar6305
    @virenkhokhar6305 4 หลายเดือนก่อน

    This video is useful ❤ thankyou 🎉

  • @ManishKushwaha-m5s
    @ManishKushwaha-m5s 8 หลายเดือนก่อน +1

    Sir please create one more video how to download in excel

  • @virenkhokhar6305
    @virenkhokhar6305 4 หลายเดือนก่อน

    Sir can you please explain the database design and its retrieve of data in blade file of attandance. The attendance of every employee and it will be shown of the whole month. Please provide a video if its possible 🙏🏻 thankyou ❤

  • @Warkim
    @Warkim 2 หลายเดือนก่อน

    🎉 thank you sir

  • @maptoursdmcjordan6310
    @maptoursdmcjordan6310 2 หลายเดือนก่อน

    how to do it direct to the host without app ? i have xls fine need to uplode it, any one can help me ?

  • @forexspectrum4799
    @forexspectrum4799 3 หลายเดือนก่อน

    Thanks alot sir ❤

  • @user-rx8lz6yz4f
    @user-rx8lz6yz4f 7 หลายเดือนก่อน

    excellent, thanks!

  • @manishkushwaha-je6xy
    @manishkushwaha-je6xy 7 หลายเดือนก่อน

    sir we can use the updateOrInsert method at the position of the if and else condition

    • @fundaofwebit
      @fundaofwebit  7 หลายเดือนก่อน +1

      Yes, you can: here is a syntax with example :
      Product::updateOrCreate(
      [
      'name' => $request->name,
      ],
      [
      'name' => $request->name,
      'price' => $request->price,
      ]
      );

    • @manishkushwaha-je6xy
      @manishkushwaha-je6xy 7 หลายเดือนก่อน

      @@fundaofwebit thank you very much sir

  • @raveendrasothykeerththiga9231
    @raveendrasothykeerththiga9231 4 หลายเดือนก่อน

    Amazing

  • @QueenMaryem-w7e
    @QueenMaryem-w7e 6 หลายเดือนก่อน +1

    Method Illuminate\Foundation\Application::share does not exist.