Social network in Laravel 5.3 and Vuejs 2.0 #54 installation of Laravel scout and algolia driver

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025
  • Let's build a complete application with the Laravel 5.3 and Vuejs 2.0. In this video, we installed laravel scout and imported data into algolia.
    Follow me on twitter with questions and requests: / katifrantzv
    Source code : github.com/kat...

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

  • @blupin_capital
    @blupin_capital 7 ปีที่แล้ว

    Hi Kati,
    I'm having a problem running the php artisan scout:import "App\User" command in command line, when i do i get this error:
    [Symfony\Component\Console\Exception\CommandNotFoundException]
    There are no commands defined in the "scout" namespace.
    Tried searching for the courses on Google but no solution by far, what might i be doing wrong?

  • @sagynbekk3852
    @sagynbekk3852 8 ปีที่แล้ว

    I have 2 questions. When some data has been added/deleted/updated will it be automatically modified in Algolia service? And Is it must to use VUE JS to use Scout Laravel? Thanks

    • @KatiFrantzv
      @KatiFrantzv  7 ปีที่แล้ว +1

      Hello. Checkout the docs for Scout. This automated by laravel already. And we are actually not using vue. We are using Javascript. So you can use whatever js framework you want at the frontend , or none at all, or you can only stick to php (laravel, in this case) at the backend for searching .

  • @vladimirsarac7617
    @vladimirsarac7617 7 ปีที่แล้ว

    Hi Kati,
    i'm having a problem with scout installation, i've changed composer.json file, its same like yours-
    "require": {
    "php": ">=5.6.4",
    "laravel/framework": "5.3.*",
    "pusher/pusher-php-server": "^2.6",
    "laravel/scout" : "^2.0",
    "algolia/algoliasearch-client-php": "^1.13"
    },
    but my composer still trying to install laravel/scout "^3.0" and failing because Laravel version is 5.3(scout 3.0 requires Laravel 5.4)
    any suggestions?

    • @KatiFrantzv
      @KatiFrantzv  7 ปีที่แล้ว +1

      check if you have a composer.lock file. Delete it. Run Composer Install. Everything should work fine

    • @vladimirsarac7617
      @vladimirsarac7617 7 ปีที่แล้ว

      I think this solved problem:
      Installing laravel/scout (v2.0.2)
      Downloading: 100%
      Thanks alot

    • @vladimirsarac7617
      @vladimirsarac7617 7 ปีที่แล้ว

      bravo

    • @jaballisaifeddine8865
      @jaballisaifeddine8865 7 ปีที่แล้ว

      please can you told me how could i install v2.0.2 of laravel/scout ?

    • @vladimirsarac7617
      @vladimirsarac7617 7 ปีที่แล้ว

      add this to composer.json
      "require": {
      "php": ">=5.6.4",
      "laravel/framework": "5.3.*",
      "pusher/pusher-php-server": "^2.6",
      "laravel/scout" : "^2.0",
      "algolia/algoliasearch-client-php": "^1.13"
      },
      than check if you have a composer.lock file. Delete it. Run Composer Install. Everything should work fine