Laravel PHP Framework Tutorial - Full Course for Beginners (2019)

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 2,5 тис.

  • @paul_kapela
    @paul_kapela 4 роки тому +252

    Hello, I've done this tutorial few months ago and now I'm building an entire commercial website. Thank you very much!

    • @Gszada
      @Gszada 3 роки тому +6

      that's impressive.. so I can assume this course is good... thanks for the hype..

    • @femi287
      @femi287 2 роки тому

      Hello, please how did you get past ua-cam.com/users/clipUgkx27iYB3x-keq0qpxVeHoMLlwTi0y_0JYY

    • @Stevenbensonofficial
      @Stevenbensonofficial Рік тому

      How are you doing now

    • @КостяКиндалюк
      @КостяКиндалюк 6 місяців тому

      @user-vz1oz9do7h Of course not. Documentation, other tutorials, and much more. You can't build a commercial website with all important features if you just have a muscle memory of how to build Instagram clone

    • @10framojmabilangan61
      @10framojmabilangan61 2 місяці тому

      ​@sahnounemohamed-e9r A good developer will always learn from many different resources brother :) , I'm sure the guy also referred to the documentation for other stuff he wanted to be implemented, or searched through google for others. Keep that it mind.

  • @DiegoSayron
    @DiegoSayron 4 роки тому +398

    *### FIX ISSUES ###*
    *FIX/TIP (**4:15**) - echo $PATH* does not work under windows (prompt). Instead, you must try just "path" (remove the quotations) on cmd/prompt.
    *FIX (**9:38**)* - ERROR "Could not open input file: artisan" when run "php artisan serve": As he said, we must run this command *inside* the project folder.
    *FIX (**11:45**)* - make:auth works only on Laravel 5.8 and older versions.* The newer version, try:
    1. composer require laravel/ui
    2. php artisan ui vue --auth
    3. npm install && npm run dev
    *FIX (**22:00**) - If you try to use "vim" over Windows cmd:* for Windows users, "vim" should not works. So, being at the project folder, try: copy con database\database.sqlite (press enter, so F6 then, enter again). It will create the file with nothing inside. METHOD 2: re-create this file using a different method, like (under windows os) right-click on the project folder, "create new text file" (but rename the extension txt to sqlite!) and rename it to database.sqlite
    *FIX (**23:35**) -* console echoes for php artisan migrate: *"Could not find driver (SQL: PRAGMA...":* Just open php.ini and uncomment extension=pdo_sqlite (or extension=pdo_mysql if you use it).
    If this error persists, even after uncommenting extension=pdo_sqlite, with PHP Warning "PHP Startup: Unable to load dynamic library 'pdo_sqlite'". Try fix that by typing:
    sudo apt-get install php7.4-sqlite
    (Thanks to @Sjors Peterse)

    • @sohelakhtar8044
      @sohelakhtar8044 4 роки тому +7

      This is what i was searching for
      I have stuck in vim error
      Thanks

    • @anasanchezsanchez9513
      @anasanchezsanchez9513 4 роки тому +4

      Thanks so much. I had all three problems and that fixed them all :)

    • @ianujrawat
      @ianujrawat 4 роки тому

      Can you please explain the third error briefly ? How to do it ?

    • @DiegoSayron
      @DiegoSayron 4 роки тому +2

      @@ianujrawat I assume you know where is and how to open to edit the PHP.ini file, okay?
      When that 3rd specific error appears to us, it means that you must scroll all lines of this file and find the line that has this content: ;extension=pdo_sqlite
      And you must delete all the characters - in this line - before the "extension" word (I don't remember if it is a ";" or a "#" (this character, in some configurations files, like php.ini, means that the software must not read this line of setting).
      If there is no character before it, it means that this line will be considered and the setting described in this line will be loaded when application starts (PHP, Apache...)
      So, when you change something on it, you must restart the service of your server to take changes (Apache, IIS, it depends on how web server you have installed. I guess you have Apache).
      Also, if you use for this project not sqlite, but MySQL, for exemple, the line you have to uncomment (removing ";") is not pdo_sqlite but pdo_mysql.
      Do I forget something or don't reach your question? Feel free to tell us here.

    • @ianujrawat
      @ianujrawat 4 роки тому +1

      @@DiegoSayron thanks alot my problem is solved now. Also i have checked you channel it is great

  • @ladenbin
    @ladenbin 3 роки тому +78

    I legit have a job now because of this single video. You saved me and my family's life. Thank you so much.

    • @braydonthepirate
      @braydonthepirate 3 роки тому +31

      What an inspiring comment from Bin Laden lol

    • @mostnotoriouspinpin7581
      @mostnotoriouspinpin7581 3 роки тому +19

      i guess they didn't kill you....atleast you're trying to make an honest living man

    • @ladenbin
      @ladenbin 3 роки тому +16

      Times have changed my friends.

    • @michallev5339
      @michallev5339 2 роки тому

      😲

  • @rojasern
    @rojasern Рік тому +13

    It's 2023 and I got a job as a Laravel Backend Developer thanks to this video!!!!

    • @Armando-px8hi
      @Armando-px8hi Рік тому +4

      Congrats man, hoping to do the same.

  • @mansoorburdi2313
    @mansoorburdi2313 5 років тому +85

    The best tutorial to learn Laravel. He define everything he uses in code and he teaches alot in just one go.
    Thank you for teaching us sir.

    • @rickpineda7377
      @rickpineda7377 4 роки тому +4

      Yep, unlike the others. Don't get me wrong, we appreciate other tutorials but this guy explains everything he writes. Really helps newbies understand the framework

    • @m.m.4609
      @m.m.4609 3 роки тому +3

      except this tutorial is already outdated and some commands mentioned here are not available (make:auth for example) and also the installation of laravel/composer differs widely, which is a very important part that this tutorial is missing.

  • @fancyAlex1993
    @fancyAlex1993 5 років тому +627

    Just finished the whole project. For anyone who is starting this project and you are wondering if it is worth it ? It is 100 % worth it , I attended an interview last week that required the candidate to know Laravel , at this point of time, I only had 3 weeks experience in Laravel and I did show them an incomplete version of this project. Long story short , I got an offer from them to join the company.
    Update Dec 2020: I never received any notifications from this comment. Hence I apologize for not replying your comments. I still work as web dev mainly in Laravel & Vue & Angular. Currently due to MCO, many companies are hiring for Laravel Devs in my country, hence creating a linkedin profile would be very helpful for you to get jobs. Hope this motivates someone who is doing and watching this tutorial.

    • @angelamolina5599
      @angelamolina5599 5 років тому +9

      Wow Congratulations to you !

    • @juliom6260
      @juliom6260 5 років тому +22

      Congrats. I have an interview in 5 days. Wish me lucky 😉

    • @abisake16
      @abisake16 5 років тому +5

      Julio M good luck bro

    • @Kawanyahenri
      @Kawanyahenri 5 років тому +4

      Glad to hear that. Good job bro.

    • @Adbal99
      @Adbal99 5 років тому +1

      How's going bro after few months? I have just started learning laravel and i am curious :D

  • @UnboxSolutions
    @UnboxSolutions 5 років тому +395

    ⭐️Course Contents ⭐️
    ⌨️ (0:00) Introduction
    ⌨️ (1:14) What is Laravel?
    ⌨️ (2:07) Installing Laravel
    ⌨️ (5:30) First look at the project
    ⌨️ (7:15) Intro to php artisan
    ⌨️ (11:42) Generating login flow with make:auth
    ⌨️ (12:04) Setting Up the Front End with Node and NPM
    ⌨️ (20:00) Migrations and Setting Up SQLite
    ⌨️ (26:00) Designing the UI from Instagram
    ⌨️ (42:12) Adding Username to the Registration Flow
    ⌨️ (58:35) Creating the Profiles Controller
    ⌨️ (1:04:00) RESTful Resource Controller
    ⌨️ (1:09:10) Passing Data to the View
    ⌨️ (1:10:20) Adding the Profiles Mode, Migration and Table
    ⌨️ (1:17:30) Adding Eloquent Relationships
    ⌨️ (1:28:10) Fetching the Record From The Database
    ⌨️ (1:30:00) Adding Posts to the Database & Many To Many Relationship
    ⌨️ (2:04:24) Creating Through a Relationship
    ⌨️ (2:08:12) Uploading/Saving the Image to the Project
    ⌨️ (2:19:19) Resizing Images with Intervention Image PHP Library
    ⌨️ (2:27:42) Route Model Binding
    ⌨️ (2:31:48) Editing the Profile
    ⌨️ (2:46:46) Restricting/Authorizing Actions with a Model Policy
    ⌨️ (2:54:50) Editing the Profile Image
    ⌨️ (3:00:00) Automatically Creating A Profile Using Model Events
    ⌨️ (3:12:56) Default Profile Image
    ⌨️ (3:19:48) Follow/Unfollow Profiles Using a Vue.js Component
    ⌨️ (3:31:28) Many To Many Relationship
    ⌨️ (3:46:33) Calculating Followers Count and Following Count
    ⌨️ (3:48:55) Laravel Telescope
    ⌨️ (3:51:44) Showing Posts from Profiles The User Is Following
    ⌨️ (4:01:03) Pagination with Eloquent
    ⌨️ (4:03:25) N + 1 Problem & Solution
    ⌨️ (4:05:21) Make Use of Cache for Expensive Query
    ⌨️ (4:11:44) Sending Emails to New Registered Users
    ⌨️ (4:21:51) Wrapping Up
    ⌨️ (4:22:37) Closing Remarks & What's Next In your Learning

    • @Pxlarizar
      @Pxlarizar 4 роки тому +7

      Unbox Solutions from the description

    • @MaqsoodAlamShafiq
      @MaqsoodAlamShafiq 4 роки тому +1

      I was thinking about making an index and here I am. Thank you very much for your time to create this wonderful index.

    • @divyagurumoorthy3354
      @divyagurumoorthy3354 4 роки тому +2

      Thank you so much :) That's really nice of you

    • @technosoid2821
      @technosoid2821 4 роки тому

      @@divyagurumoorthy3354 You can find that in the description too. That was just a copy/paste

    • @bosschervz
      @bosschervz 4 роки тому

      I believe not all heroes wear capes

  • @lucasvieira7202
    @lucasvieira7202 5 років тому +35

    I'm still at 1:30:00 of the course, but man... I'm really appreciating it and I want to thank you for this absolutely amazing material. Have recommended for all my friends who wants to learn Laravel. For real, thanks for this marvelous course.

    • @lucastvms
      @lucastvms 2 роки тому

      @@androidbox6876 I think he was aiming for the Node Package Manager (npm) that comes with NodeJS. Since it can manage packages beyond those related to NodeJS itself. 👍

  • @prakashmandal1850
    @prakashmandal1850 2 роки тому +95

    11:47
    You have to use php artisan ui:auth instead of php artisan make:auth . Before using that you have to install new dependencies by calling composer require laravel/ui --dev in the current directory.

    • @mantoyib6340
      @mantoyib6340 2 роки тому +1

      thanks man, you help me

    • @Victor-fq6lz
      @Victor-fq6lz 2 роки тому

      Thanks a lot!

    • @nemanjastojanovic7497
      @nemanjastojanovic7497 2 роки тому +9

      It's better to use this command: composer require laravel/ui ..... than > php artisan ui bootstrap --auth .... than > npm install ..... it will be the same thing as in tutorial 👍😀😀👍

    • @mehdimedjahed604
      @mehdimedjahed604 2 роки тому

      Thanks!!

    • @ouidadelhirech6066
      @ouidadelhirech6066 Рік тому

      @@nemanjastojanovic7497 thanks

  • @DiegoSayron
    @DiegoSayron 4 роки тому +7

    You rock, Man! You made I fall in love to PHP + Laravel after 32 years programming in client-server languages.
    I must continue my studies at 38:23

  • @mikegoodsell2796
    @mikegoodsell2796 5 років тому +19

    This is perhaps the best tutorial of any kind I have ever seen. I don't know if it's because I was impressed with Laravel's functionality, or the instructor's delivery. Maybe a combo of both. Everything worked, and everything was clear and concise. It was jam-packed with information, and took me 3 days to get through, and will probably take me another month to fully understand, but, as a tutorial, I was able to understand and follow everything being said and my results matched the instructors. Many real world issues were touched on. The only issues I had on my end was the new auth() functionality, which someone else mentioned. Additionally, I was not using PHPStorm, so, in a couple of places use paths were added within the tutorial that were not automatically added in mine - However, since everything else was so concise, I was able to debug without much issue. All in all, an exceptional beginning course. Five stars. Thank you.

  • @benjaminshpigler9613
    @benjaminshpigler9613 5 років тому +89

    Can't stop watching... makes you feel like a wizzard... even when you just follow the steps of the master ;-)

    • @dynobird
      @dynobird 4 роки тому

      Hi...
      We develop online database designer for web developer. We hope we can make easy your work with DynoBird.com
      If you are interested. Contact US for free credits or ask more question.
      Thanks.

    • @pixessence7114
      @pixessence7114 4 роки тому

      Hehehehe my sentiments exactly

    • @CODINGISEASY
      @CODINGISEASY 3 роки тому

      its a great course

  • @icebeardoesnttalkmuch8919
    @icebeardoesnttalkmuch8919 5 років тому +13

    Free code camp has to be the best site for learners
    these guys put courses for free that you cant get unless you pay heavily for them
    You guys are just awesome.

  • @UnderTheGoldenGate
    @UnderTheGoldenGate Рік тому +2

    This video saved my project! Thank you so much. I spent weeks trying to find a book or docs on how to get started with Laravel (like you would expect with a "For Dummies" book complete with working examples), but everything I found didn't have working examples, or wandered around in circles, or gave snippets of examples none of which works. Out of desperation I came to UA-cam and found this video.
    I was able to start from scratch and work through this video in less than a week, and within a few days I have my prototype up and running. I never used Laravel before, only had a little bit of PHP experience. Awesome!

  • @Michael-lo3ht
    @Michael-lo3ht 9 місяців тому

    Finally. A clear, fluent speaker at the right speed. Believe me, it's been challenging. Thanks. I look forward to this.

  • @djdeleon_
    @djdeleon_ 2 роки тому +17

    UA-cam's algorithm takes me back to this video. After learning programming consistently, now I became a Software Developer. It all started from this video. Thanks again Sir Victor.

  • @manishfoodtechs
    @manishfoodtechs 5 років тому +864

    In Laravel 6.0 make:auth no longer exists:php artisan make:auth ( which works for Laravel 5.8 and older versions )
    Solution:
    Run :composer require laravel/ui
    php artisan ui:auth
    You can also generate the views only with:
    php artisan ui:auth --views

    • @kebapetsengakane8471
      @kebapetsengakane8471 5 років тому +19

      Whoa! Thank you so much. You are a life saver!!! Worked just like that. Had spent 3 hours + tinkering until I came across your comment.

    • @Tennyson999
      @Tennyson999 5 років тому +11

      The files generated won't have any CSS applied

    • @kokoyroy
      @kokoyroy 5 років тому +15

      @@Tennyson999 Please run "npm install && npm run dev" to compile your fresh scaffolding.

    • @Tennyson999
      @Tennyson999 5 років тому +1

      @@kokoyroy I figured out after following the documentation. But I also added both the php artisan ui vue and php artisan ui react and its --auth. Is it necessary to use both?
      Was just following the Laracel documentation so not too sure

    • @kokoyroy
      @kokoyroy 5 років тому

      @@Tennyson999 they are frameworks for the frontend. they do the same job. choose the one u love most

  • @jrbcrypted6642
    @jrbcrypted6642 5 років тому +313

    if "php artisan make:auth" doesn't work in your version of Laravel,
    try these 3 commands one after one in your project folder:
    1. composer require laravel/ui
    2.php artisan ui vue --auth
    3.npm install && npm run dev

    • @xMatthew2013x
      @xMatthew2013x 5 років тому +5

      U can also build a project with old version by comend: composer create-project laravel/laravel nazwa "5.8.*"

    • @jamilxt
      @jamilxt 5 років тому +2

      Thank you! my project was missing the vue auth-ui because of not doing the second command. ^_^

    • @matthewlee112
      @matthewlee112 5 років тому +6

      we need to make this top comment... until another version changes this from being correct

    • @erroashivudhi7713
      @erroashivudhi7713 5 років тому +1

      I dont know which one made it work but thanks Jafar

    • @sirmiles1820
      @sirmiles1820 5 років тому +1

      i recommend this

  • @jimwelanobong
    @jimwelanobong Рік тому +2

    TOOK ME FOUR YEARS AND FINALLY HAVE THE COURAGE TO GO HERE :D FIRST QUARTER I CAN ALREADY SAY ITS WORTH IT. VERY LAYMAN'S TERM TO MY CONFUSION. KUDOS

  • @kevinocansey1687
    @kevinocansey1687 3 роки тому +1

    THIS IS THE BEST LARAVEL TUTORIAL EVER, I KEEP COMING BACK TO THIS, NO MATTER THE PROJECT IM BUILDING

  • @jazzlevit
    @jazzlevit 4 роки тому +26

    This is best education video I've even seen lately. The way you teach step by step and your english is like honey for my ears. Who is the author of this course? wow, great job!

    • @anatoleh1
      @anatoleh1 3 роки тому

      Victor from Coder's Tape ua-cam.com/users/coderstape

    • @tyrellwreleck4226
      @tyrellwreleck4226 3 роки тому

      Did you purchased phpstorm? There's a lot of positive feedback but did anyone really get to follow the ide used in his lessons?

    • @briangoh8434
      @briangoh8434 2 роки тому

      Use vocode, they do the same but free.

  • @dimirrusakov9517
    @dimirrusakov9517 2 роки тому +3

    Just started this course. Even being an experienced laravel developer I found something new for myself. Really good content

  • @cedricreed890
    @cedricreed890 5 років тому +12

    OMG! Thank you for this Tutorial, i have been going back and forth with learning Laravel, since the first time I tried to get it loaded, from NPM to Composer and nothing was working for me and I couldnt get Laravel loaded. So after a couple of months of getting up to speed with more PHP and command lines I came across this video and within the first 25Mins I had Laravel loaded and up and running. You ROCK Man!! Thank you for expertise sir, very much appreciated.

    • @CodersTape
      @CodersTape 5 років тому

      That's GREAT GREAT news! Stick with it, it is well worth it.

  • @lucasaraujo6.
    @lucasaraujo6. 3 роки тому +1

    I've done it in one week starting out of blue. THIS WAS THE BEGINNING OF MY JOURNEY TO BECOME A WEB DEV. THANX

  • @andrewaldridge8735
    @andrewaldridge8735 5 років тому +12

    Great tutorial!
    Unlike so many intro videos I started but abandoned it is really well paced, nice and fast with very little repetition: perfect for introducing Laravel to people already familiar with PHP, HTML and Bootstrap. Thanks Victor.

  • @Donbros
    @Donbros 3 роки тому +5

    If one have problems with
    "FIX (22:00) - If you try to use "vim" over Windows cmd: for Windows users, "vim" should not works. So, being at the project folder, try: copy con database\database.sqlite (press enter, so F6 then, enter again). It will create the file with nothing inside. METHOD 2: re-create this file using a different method, like (under windows os) right-click on the project folder, "create new text file" (but rename the extension txt to sqlite!) and rename it to database.sqlite"
    You have to delete all emptys spaces and rubbish within database.sqlite file and "php artisan migrate" command will work without issues

  • @Jacker1z
    @Jacker1z 5 років тому +4

    I've just spent this day completing this tutorial and doing some research. It was a great, thank you! I'm much more confident with Laravel now.

  • @kujo5113
    @kujo5113 3 роки тому +1

    I never comment really, but I had to make a point of coming and saying.....this is the best tutorial I have ever followed, even with the minor issues caused by using Laravel 8. Clear and comprehensive, yet concise. Well done Victor, you are a legend!!

  • @CharlyDS
    @CharlyDS 3 роки тому +1

    Excellent. I'm a Codeigniter developer and this was the best help to get into Laravel so far.

  • @sarthakgupta2418
    @sarthakgupta2418 3 роки тому +11

    If anyone is getting errors at 1:07:50 in VSCode or any other IDE, using Laravel 8, just change "use App/User" to "use App/Models/User"

    • @KL-es9bt
      @KL-es9bt 2 роки тому

      I was looking for User.php

  • @Joel_Powell
    @Joel_Powell 5 років тому +6

    At 1:55:06 the reason Victor ends up with caption="caption" is because earlier when he "borrowed" the name input from the register blade, this input said:
    name="name"
    He then replaced all instances of "name" with "caption" - which resulted in caption="caption"
    We really never wanted to replace the left hand part of that assignment.

  • @harismemon1546
    @harismemon1546 4 роки тому +6

    03:22:54 if you can't find "ExampleComponent.vue" in "js" folder then do the following
    go to Laravel documentation and choose your Laravel version and then search this "JavaScript & CSS Scaffolding" then you'll get command like "composer require laravel/ui" run that using composer after that run "php artisan ui vue" and finally run "npm install && npm run dev" (ignore the warnings and errors).
    For finding your installed Laravel version go to your project open terminal/composer write "php artisan --version"

    • @DHBen
      @DHBen 4 роки тому

      Thank you Haris - legend!

    • @harismemon1546
      @harismemon1546 4 роки тому

      @@DHBen 🙏

    • @femi287
      @femi287 2 роки тому

      This is helpful. Thanks.

  • @vincentkhamala5386
    @vincentkhamala5386 5 років тому +2

    am so impressed as a young developer who's still in school, i followed this tutorial and i really built something amazing. thanks to Victor you're really awesome. thanks so much

  • @Donbros
    @Donbros 3 роки тому +1

    Ignore others it is for me XD
    1:06:00 - profile for an user
    1:13:04 - php artisan make:model Employee-m (creating new model (so it could be for example employees !))
    1:16:12 - will need this for otherm model
    1:24:00 - making dynamic profile
    1:27:00 nteresting push conception
    1:31:00 post-m:
    1:42:00 yielding
    1:51:00 - photo post and store
    2:03:40 and 1:02:59

  • @nac9880
    @nac9880 5 років тому +6

    3:17:57 *PRO TIP* You can put the array_merge inside the IF(request('image')) and you won't need to worry about the "$imagePath is not set" plus you'll only need to pass the $data array to the udpate normally:
    if (request('image')) {
    // put the rest of the code here
    $data = array_merge($data, ['image' => $imagePath]);
    }
    auth()->user()->profile->update($data);

    • @MachineGamer
      @MachineGamer 4 роки тому

      Thank you, you save my day!

    • @cmdrwhitesnake7386
      @cmdrwhitesnake7386 4 роки тому

      I wouldn't even bother using array_merge - when all you need to do is add one key to an existing array, just have this inside your if(request('image')) block:
      $data['image'] = $imagePath;

  • @JakobDam
    @JakobDam 5 років тому +15

    Wow. This is by far the best tutorial for anything I've ever followed - and I've followed a lot of tutorials in very different genres. I like the pace, the way things are explained at exactly the right time etc.
    I followed this video using Notepad++ rather than PHP Storm, and had no issues at all.

    • @CodersTape
      @CodersTape 5 років тому +1

      Awesome! Glad to hear

  • @jonatanramos5434
    @jonatanramos5434 4 роки тому +6

    it tookme 4 days to go throigh the entire course, but I'm finally done. Really good tutorial, thanks a lot

  • @RamJairam1
    @RamJairam1 4 місяці тому

    00:05 This video is a full course on Laravel PHP Framework and will teach you how to build an Instagram clone.
    02:48 To install Laravel PHP Framework, follow these steps: install it globally, install node.js and NPM, install Laravel installer.
    08:09 Laravel PHP Framework allows you to develop exactly what you need for your application
    10:45 Use controllers instead of views for computing and fetching database queries
    15:50 Installing and setting up Laravel involves installing dependencies and running NPM commands for frontend compilation.
    18:12 Organizing front end assets in Laravel
    23:08 Setting up the database and running migrations
    25:36 Setting up the login functionality and accessing restricted pages
    30:31 Adjusting logo size and padding to improve front-end alignment
    32:54 Adding padding and dividing sections
    37:45 Changing the background color and adding a link
    40:00 Adding images and fixing image resizing and spacing
    44:55 Controllers hold the logic for manipulating and fetching data in Laravel.
    47:29 Validation rules for user registration
    52:17 Creating a new user after passing validation
    54:49 Remaking the database using migrate fresh
    59:55 Create a profiles controller to replace the home controller
    1:02:26 Using a restful controller in Laravel helps facilitate development and makes the codebase cleaner.
    1:07:11 Fetching the user from the database using the user model.
    1:09:42 Learn how to create a profile model in Laravel
    1:14:30 Creating a one-to-one relationship between the user and profile models
    1:16:57 Creating a relationship between the User and Profile models in Laravel
    1:21:53 Using Laravel's Tinker tool to interact with the application
    1:24:29 Fetching user details from the database with Laravel PHP framework.
    1:29:01 Implementing defensive programming with findOrFail() in Laravel
    1:31:23 Create a post migration with user ID reference, title, caption, and image fields.
    1:36:16 Add new posts and create a route for 'P/create'
    1:38:37 Learn how to organize views in Laravel using directories.
    1:43:15 Moving and renaming files for different controllers
    1:45:34 Strict naming conventions and guidelines are important for the health and benefit of your application.
    1:50:02 Adding a new post to the project
    1:52:27 To fix the 419 page expired error, add the '@CSRF' directive in the form
    1:57:20 Caption and image fields are required for creating a new post
    1:59:48 Using the Create method is an easier way to store data in Laravel
    2:04:55 Laravel automatically adds the user ID for posts created by the authenticated user.
    2:07:30 Uploading and resizing images for posts
    2:12:20 Adding storage on the fly and saving image path in database
    2:14:41 Setting up a relationship between users and posts
    2:19:24 We can use the Intervention Image Library to resize and fit uploaded images into a square automatically.
    2:21:50 Import the intervention image class and resize images to a fixed size
    2:26:45 Implementing route model binding in Laravel
    2:29:19 Passing data through the post
    2:34:12 Refactoring the code to use Laravel's helper functions
    2:36:35 Using the 'patch' method for updating rather than 'put'
    2:41:37 Summary of the video
    2:44:11 Disabling mass assignment for protected fields and ensuring controlled data input
    2:49:37 Protecting the edit view and update route
    2:52:06 Restricting 'Add New Post' option based on user profile
    2:56:59 Using array merge to override values in an array
    2:59:40 Creating a blank profile for users during registration
    3:04:51 Adding and displaying user profile image
    3:07:23 Styling the image and username display
    3:12:05 Creating a method in the profile model to return the profile image
    3:14:29 Dynamically retrieve profile images based on availability
    3:19:39 The next step is to handle followers on Instagram
    3:22:04 Convert the Follow button into a view component to interact with the server without refreshing the page.
    3:26:51 Make API calls to the server using axios library
    3:29:23 Implementing a many-to-many relationship between profiles and users
    3:34:33 Setting up the followers relationship between user profiles
    3:37:15 Exploring the follow/unfollow functionality of the Laravel PHP framework
    3:42:38 Implementing follow and unfollow functionality in Laravel PHP framework
    3:45:08 Handle unauthorized access error by redirecting the user to the login page.
    3:50:27 Telescope is a powerful development tool that tracks queries, logs, exceptions, and more.
    3:52:52 Set up the posts controller to show all posts in reverse chronological order for users the current user is following
    3:58:09 Get all posts to show up on the homepage with image and caption.
    4:00:33 Implementing pagination in Laravel is made easy with the paginate method.
    4:05:37 Implement caching for faster data retrieval in Laravel PHP framework tutorial.
    4:08:10 Caching in Laravel PHP Framework
    4:13:03 Setting up Mailtrap for email testing in Laravel
    4:15:37 Creating a welcome email template in Laravel framework
    4:20:41 Modifying email settings and fixing redirect after registration
    4:23:13 Subscribe to the UA-cam channel for more Laravel videos and access to the course code.

  • @pant1371
    @pant1371 3 роки тому +1

    i ignored laravel for some time but it really spares you so much time. For example, with raw php, you would have to open a session whenever a user logged in, get the session in miltiple .php pages and manually add it(except if you used an sql trigger) as the foreign key to the profile table, whenever the authenticated user created a post. Not to mention that you would have to manually check if the authenticated user pressed to create the post while being in their profile(for example,if the user with id=4 is logged in and they are at the profile of the user with id=10, they wouldn't have permission to add new post there). Laravel does it all in one line
    Or for example if you wanted to display the username and the info of the profile of the user with,say,id=7, you would have to join the two tables and add the id of 7(which you would grab with a Get request) in the where clause in order to display the material

  • @anatoleh1
    @anatoleh1 3 роки тому +6

    By far the best programming tutorial I have ever watched. Wow! There is so much in there, and it is structured so magnificently! Thank you!
    By the way, I really want that "So Laravel actually ships with" counter :D

  • @nikhilrauniyar9084
    @nikhilrauniyar9084 Рік тому +12

    NOTE: pr-5 does not work with the newer version of Bootstrap.
    ANS: Basically l & r (left/right) have been abandoned in favor of s & e (start/end) in order to support Right-to-left text direction. So s & e will flip between left and right depending on text direction being LTR or RTL. They changed every reference to l/r and left/right to s/e and start/end respectively, all throughout the framework.
    Solution: Use ps-5 or pe-5
    that is padding start and padding end.

  • @fthdmr5394
    @fthdmr5394 5 років тому +28

    Every time im searching for courses you upload the exact content i need it is kinda scary boys

    • @fthdmr5394
      @fthdmr5394 5 років тому

      @The Midnight Terminator do you believe it too ?

    • @vasiovasio
      @vasiovasio 5 років тому

      We live in Simulation!

  • @kenlloydbillones8959
    @kenlloydbillones8959 2 роки тому

    Just finished the project, and boi it was satisfying, a great teacher makes a great student. I'm happy to see that around 3k subscribers on this video, you now have 5M subscribers. You just deserve it! Thanks for the free course!

  • @typ0_cratz
    @typ0_cratz 4 роки тому

    Hey Victor, I just dropped to the comments section to tell you this was just a great, great, great tutorial.
    I stayed the whole time, not skipping even a second, and felt so good when the project was over.
    Honestly, one of the best tutorials I have seen. I am already subscribed to Coder's tape. I wish you all the best!

    • @haziqhaikal9411
      @haziqhaikal9411 4 роки тому

      sorry to interrupt u bro, but im totally a beginner for this kind of thing, can i know what is the "terminal" does he mean at the early of the video??

  • @damiankrol5879
    @damiankrol5879 5 років тому +5

    2:53:09 I have found this 404 way earlier than you and I thought I messed something up so I spent like half hour trying to figure it out myself and failed xD
    Also you are saving my life, I need to make an php website with laravel to pass the year at university however my professor completely failed to bring it up in class and we all have to learn about it at home...

    • @arel3708
      @arel3708 5 років тому +1

      Thank you for saving my time good Sir

  • @Stevenbensonofficial
    @Stevenbensonofficial Рік тому +7

    11:46 If you're using Laravel in Termux and the php artisan make:auth command is not working, it might be because Laravel no longer includes the make:auth command in the latest versions (since Laravel 6).

  • @fatleboo2
    @fatleboo2 5 років тому +7

    This is the best course on Laravel I have run into so far. Amazing work Coders Tape, earned a new subscriber.

  • @gilskie
    @gilskie 2 роки тому +2

    definitely worth it watching the whole tutorial. previously had an experience with laravel around 2013-2014 and so much had changed. im currently applying my knowledge for a simple application that i would like to have. looking forward on having new tutorials from time to time. thanks for sharing!

  • @bazihaye_baba
    @bazihaye_baba 3 роки тому

    I've been trying just to install Laravel, couldn't do it even with the documentation, with this video I could just do whatever I needed without any hassle! the best so far!

  • @borjovsky3164
    @borjovsky3164 5 років тому +10

    This is one of the best tutorials I ever saw about anything! And I've seen a lot!
    Thank you very much!

  • @yasenpetrov99
    @yasenpetrov99 3 роки тому +4

    Thanks for the great tutorial Victor. It's now Laravel 8.77.1 and the tutorial is still relevant with minor differences.

  • @FatihAKANTR
    @FatihAKANTR 5 років тому +15

    my english not good, but i understand you man... you are amazing :D

  • @xteclisx27
    @xteclisx27 5 років тому

    Might just be the single best programming tutorial I've ever watched start to finish. Well done mate.

  • @prewishjay5581
    @prewishjay5581 Рік тому

    this is what i call a tutorial! everything is so well explained! no round about doing this, u even started with the databse set up instead of routes (what ive seen others do) this is how u educate!

  • @sh4d0wj4go3
    @sh4d0wj4go3 5 років тому +6

    mytimestamp : 4:25:04
    p.s. this is the best tutorial ive ever experienced so far.
    p.p.s. incredible video, thank you very much.

  • @JusticeTheLoneWolf
    @JusticeTheLoneWolf 5 років тому +4

    this is an absolute wonder. I have done everything exactly with some spice on top as you have shown, Victor. Thank you so much. I am looking forward to more videos.

  • @Joel_Powell
    @Joel_Powell 5 років тому +44

    Amazing tutorial - great work. Another Laravel 6 difference - I was getting empty app.css and wasn't getting any styling on the login screen. I found that you can run:
    *composer require laravel/ui*
    then
    *php artisan ui vue*
    then
    *npm install && npm run dev*
    Refresh your browser and you are all set. This appears to be the result of refactoring/abstracting how UI (Vue, React, etc.) is used - Vue was baked in as default in Laravel 5.

    • @MaestroOfTheGame
      @MaestroOfTheGame 5 років тому +1

      Thanks!

    • @Joel_Powell
      @Joel_Powell 5 років тому

      @@MaestroOfTheGame You are quite welcome.

    • @mahfuzurrahman1629
      @mahfuzurrahman1629 4 роки тому

      Is this tutorial for Laravel 6???

    • @Joel_Powell
      @Joel_Powell 4 роки тому

      @@mahfuzurrahman1629 The tutorial was done on 5.x (can't remember the exact version), but I found it to be close enough to do on 6.0 - you just have to work through a few differences that are mentioned in the comments. Victors presentation is so good it's worth it with the 5.x/6.0 differences.

    • @qbmate2.0
      @qbmate2.0 4 роки тому +1

      You saved the day. Your answer helped me! Thank you Jesus

  • @sebot1
    @sebot1 5 років тому +2

    Wow, Victor, this is the most greatest howto video in the web! Your lesson extremely fast gives all of info that is really needed.
    Awesome!

  • @shevum
    @shevum 3 роки тому +1

    I really can't believe this, Only with this project I've successfully cracked the PHP laravel developer job interview. They were so much impressed with this project, I do add some of my touches too. Also a lot of laravel concepts they asked in an interview, I answered very easily.
    Thank you so much this tutorial is really so awesome

    • @mohamudsharif8119
      @mohamudsharif8119 3 роки тому +1

      so you learnt laravel with this despite being at laravel 8

  • @ivan5486
    @ivan5486 5 років тому +6

    Hello, finally i found a good Laravel 5.8 tutorial ¡¡¡
    I apreciate very much thant you explain the best way to do things,
    I ve lost a lot of time with other tutorials that explain how to do the same thing in 100 diferent ways, 99 worng and 1 ok.

  • @hamdallan3561
    @hamdallan3561 4 роки тому +9

    17:30 Laravel no longer ships with ui. It comes seperately, to get it, in terminal write
    composer require laravel/ui
    php artisan ui vue

  • @temidayogabriel6496
    @temidayogabriel6496 2 роки тому +3

    If you are a starter like me in 12:00, I suggest you just skip the “make auth” process since laravel’s new update has already done that for you

  • @spicyLEGO
    @spicyLEGO 3 роки тому +1

    If you header image and profile image stops loading after creating '/profile/{user}' route, make sure to add '/' to your tag like this:
    from src="svg/placeholderLogo.svg" to src="/svg/placeholderLogo.svg"

  • @David-ik4mm
    @David-ik4mm 4 роки тому

    Thank you very much. I am about to start my first real project to an enterprise as a requisite for a major in my career, and I put myself the challenge to learn Laravel from scratch and develop this project with it.
    Thanks to this video, I will do it without any problem.
    English is not my first language, so please excuse any mistakes.
    Thank you so much.

  • @gekost79
    @gekost79 5 років тому +12

    ".,,, and not hit the database every single time" ... I think that was the MOST important part of the lesson. Laravel gives you so much BUT if you are not db cautious, you will end up with 1000 queries per page and your database will start screaming !!!

  • @pklearnerspoint2707
    @pklearnerspoint2707 5 років тому +4

    You are my favorite teacher now, Honestly, i learned alot. GOD bless you
    please teach us laravel multivendor online store

    • @dimitris86speed
      @dimitris86speed 5 років тому +1

      I'm also interested on this one,although i think this will go way beyond 4:30 hours

    • @pklearnerspoint2707
      @pklearnerspoint2707 5 років тому

      @@dimitris86speed np sir if it's convenient for you then otherwise no issues :)

  • @femi287
    @femi287 2 роки тому +6

    Just completed tutorial using Laravel 9. Awesome lesson!

    • @churma16
      @churma16 2 роки тому

      Did you find any problem using laravel 9 while following this tutorial?

    • @femi287
      @femi287 2 роки тому

      @@churma16 lots of it 😁, but you’ll get through with some few research. For instance, writing the namespace is now different in Laravel 9

    • @eliendongo9566
      @eliendongo9566 2 роки тому

      please what did you do with 11:41 where he put make:auth, because its not working with me

    • @femi287
      @femi287 2 роки тому +1

      @@eliendongo9566 I used Laravel ui
      Run:
      composer require laravel/ui
      php artisan ui bootstrap - -auth
      npm install
      npm run dev

    • @wassimfriejeh5180
      @wassimfriejeh5180 Рік тому

      hi can u please tell me what u did at 3:24:16, it isnt working for me and i dont know anything about vue so i cant solve it

  • @barkingdog67
    @barkingdog67 Рік тому

    This guy is fantastic. Learning so much watching and replicating what's he's doing. Loved to see more of his stuff.

  • @xanokothe
    @xanokothe 4 роки тому

    This tutorial is excelent. I watched it knowing ZERO of laravel and in a week I was able to make a full webapp that is in production. Thank you

  • @SeanTraynor_dbblTS
    @SeanTraynor_dbblTS 5 років тому +5

    Never before have I learned this much, this fast. Your tutorial is amazing, and you should consider doing courses in Udemy or something similar.
    Thanks!

    • @mosesegboh
      @mosesegboh 4 роки тому

      please i need help, vim database/database.sqlite says ''vim' is not recognized as an internal or external command,
      operable program or batch file......what do i do??'

  • @bakialmaci
    @bakialmaci 5 років тому +13

    2:51:13
    Another way to hide elements you want when unauth,
    @guest
    "only guest see"
    @else
    " only auth see"
    @endguest

    • @soloug7774
      @soloug7774 5 років тому

      thanks bro👍👍

    • @julianmonize9123
      @julianmonize9123 4 роки тому

      Blessing bro I was trying to figure out why it wasn't working

  • @SKVLL017
    @SKVLL017 5 років тому +30

    For those who couldn't run the "php artisan make: auth" command, try this in sequence:
    1- composer require laravel / ui --dev
    2- php artisan ui: auth

    • @Puachunan
      @Puachunan 5 років тому

      'vim' is not recognized as an internal or external command
      how to fix

    • @rasdiishak3814
      @rasdiishak3814 5 років тому

      @@Puachunan search google for vim; gvim81.exe. ; install follow instruction and restart terminal.

    • @xXDevilzButler
      @xXDevilzButler 4 роки тому

      Thank you very much! This solved my problem! (i think the --dev was the issue)

    • @unknownman1
      @unknownman1 4 роки тому +1

      Dude there are so many comments on this, so stop becoming a hero.

    • @seedme
      @seedme 4 роки тому

      @@Puachunan That is for Linux/macOs not Windows. You may just use notepad.exe to replicate the creating of empty sqlite file. Make sure it is absolutely empty before migration.

  • @teajinman2375
    @teajinman2375 4 роки тому

    I am here just to express my gratitude for this course. I'm in job hunting period and this definitely will help me alot and it is. Initially I thought I will spend 4 days to complete this but instead I spent 10days as I keep stuck on some part of it and the errors shown. However, it trains my ability to search for the solution of those errors and tried out 1 by 1. I had been stucked on the same error for 2 days but I just can't figured it out. When it comes to the end of the course, I heard Victor said its good if you had been stucked around and I felt totally agreed because I really learnt more but not just merely follow to code.
    Thank you so much Victor!

  • @fahadsheikh8589
    @fahadsheikh8589 3 роки тому

    Number One in my Laravel developer tutor list. I appreciate him the way he teach.

  • @Back-2-School-Hacks
    @Back-2-School-Hacks Рік тому +8

    *Notice* that make:auth is not relevant for Lavarel 9. Run this command after Lavarel installation: composer require laravel/ui --dev then run "php artisan ui:auth"

  • @johnkamau6853
    @johnkamau6853 3 роки тому +8

    For Laravel 8, on the make:auth, use
    composer require laravel/ui
    php artisan ui vue --auth

    • @highler_law
      @highler_law 3 роки тому +1

      Thanks! npm is required right after that: npm install && npm run dev

    • @johnkamau6853
      @johnkamau6853 3 роки тому

      @@highler_law Yes. After that npm install && npm run dev is required

  • @jayabrams400
    @jayabrams400 5 років тому +16

    For the measuring ruler he uses on mac, hold "shift" + "command" + "4". Then click to drag. And if you want to move the box around hold down the space bar. And press "esc" to exit the ruler without taking a screenshot.

    • @shaungbhone8368
      @shaungbhone8368 4 роки тому +1

      I need to use it on the window. How can I? Thanks.

    • @devingray1761
      @devingray1761 4 роки тому

      Thank you for that last part of the tip! My boss used to use screenshot for the ruler all the time and just leave screenshots all over my desktop. The escape button is a major key.

    • @jayabrams400
      @jayabrams400 4 роки тому +1

      @@devingray1761 lol i did the same before i learned the trick

  • @mickey5242
    @mickey5242 2 роки тому

    One of the best resources I have ever came across on youtube, or elsewhere. Thank you and bless you. These were some well spent 4.5 hours

  • @olixz
    @olixz 5 років тому +1

    Absolute hero! Been doing a university assignment and found it hard to find an all in one place!. I was having a nightmare with the login system m. Thanks again!.

    • @CODINGISEASY
      @CODINGISEASY 5 років тому

      I have a few extra bits you may like

    • @olixz
      @olixz 5 років тому

      @@CODINGISEASY Great thank you I appreciate it, I'll check out your channel.

  • @elkhanhamet2561
    @elkhanhamet2561 3 роки тому +3

    What an amazing course!!! Thanks a million Victor!!! Now it became clear how a real application is being built in Laravel. I was just wondering if you’re planning on creating a new more complex web application with Laravel 8. That would be something. 👍👍👍👏👏👏👏

  • @yiyoja
    @yiyoja 5 років тому +34

    Could you turn on the automatic subtitles for this video? It wouls help a lot because I'am not good at English listening.

    • @ashishpoudel5927
      @ashishpoudel5927 4 роки тому

      npm install not working
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
      up to date in 196.022s
      36 packages are looking for funding
      run `npm fund` for details

  • @Yaiko
    @Yaiko 5 років тому +9

    this is the best channel ive found on yt

    • @CODINGISEASY
      @CODINGISEASY 5 років тому

      what about mine :( lol

    • @uniqueshayari3039
      @uniqueshayari3039 4 роки тому

      @@CODINGISEASY I thik u also learning from this channel sir So u are watching this tutorial and leave comment over here to promote ur channel

  • @madie2659
    @madie2659 3 роки тому +2

    if any of you guys are using laravel 8 or +
    you need to run these commands at 11:43 :
    1. composer require laravel/ui
    2. php artisan ui bootstrap --auth
    3. npm install && npm run dev

    • @jabbamedia2644
      @jabbamedia2644 3 роки тому

      could not find driver (sql pragma foreign_keys = on ) how about this error

  • @-anecdote3111
    @-anecdote3111 3 роки тому +1

    i love you man you're the best, Although I didn't catch everything, I managed to finish it and understand some notions of object oriented programming on laravel.
    thank you victor

  • @p0_0kie_001
    @p0_0kie_001 4 роки тому +3

    At 1:37:53, if you're using Laravel 8, instead of "Route::get('/p', PostsController@create); " use "Route::get('/p', [App\Http\Controllers\PostsController::class, 'create']);"

    • @mitchelk.3682
      @mitchelk.3682 4 роки тому

      just before that the used this:"{{ $user->name }}" if i only print the variable $user i get the ID(in my case number 2) but when I put user behind it like shown in my comment i get:"Trying to get property 'name' of non-object (View: C:\Users\mitch\antartica
      esources\views\profile.blade.php)"
      public function index($user)
      {
      User::find($user);
      return view('profile',['user' => $user,]);
      This is in my profile controller, what am I doing wrong, since you got passed it i thought I'd ask you.
      Thanks in advance.

    • @p0_0kie_001
      @p0_0kie_001 4 роки тому

      @@mitchelk.3682 Can you send me the time stamp

    • @mitchelk.3682
      @mitchelk.3682 4 роки тому

      @@p0_0kie_001 1:10:00

    • @p0_0kie_001
      @p0_0kie_001 4 роки тому

      @@mitchelk.3682 Tbh my man I'm not even following this course anymore, first of all it uses very old version of laravel that is very different from version 8. I'm also stuck on another thing and I'm done with endless troubleshooting. If you want a good laravel course here is one I'm currently following: ua-cam.com/video/BXiHvgrJfkg/v-deo.html

    • @fariaafrin6087
      @fariaafrin6087 3 роки тому

      Thank you.

  • @limelnoll476
    @limelnoll476 2 роки тому +3

    For those who couldn't run the command: php artisan make:auth successfully, the newer versions of Laravel have adopted the next commands to be replacing the previous one:
    1) Run the command: composer require laravel/ui
    2) The run the command: php artisan ui vue --auth
    And voila, the authentication scaffolding generated successfully!
    Best regards.

    • @valenntinabakia3591
      @valenntinabakia3591 2 роки тому +1

      heyy,I did this command ,the auth file is created with the loginblade,registerblade etc but when i open the project in google the login and sign up is not shown in the page,can you please tell me how did you make them to show up in the page(like in the 12:09 minute of the video),it would mean so much if you helped me

    • @limelnoll476
      @limelnoll476 2 роки тому +1

      ​@@valenntinabakia3591 Hey!
      If you're strugglin' with fact that those two links don't appear in your project webpage's header, then you can refer the JSON file where you can resolve this problem.
      Bes regards.

    • @valenntinabakia3591
      @valenntinabakia3591 2 роки тому

      @@limelnoll476 thanks, they are many .json files , i also watched like 10 tutorials for this and for them the links are shown easily…if i write /login or /register in the url section i get the forms but I d like the links to be shown just like this tutorial

    • @amada.10
      @amada.10 2 роки тому

      The second command doesn't work idk why

  • @DevilishAngelxA
    @DevilishAngelxA 5 років тому +5

    It’s like you heard my thoughts 😮 thank you for this 😭❤️

    • @CodersTape
      @CodersTape 5 років тому +3

      Glad to hear, thanks for watching

  • @mullahkijaana
    @mullahkijaana 4 роки тому

    Well done Victor. I don't know how did I land on your video but I am feeling so lucky. Hats off to you! I wish I could tribute you in a better way.
    I am a Java Guru and i never worked with php. You made everything so simple for me. I was able to finish your video in three days and now I am quite good to go with php. Thank you so much!

  • @akachi1637
    @akachi1637 4 роки тому +1

    first 3 seconds in of video and my first framework. excited!!!

  • @AttyEK
    @AttyEK 2 роки тому +10

    This course is outdated. You go from one error to another... Can't follow because a new error pops up on every step

    • @danielhirsch7075
      @danielhirsch7075 8 місяців тому

      yeah, wasted hours on the first 10 minutes of this video ...

  • @githakambui3983
    @githakambui3983 3 роки тому +47

    Great tutorial but you should update it to Laravel 8.0. Some commands such as "PHP artisan make:auth" no longer work in laravel 8.0

    • @mh5854
      @mh5854 2 роки тому +18

      instead you should do the following steps:
      1. composer require laravel/ui
      2. php artisan ui:controllers
      3. php artisan ui bootstrap --auth
      note... you could write vue or react instead of bootstrap in step 3

    • @Hin69Hin
      @Hin69Hin 2 роки тому +3

      no wonder why i did it 10times but nothing came up

    • @stalinyt6167
      @stalinyt6167 2 роки тому

      php artisan migrate is not working
      I tried to find solution but no luck
      can you help me plz

    • @loicrutabana1884
      @loicrutabana1884 2 роки тому +2

      @@mh5854 controllers*
      Thanks for the tip though

    • @alain2110
      @alain2110 2 роки тому +2

      watch this for version 7 and above ua-cam.com/video/I9VAwh2XAdQ/v-deo.html

  • @WalterWoshid
    @WalterWoshid 4 роки тому +4

    Thank you very much. Great guide. You gave the perfect amount of information, so that we still can learn a lot by ourselves. It was a little hard following the workflow of the routes/controllers/views, but I think some kind of visualization could really help, especially for beginners. Nonetheless those are just my 2 cents, thanks for the tutorial!

  • @technologyforlife1635
    @technologyforlife1635 4 роки тому +2

    ⌨️ (1:30:00) Adding Posts to the Database & Many To Many Relationship
    it should be ⌨️ (1:30:00) Adding Posts to the Database & One To Many Relationship

  • @Sansa-Academy
    @Sansa-Academy 2 роки тому

    Watching this in 2022, and I have just completed the tutorial, using Laravel 8.0. Laravel is still a pretty powerful framework that makes everything seem so easy to use. Its almost as if you have downloaded an app from the internet and are just unlocking its powerful features. Am still a novice in the coding world but my hunger to learn new concepts is insatiable. I would highly recommend this framework as a gateway for anyone who is new to the programming world and is eager to learn.

  • @Gszada
    @Gszada 3 роки тому +3

    FIX ISSUE at 1:08:45
    You might get the error: Class "App\User" not found... Because the newer versions of Laravel has the User.php file in a different path: App\Models\User

  • @killlerkan08
    @killlerkan08 4 роки тому +3

    If anyone else has a problem at 3:24:29 with the Follow button not appearing, I had to do a hard refresh with chrome on mac cmd+shift+r after running npm dev watch for it to appear.

    • @biljanabozinova4836
      @biljanabozinova4836 4 роки тому

      I'm having problem with it. How you'd fixed it?

    • @biljanabozinova4836
      @biljanabozinova4836 4 роки тому

      I fixed it, as you have written! Ctrl+shift+r! Thank you very much! Two days i've tried everything, watched so many tutorials for npm, webpack, node.js,...and the follow button didn't appear until i saw your comment! Thank you very much for writing it!

    • @killlerkan08
      @killlerkan08 4 роки тому +1

      @@biljanabozinova4836 no problem mate! I've been stuck a few times on the video and wished someone had commented the answer 😂

    • @TheEdendvatri
      @TheEdendvatri 4 роки тому

      @@biljanabozinova4836 what version of larevel you using

    • @biljanabozinova4836
      @biljanabozinova4836 4 роки тому +1

      @@TheEdendvatri Laravel 7

  • @jayabrams400
    @jayabrams400 5 років тому +6

    FYI: If you use the command: "laravel new freeCodeGram", you will have issues with this tutorial as the version he is working on is laravel 5.8, but the command above installs laravel 6. Save yourself the headache and run this command: 'composer create-project laravel/laravel="5.8.*" freeCodeGram' if you have composer installed globally, or 'php composer.phar create-project laravel/laravel="5.8.*" freeCodeGram' if you have composer installed locally. You will thank me later.

    • @kristapsvecvagars5049
      @kristapsvecvagars5049 4 роки тому

      Or you could put on your big boy pants and adapt to laravel 6 on the fly :)

  • @Tr3k3000
    @Tr3k3000 2 роки тому +2

    If you stuck in around 1:45:00 with store method, there is new kind a request formulation:
    public function store(Request $request)
    {
    dd($request->all());
    }

  • @seedme
    @seedme 4 роки тому +2

    at 1:55:19 the caption = 'caption' was from Ctrl+D selecting all instances of name = 'name' and changing to 'caption'

  • @beardadosrs3026
    @beardadosrs3026 4 роки тому +5

    Okay so apparently, on 1:52:10 using Laravel 7, you need to do
    public function store(Request $request) {
    dd($request->all());
    }

    • @mathiuibrahim5252
      @mathiuibrahim5252 4 роки тому

      its still not working for me ..... i think it has a routing problem.. getting this message : "Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
      The POST method is not supported for this route. Supported methods: GET, HEAD." i have being trying to fix this post route..still no hope.. @freecodecamp

    • @AaronEby
      @AaronEby 4 роки тому +2

      @@mathiuibrahim5252
      In web.php make sure your route says "post" and not "get"
      Route::post('/p', 'PostsController@store');