Laravel Bootcamp: from start to finish

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Today we go through the full Laravel bootcamp: bootcamp.larav...

Комментарии • 26

  • @nunomaduro
    @nunomaduro 2 года назад +8

    Very cool video, congrats Brent!

  • @asheaven1st
    @asheaven1st 2 года назад +3

    I wondering..
    When I use tinker "Chirp::all();", it not work.. But
    When I use tinker "\App\Models\Chirp::all();", it works..
    What happened..?

    • @mikulcek
      @mikulcek Год назад +1

      Search for name resolution rules in php to understand difference between unqualified name and fully qualified name. But, to answer your question. For some reason your Tinker does not know how to resolve address of Chirp model, once you give him full namespace to Chirp model it works.

    • @camillesatoshi8393
      @camillesatoshi8393 Год назад

      Same problem here, still figuring out how to solve it? any clue?

  • @jeroenvanrensen9505
    @jeroenvanrensen9505 2 года назад +4

    5:30 the default is “no”, you should have typed in “yes”

  • @Serzes_
    @Serzes_ 10 месяцев назад +1

    I have used Laravel for 1 year, and I must say it's very nice. Unfortunately, it's not easy to find a job in my region as a Laravel developer, 90% of the time the market is looking for people who know React or Angular. Laravel is very simple and follows a structure that is extremely helpful, whereas making a full-stack application with React can be quite messy.
    I don't know why there is this trend of creating very simple web applications with overly complicated and unnecessary tools, but that's just how it is.
    I hope Laravel gains more recognition because, in my opinion, it is very underrated.

  • @BneiAnusim
    @BneiAnusim Год назад +1

    I don't understand why PHPStorm 2022 still does not support "blade components" out of the box!😬

  • @Mutahhar
    @Mutahhar 2 года назад +1

    Wow... Few days ago I was looking that if someone has made a video tutorial for Laravel boot camp... And here it is...

  • @NoahNobody
    @NoahNobody Год назад +1

    It's troubling that you need node to run the blade version.

  • @KastsEcho
    @KastsEcho Год назад +1

    15:30 It's because the Tailwind navigation menu provided by Laravel isn't truly responsive like Bootstrap where you only have to declare the nav menu links once.

  • @kennylaikl299
    @kennylaikl299 Год назад

    hi Brent, I've installed Laravel with the Laravel Sail (im using Windows, so its Laravel Sail on WSL2). Hopefully i can follow this bootcamp with this setup 🤞

  • @nachopitt
    @nachopitt 2 года назад

    Thanks for such an amazing walkthrough!
    One quick question: I'm getting errors saying "Unable to locate a class or view for component [input-error]" and "Unable to locate a class or view for component [primary-button]". I can fix those errors by creating "resources/views/components/input-error.blade.php" and "resources/views/components/primary-button.blade.php" files but honestly I don't know what to put in those files. I was hoping that one of the commands shown in the bootcamp actually created those files for me but probably that wasn't the case. I'm a totally noob to Blade, Mix and Laravel in general.
    I'm using Mix instead of Vite, BTW.
    Thanks in advance!

  • @アメ人
    @アメ人 Год назад

    I type:
    composer create-project laravel/laravel chirper
    But end up with this message in my terminal:
    zsh: command not found: composer
    :(

    • @phpannotated
      @phpannotated  Год назад +1

      That means you'll have to install composer: getcomposer.org/

  • @AlexWindsor
    @AlexWindsor 2 года назад +1

    Thanks for the great video! After years of messing around with vanilla php and being really into mysql, I am learning OOP, mvc etc. Very impressive.
    But I wondered if you had an opinion on Eloquent and whether it could be at all an improvement on making your own mysql statements. For example, easy loading doesn't seem to use joins, rather goes about it in a very strange and inefficient way, compared with what I am used to with doing my own sql statements. I know that you can use the query builder but I would like to be db-efficient whilst doing things the 'laravel' way.
    Have you got an opinion on this?

    • @NoahNobody
      @NoahNobody Год назад

      I'm used to using PDO and prefer it to Eloquent. But for simple queries, Eloquent is ok.

    • @HassanAbuBakar
      @HassanAbuBakar Год назад

      if you dont like ORM (eloquent), feel free to use Query Builder. if not raw sql will still supported in Laravel.

  • @TheKnoll88
    @TheKnoll88 Год назад

    This was a very helpful tutorial. Thanks!

  • @graham11545
    @graham11545 Год назад

    C:\laragon\www\chirper\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
    PDOException::("could not find driver")
    I am not getting pass changing my DB connection,
    I have deleted all other DB* except for DB connection and changed it to sqlite,
    the dabase has the database.sqlite
    what should i try again?

    • @graham11545
      @graham11545 Год назад

      ok i figured it out... am using laragon and i had to enable sqlite extension for it to work

  • @camillesatoshi8393
    @camillesatoshi8393 Год назад

    Hey thanks for your content. I'm following the tutorial but I can't find the .env file it does't seems to be in my chirper or vendor folder. It is required to have the PHPstorm to find files with that extension?

    • @camillesatoshi8393
      @camillesatoshi8393 Год назад

      I just found out that using code .env after copy the example.env file allows to edit this 😅

  • @nikolicvladimir
    @nikolicvladimir 2 года назад

    Great stuff Brent@ Thanks

  • @abdelazizabdelioua890
    @abdelazizabdelioua890 Год назад

    I love laravel

  • @ongkay250
    @ongkay250 Год назад

    i love node js