2 | How to Easily Install Laravel | Laravel for Complete Beginners | Laravel Tutorial

  Рет қаралды 71,256

Dani Krossing

Dani Krossing

Күн бұрын

Пікірлер: 208
@Dani_Krossing
@Dani_Krossing 7 ай бұрын
Hi everyone! Yes, this is a re-upload, since a lot of people encountered specific errors in the last video. So I am trying to redeem it, by uploading a "better" tutorial hehe. 🙂 Don't worry! The next tutorial will be up in a bit, within the next 5min or so!
@Clasped003
@Clasped003 7 ай бұрын
I appreciate the effort you put into updating that! I first found your videos during the pandemic, and now am getting into learning full stack with WAMP. I'm really happy you're still putting out stuff!
@dividsky
@dividsky 7 ай бұрын
Check your spelling on your thumb..." Installation "
@degray6882
@degray6882 5 ай бұрын
Pls am waiting Errors in mine
@jvincent4854
@jvincent4854 4 ай бұрын
Its not fine that the setup process doesn't show because it automatically sets up as sqllite when I change the env file to say mysql I get error messages on my webpage. Thanks
@jvincent4854
@jvincent4854 4 ай бұрын
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'testwebsite.sessions' doesn't exist (Connection: mysql, SQL: select * from `sessions` where `id` = WP6eJLmfXT5RgpjxxxoSReZ6UEinaCKoIhzOMaKm limit 1)
@naraindarshan5600
@naraindarshan5600 2 ай бұрын
If you are getting In JsonFile.php line 381: "c:\ProgramData\ComposerSetup\bin\composer.bat" does not contain valid JSON. Parse error on line 1: ..., I managed to rectified the error by completely deleting the Composer path in Edit systems variable. I have no idea why it works but it worked. Basically, do no add a path Environment variables for composer.
@peterhan3676
@peterhan3676 Ай бұрын
it's worked. lmao
@BushraAlhusaini-c5l
@BushraAlhusaini-c5l Ай бұрын
I got the same error and when I deleted the composer from the systems variables it worked !
@naraindarshan5600
@naraindarshan5600 Ай бұрын
@BushraAlhusaini-c5l Hello Bushra! I'm happy that I was helpful to you and others. Now, I would like to raise the alarm on a potential issue you might face if you use XAMPP and Laravel. If you are developing a web application without using any laravel and concurrently you are developing a laravel based web app (both using XAMPP), you might run in an error that will prevent you from interacting with your database. Your MySQL server will stop running. If this happens, you unfortunately have to delete XAMPP entirely. Please watch a youtube video first on how to delete XAMPP properly first. Then after deleting your database, create the same old database. This partially worked for me and if you want to know me (since I wrote a lot), let me know.
@JimsRobot
@JimsRobot Ай бұрын
Yep, worked for me. Thanks for the heads up buddy, you're a legend.
@7thsensu
@7thsensu 17 күн бұрын
THANK YOUUU
@720henrique
@720henrique 4 ай бұрын
seriuosly you are the best professor ever, I literally have been watching thousands of tutorial from other people, and as a total beginner I was not understanding anything until I found you, now everything makes a sense. thank you, god bless you.
@shanakaprince3660
@shanakaprince3660 4 ай бұрын
Really thank you for the video. If you guys faced any issue like this "Composer could not find the config file" (This will show in the terminal), try to delete the environment variable that created to the composer, after that project works.
@Lioness-ys8fq
@Lioness-ys8fq 4 ай бұрын
Now I'm having a composer could not found. Can you help me?
@ruudkorunka
@ruudkorunka 4 ай бұрын
Hello Daniel, In this tutorial (at 19:17 minutes) you are referring to the Dashboard folder. But in another tutorial, in which we installed Xampp, I remember that you recommended to delete that folder. So I had to re-install Xampp to get the Dashboard folder back. No big deal, just letting you know. Bye, Ruud (Netherlands)
@Danzamagu
@Danzamagu 3 күн бұрын
Do you have a video or next steps for deploying a brand new setup like this on a public cloud host? Or any tips on how to figure that out? Thanks. Loved the video, so concise yet thorough.
@JonEllis-mi4mc
@JonEllis-mi4mc 3 ай бұрын
Great tutorial! If you run into issues with the DB and it doesn't install for whatever reason you can fix the issue and type "php artisan migrate" from the project folder dir to install it.
@ajedamilola8146
@ajedamilola8146 2 ай бұрын
thanks i had excatly this issue
@mcflorestes3847
@mcflorestes3847 Ай бұрын
thanks! I had exactly this issue
@catief1031
@catief1031 5 ай бұрын
First off, thanks Dani! Your PHP class tutorial really helped me out and this one's been helping me out as well. To hopefully save someone else a possible headache... Here's an error and the solution that worked for me. While creating the project in the terminal, right before it asked about the database it would give me the error: Composer could not find the config file: C:\ProgramData\ComposerSetup\bin The usual help sites all said remove the Composer variable (same one set up earlier in this video). No luck for me... Found the issue in the system variable PATH. It has a bunch of various paths, somehow the path for Composer was added. Once I removed the Composer section from PATH, the Laravel set up steps worked fine.
@thadka0448
@thadka0448 3 ай бұрын
Hey, thank you so much for your comment bro my problem has been solved now after an hour of investigating this nefarious problem!!!😭
@LordSolgaz
@LordSolgaz 2 ай бұрын
I typed the composer.phar at the end of C:\ProgramData\ComposerSetup\bin that seemed to fix it somehow. But looking at the other comments here there happens to many ways of fixing it, like selecting composer.bat or setting the path in PHP
@The_Beard_of_Wisdom
@The_Beard_of_Wisdom 6 ай бұрын
FYI-XAMPP now has several files in the dashboard, in fact when you start running xampp and start the services the dashboard is what loads up (19:31), recommend backing it up first
@simonhooper1217
@simonhooper1217 Ай бұрын
Should we still use that folder?
@salihmohmmed9846
@salihmohmmed9846 2 ай бұрын
‏‪21:15‬‏ Here when I choose none it shows this error message "the term none is not recognized as the name of a cmdlet in vs code"
@The_Beard_of_Wisdom
@The_Beard_of_Wisdom 6 ай бұрын
FYI-The new installs with XAMPP and Composer automatically do this for you if you run the install as administrator. 13:15 (Path Variables for the System)
@Abz-u6m
@Abz-u6m 3 ай бұрын
thanks dani this video realy helped me out today , and for teaching me php and oop, wishing you all the best in your new job, sending lots of love from Kenya
@THEGODDARKWOLF
@THEGODDARKWOLF 6 ай бұрын
Great video it was easy to follow but when you began creating a project in Laravel, this just kept popping up "Composer could not find the config file: C:\ProgramData\ComposerSetup\bin" . So do you have a way of fixing this?
@edmond0291
@edmond0291 5 ай бұрын
my first answer contained a link to a video showing a solution to this problem, so it hasn't been posted yet. The solution is to open VS Code file - preferences - settings - User - Extensions - PHP - "Edit in settings.json" and add the path to "php.validate.executablePath": "" like so: "php.validate.executablePath": "C:/xampp/php/php.exe"
@winlox925
@winlox925 3 ай бұрын
C:\ProgramData\ComposerSetup\bin\composer.bat type this to the environment variable instead. Don't just type the directory
@posh87
@posh87 3 ай бұрын
@@winlox925 this works for me but why he's not getting error like this when he don't include the composer.bat?
@Random_guy25737
@Random_guy25737 2 ай бұрын
@@winlox925 thanks a lot man it worked
@DeadEnd-ct6dh
@DeadEnd-ct6dh 2 ай бұрын
​@@winlox925this saved me a ton of time ,thanks
@Oaneis
@Oaneis 5 ай бұрын
During the installation my terminal didn't really asked me for a database so to work around it. If you don't have the env file yet you need to get it not the example one and then edit the database input then run the artisan migrate
@jvincent4854
@jvincent4854 4 ай бұрын
what??
@elisabeth6390
@elisabeth6390 3 ай бұрын
I get this error "The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset." in the comand window :(
@MarshallDTeach-hv3hw
@MarshallDTeach-hv3hw 3 ай бұрын
select the .bat or whatever is in there, dont just put the directory
@sfgaming1749
@sfgaming1749 3 ай бұрын
i also encountered the same problem, does anyone else had figured it out?
@elisabeth6390
@elisabeth6390 3 ай бұрын
@@MarshallDTeach-hv3hw YES! That's it. Thanks.
@avinashtripathi3246
@avinashtripathi3246 2 ай бұрын
Hey guys, I tried to selected all the three files in the folder one by one and none of the options worked getting the error - "C:\ProgramData\ComposerSetup\bin\composer.phar" does not contain valid JSON Parse error on line 1: #... ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
@rashdakhanzada8058
@rashdakhanzada8058 Ай бұрын
@@avinashtripathi3246 same error i am facing
@The_Beard_of_Wisdom
@The_Beard_of_Wisdom 6 ай бұрын
if you have xampp running you don;'t need to create the database the terminal does that for you 22:54
@maxmediagroup9657
@maxmediagroup9657 3 ай бұрын
Differently from installing various NPM JS packages with a plethora of security warnings, It's so satisfying to run "composer require laravel/installer:*" and have "No security vulnerabilities found"...I love the lack of brittleness...btw - that is a work-around any errors received when employing "composer global require laravel/installer"...
@tracer-media
@tracer-media 2 ай бұрын
In Factory.php line 231: The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be lef t unset. please assist with this error...
@muhammadezraf5556
@muhammadezraf5556 Ай бұрын
you can delete the environment variable, then restart ur computer, it works for me
@Daemon0617
@Daemon0617 6 ай бұрын
After the testing framework question it generated a message "Composer could not find the config file C:\ProgramData\ComposerSetup\bin" which I already added this path to the system enviroment. To resolve the issue is to remove the system variable (Composer). With the help of bing Copilot!...
@kevinezbon2221
@kevinezbon2221 6 ай бұрын
I had the same problem. could you walk me through the solution
@overseer6943
@overseer6943 6 ай бұрын
I'm getting the same error, been driving me crazy for 30 minutes. I don't think this worked for me but I am going to try a bunch of things.
@THEGODDARKWOLF
@THEGODDARKWOLF 6 ай бұрын
I'm having the same problem. Is there a way to resolve it?
@kevinezbon2221
@kevinezbon2221 5 ай бұрын
@@THEGODDARKWOLF remove the composer system variable
@kevinezbon2221
@kevinezbon2221 5 ай бұрын
@@overseer6943 remove the composer system variable
@rickbeniers667
@rickbeniers667 7 ай бұрын
After running laravel inside the terminal in the editor(I am using Visual studio 2019) the terminal never asks me to select a database. It does say that it cant find composer however I did set a path for it like you showed. Anybody know why this is? when I open the Public folder in localhost it displays a screen with the tekst ""500 | SERVER ERROR"
@MichelleThykjr
@MichelleThykjr 7 ай бұрын
I get the same error - if I however delete the composer path in environmental variables, I get the option to select a database. BUT the database in phpMyAdmin doesn't update with data like in the tutorial. I don't know if that's due to the (now) missing composer path. And I now get the "access denied for root@localhost" when i try to open the public folder. On stackoverflow they recommended deleting the composer path.
@rickbeniers667
@rickbeniers667 7 ай бұрын
@@MichelleThykjr I was able to go around the problem by creating my own database(which I wanted to do anyway) and just migrate the database tables and columns via the CLI in my own editor. But if you want to create the DB while starting your parabel project directly it could well be that the composer path is the problem because I also set up a path for composer in the lower path list and the upper path list which the guy in the video didint realy say anything about. So my suggestion is to just create your own database, connect to it and migrate towards it.
@grandmasteregg5951
@grandmasteregg5951 21 күн бұрын
Hello! When I create something in laravel it does not ask me what database to use and always default to SQLite. How can I get that option to choose which database I want to use?
@dumbpotato6725
@dumbpotato6725 Ай бұрын
Hi, I don't have the extension=zip inside my php.ini is it ok to add it? Thank you
@JOSHUACATABAY-di6yq
@JOSHUACATABAY-di6yq 4 ай бұрын
do you use herd? what is the purpose of using it and do i need it in learning laravel?
@mladenbrocic4936
@mladenbrocic4936 5 ай бұрын
Hi Dani, I have a problem. In the VS code in the terminal after Laravel was installed I didn't get a prompt about which database your application uses (MySQL, MariaDB, and so on), i was asked do I wanted to connect to GitHub, i wrote no and pressed enter and the project was installed, but I don't have a connection to the database. when I press public i get error 500, also in the website folder I only have the env.example file and not .env. I tried to make some changes in that file to connect to the database but it did not work, I got a prompt that I must make a composer JSON file, and after all that I don't know what to do!
@jamesallendanduan3922
@jamesallendanduan3922 5 ай бұрын
same problem here
@netherprcek
@netherprcek 4 ай бұрын
I had the same issue. According to some suggestions, I removed the Composer (c:/ProgramData/ComposerSetup/Bin) from Evnironmental Variables (as we did in this video in Advanced System Settings), restarted VSCode and then ran the "laravel new projectname". This should fix it. After you run this command, it should do the same process, and at the end, you get the database selection. I hope this helps :)
@Danzamagu
@Danzamagu 3 күн бұрын
Skip to 4:45 for the actual start.
@omid-plg2616
@omid-plg2616 7 ай бұрын
I was exactly in the middle of learning that video witch suddenly disappeared, you shocked me man😂❤
@Dani_Krossing
@Dani_Krossing 7 ай бұрын
Sorry 😅 hopefully you enjoy this one more
@omid-plg2616
@omid-plg2616 7 ай бұрын
@@Dani_Krossing Really useful, Great thanks.❤️
@yomammo
@yomammo 2 ай бұрын
thanks yo! a few steps there. question: I started locally with wp, but wondering if i'd have any issues having laravel installed as well. LInux Ubuntu 22.04 keep em coming.
@shafstuff
@shafstuff 6 ай бұрын
Hi. first of all id love to thank you for everything youve done. mastered the basics of html, css, php from you. currently learning laravel but sadly cant learn all of it from you since the course isnt finished and im in a rush. Anyway, noticed a problem from your course. Creating an environmental variable for composer gave me problems later on when i tried to create a new laravel project. i had to remove the composer variable again for it to work properly
@leensaleh2322
@leensaleh2322 5 ай бұрын
same for me
@The_Beard_of_Wisdom
@The_Beard_of_Wisdom 6 ай бұрын
21:35 - Mine was asked for git because I have it installed, then the rest was the same
@willxchronos3493
@willxchronos3493 3 ай бұрын
Hello sir, sorry but my php.ini file doesn't have extension=zip in it, should I install the extension or what should I do? Is it okay to run the program without that extension?
@tofu666
@tofu666 3 ай бұрын
had the same problem ... turns out my xxamp version was too old and with installing the newest all was good
@alimardani08
@alimardani08 5 ай бұрын
really really thanks for your amazing video i understand how to creat laravel project and work with and if you keep going to creat full course i'll be really thankful 😃
@rpersen
@rpersen 4 ай бұрын
Great video. One question: do you recommend using Docker instead of localy installed services like PHP, MySQL etc?
@2684dennis
@2684dennis 7 ай бұрын
awesome, in htdocs/default i have a lot of maps that where in there afther installing, can i remove all them like what you did before in the htdocs? i have to work on a module web dev and we have to do a laravel project, this tutorial is gonna help me out,
@rickbeniers667
@rickbeniers667 7 ай бұрын
dont remove them. just leave em be
@DavidAshby1
@DavidAshby1 2 ай бұрын
Using windows 11. The path to php in xampp was already set. when I added Composer path to the system variables I got that it was pointing to a directory. I removed the path in system variables for composer only then checked in cmd again for the version and all the information was there.
@muhannddh
@muhannddh 7 ай бұрын
Why I don't have that option to popup when i created the laravel "Which Datebase your application will use?"
@rickbeniers667
@rickbeniers667 7 ай бұрын
yea same. for me it also says that the Composer path towards the Bin in programdata cannot be found for some reason
@muhannddh
@muhannddh 7 ай бұрын
@@rickbeniers667 we need to revert this step " COMPOSER environment variable defined and set to C:\ProgramData\ComposerSetup\bin" You should unset/delete that env var. after that it's it's working.
@salmaatlassi7198
@salmaatlassi7198 5 ай бұрын
✨it's not goonna be difficult it's just new things✨
@aadogc
@aadogc 5 ай бұрын
What editor are you using?
@blackvlog4529
@blackvlog4529 5 ай бұрын
Thank you so much, I am waiting for the next lesson.
@rashdakhanzada8058
@rashdakhanzada8058 Ай бұрын
gettting this error "The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable sh ould point to a composer.json or be left unset." on cmd when running command on cmd
@SalmanulFaris-zv6qy
@SalmanulFaris-zv6qy 4 ай бұрын
hi Dani, whenever i use the database of XAMPP which is mysql i can't turn it on. it automatically turning of with error in the XAMPP control panel . with error of port numbers something like that . but i think it's because of data corruption of data in the database . is there anyway to fixit . actually i resolved this problem multiple times but it keeps happening . i like using XAMPP so how to prevent this from happening
@dj_supa
@dj_supa 7 ай бұрын
If you say LARAWELL one more time I’m going to lose my mind 😂 jk Great video thank you for uploading these tutorial videos. You got a New Subscriber!! 🙌🏼
@kevinsedwards
@kevinsedwards 6 ай бұрын
first you insult then try and be kind, that's not how it works.
@matuidiwilliams7679
@matuidiwilliams7679 4 ай бұрын
whole time I was wondering if I was saying it wrong all this time until I saw this comment lol
@theCleromancer
@theCleromancer 13 сағат бұрын
This doesn't work for me. Specifically, the "composer global require laravel/installer" command fails. I get the message: In RequireCommand.php line 143: file_put_contents(./composer.json): failed to open stream: Permission denied I tried to do it as "sudo composer global require laravel/installer" but I get a warning that installing to the root is a bad idea, so I stop there. Google searches have provided no answers. I'm on a mac. Help? 🤔
@JasonBombay-g4t
@JasonBombay-g4t Ай бұрын
Why mine says locking after I put the composer global require laravel/installer?
@johncarlogianan7515
@johncarlogianan7515 5 ай бұрын
My current PHP version is only 7.4.28, the latest Laravel version requires 8.2^ version of PHP. Will it automatically install the version of Laravel suited for my current PHP version?
@Jelaie
@Jelaie 2 ай бұрын
13:58 I set the variable name as "Composer" but when I go to cmd and prompt the "composer --version" this is what came out " In Factory.php line 231: The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset. So I edited the variable name and set it to "Compose" instead, and when I go to cmd and indicate the version for composer, it work. edited: 15:26 another thing is when I start installing laravel through cmd the zip was somewhat the problem so I tried to fix though the "php.ini" file (of what the tutorial said) where I remove the semi colon of the ;extension=zip and save it, then I tried downloading it again in the cmd "composer global require laravel/installer" and it works wonderful.
@ziper7874
@ziper7874 Ай бұрын
THANK YOU!!!
@ElysiumLeoSK
@ElysiumLeoSK Ай бұрын
This helped tremendously. Thank you.
@AngelRosario-b9n
@AngelRosario-b9n 5 ай бұрын
whenever i try to install something locally using composer like for example composer require laravel/breeze --dev command I get this error: In RequireCommand.php line 155: file_put_contents(D:\ComposerSetup): Failed to open stream: Permission denied However if I try to do a global command like composer global require laravel/breeze it works fine, sorry for being a noob but how can i fix this? My enviroment variables are set to the bin folder and everything.
@kctienganh
@kctienganh 5 ай бұрын
Thanks a lot for this helpful tutorial!
@eggxecution
@eggxecution 3 ай бұрын
nice, man I need git too to be installed, I made it work!, make sure to type the directory of the project folder in terminal for artisan to work sheesh took me a long time to realize
@marleenloohuis2111
@marleenloohuis2111 5 ай бұрын
Error: 'composer' is not recognized as an internal or external command What helped for me: add this systemvariable: Path C:\composer Hope this is helpful. Thank you Dani for your videos. I managed to install Laravel!!
@زيادالعريقي-ك4ج
@زيادالعريقي-ك4ج 6 ай бұрын
Hi Dani I have error in this In CurlDownloader.php line 196: curl_setopt(): Unable to create temporary file. What do I do ? Please Help Me
@jheryvillanueva6120
@jheryvillanueva6120 6 ай бұрын
hello sir Dani, I was following your tutorial and once i tried the npm run dev it always result to Missing script "dev", can I ask how to solve this problem please
@john-karoltagboh44
@john-karoltagboh44 6 ай бұрын
Followed all the steps but getting this error 'composer' is not recognized as an internal or external command, operable program or batch file.
@john-karoltagboh44
@john-karoltagboh44 6 ай бұрын
problem solved
@eribaik
@eribaik 6 ай бұрын
@@john-karoltagboh44 how
@johnronanlimbadan4229
@johnronanlimbadan4229 2 ай бұрын
@@john-karoltagboh44 how?
@degray6882
@degray6882 5 ай бұрын
Am not seeing my composer setups what do i do
@stienogamez8296
@stienogamez8296 7 ай бұрын
Can I also use mamp instead of xampp and does it change anything important about the rest of the process?
@Dani_Krossing
@Dani_Krossing 7 ай бұрын
You can use MAMP as well. 🙂 the goal is just to have a server running.
@johnjunior-n3n
@johnjunior-n3n 19 күн бұрын
i keep getting this message Error 2 No such file or directory what do i do?
@uchennaopara9475
@uchennaopara9475 4 ай бұрын
Thank you so much for your videos. I just watched How to Easily Install Laravel but after typing mysql as the database my application will use, I don't get tables created in my Database. Instead I see this error in the terminal "Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found)..."
@bimsarajayasena-jr9bd
@bimsarajayasena-jr9bd 3 ай бұрын
I wasted my Data without knowing that "zip extension". Thank you for the detailed tutorial
@DeadEnd-ct6dh
@DeadEnd-ct6dh 2 ай бұрын
Select the composer.bat as the environment variable instead of just the directory
@ParasizAsker
@ParasizAsker 15 күн бұрын
I just liked you even more when you said you don't have a mac
@Dani_Krossing
@Dani_Krossing 15 күн бұрын
I used a Mac back when I worked as a marketing assistant many years ago, and it was a dreadful experience 😅 They like to make things harder for people who are devs.
@temirkhanamanbaev42
@temirkhanamanbaev42 7 ай бұрын
Thanks, man! Great video.
@johnwickar1552
@johnwickar1552 Күн бұрын
In Factory.php line 231: The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset. I use WAMP and I keep getting that error message
@Dani_Krossing
@Dani_Krossing Күн бұрын
ChatGPT is always quick to give a solution. :) Here is what it says when I pasted your comment into it. Step 1: Unset the COMPOSER Environment Variable: The COMPOSER environment variable should generally be unset unless you want to specify a specific composer.json file to use globally. To unset it: Open the Environment Variables settings on your system: Press Win + R, type sysdm.cpl, and hit Enter. Navigate to the Advanced tab and click Environment Variables. Locate the COMPOSER variable under System variables or User variables. Select it and click Delete (or Edit to clear its value). Step 2: Set the COMPOSER Variable Correctly (if needed): If you need this variable set (e.g., for a custom composer.json file location), point it directly to the composer.json file: C:\path\to\your\composer.json Replace C:\path\to\your\composer.json with the actual path. Step 3: Restart the Command Line: After making changes, restart your terminal or command prompt to apply the updated environment variable settings. Step 4: Verify Configuration: Run the following command to ensure Composer is working as expected: composer --version If the command works without errors, your setup is correct.
@bernpaul9868
@bernpaul9868 7 ай бұрын
bro this is version 8.2 of php how to update or upgrade into version 8.3 or the latest version in xampp ?
@NoobUzziah300
@NoobUzziah300 18 күн бұрын
I can't install Laravel it shows "found 1 security vulnerability advisory affecting 1 package" how to fix this
@heinzerbrew
@heinzerbrew 5 ай бұрын
really great work!
@marleenloohuis2111
@marleenloohuis2111 5 ай бұрын
In order to make laravel run (after 'laravel new firstwebsite' getting through to laravel instead of errormessage) I had to add an environment variable for path: C:\Users\Username\AppData\Roaming\Composer\vendor\bin You can declare more than one path. Hope this helps someone.
@tomdarank1272
@tomdarank1272 6 ай бұрын
Amazing tutorial!
@TheAntarcticaProject
@TheAntarcticaProject 5 ай бұрын
When I enter `laravel new firstwebsite`, the installation starts automatically without asking me anything. After that, I can't link MySQL, meaning I go to phpMyAdmin, create the database, but it doesn't create the tables. That's where I get stuck in the tutorial and can't move forward haha. Another error that appears during the installation is this: ``` Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found), C:\xampp\php\ext\php_zip.dll (The specified module could not be found)) in Unknown on line 0 ```
@ZahraSattar-qr8fm
@ZahraSattar-qr8fm 4 ай бұрын
same issue.. have you resolved this one?
@srikowshika3676
@srikowshika3676 6 ай бұрын
Sir how to restart the vscode when creating the laravel new firstwebsite.... Sir please tell me... Im exhausted now😢😭
@srikowshika3676
@srikowshika3676 6 ай бұрын
Hloo sirr plz answer me
@angelpap5841
@angelpap5841 Ай бұрын
@@srikowshika3676 unfortunately i have the same problem. Even though i restarted vs code when i typed again "laravel new firstwebsite" it gave me this error message "laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." If you found any solution please give me a feedback
@JulesDieme-ns1cz
@JulesDieme-ns1cz 6 ай бұрын
Hi boss , the first time i opened the php.ini folder i didn't find the extension=zip line i added it myself , is it normal not to find it the first time like in the video??
@informationage8623
@informationage8623 6 ай бұрын
I am experiencing the same thing too
@informationage8623
@informationage8623 6 ай бұрын
I noticed that I couldn't find the "php.ini" file because the file name extension check button from the view menu was not activated. So it was just reading as "php" file only.
@IfeyPrecious
@IfeyPrecious Ай бұрын
Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping. The php.ini used by your command-line PHP is: C:\xampp\php\php.ini Now trying to download from source In GitDownloader.php line 82: git was not found in your PATH, skipping source download
@mbalipuso531
@mbalipuso531 3 ай бұрын
I cant find the ProgramData folder
@winlox925
@winlox925 3 ай бұрын
C:\ProgramData\ComposerSetup\bin\composer.bat" does not contain valid JSON"C:\ProgramData\ComposerSetup\bin\composer.bat" does not contain valid JSON this show up when i was following at 21:26 value of my environment variable was set to : C:\ProgramData\ComposerSetup\bin\composer.bat tried switching ti C:\ProgramData\ComposerSetup\bin\composer.phar & C:\ProgramData\ComposerSetup\bin still no luck
@alexiscano4167
@alexiscano4167 3 ай бұрын
Did you find the solution? I got the exactly same error.
@Mickroz
@Mickroz 3 ай бұрын
Delete the Composer environment variable and run again, that fixed it for me
@alexiscano4167
@alexiscano4167 3 ай бұрын
@@Mickroz Thank you, that fixed it for me too.
@airfintechtest
@airfintechtest 6 ай бұрын
Finally i found this video , Thans
@peterkaranja60
@peterkaranja60 6 ай бұрын
How can i use PostgreSQL as my application database
@AjayrajSinghAjajaysingh1-wk1xw
@AjayrajSinghAjajaysingh1-wk1xw 5 ай бұрын
thanku so much sir for this full explain video
@nickthejammin
@nickthejammin 7 ай бұрын
Shouldn't you select MariaDB instead of MySQL during installation? Both your XAMPP and phpMyAdmin say that you are using MariaDB as server type. Just as a side note. I'm very happy that you're now addressing Laravel and look forward to following your tutorial series! Thank you for that! 😊
@Dani_Krossing
@Dani_Krossing 7 ай бұрын
XAMPP and phpMyAdmin uses MySQL by default 🙂 but you can set it up with MariaDB if you want.
@nickthejammin
@nickthejammin 7 ай бұрын
@@Dani_Krossing I just thought because at 22:40 you have MariaDB on the right side of phpMyAdmin.
@rykageee
@rykageee 4 ай бұрын
really helped thanks!
@truekili9215
@truekili9215 5 ай бұрын
Cant run apache says it shuts down unexpectedly every single time I run it. Have sat there for hours trying to troubleshoot using different ports, renaming ServerName to local host. I have tried so many forums and youtube solutions to this apache error and nothing works.
@truekili9215
@truekili9215 5 ай бұрын
Okay I figured it out. When I installed Xampp i was deleting the PHP folder that comes with XAMPP and then putting in my version of PHP into XAMPP which messed somethings up within XAMPP I guess. To fix it I just reinstalled XAMPP and did not delete the base PHP folder than comes with XAMPP but I still put my, newer, version of PHP in the XAMPP folder since that path was added to my env variables for the PATH.
@posh87
@posh87 3 ай бұрын
After I select "Pest" and Enter I got this error Would you like to initialize a Git repository? (yes/no) [no]: > no In JsonFile.php line 375: "C:\ProgramData\ComposerSetup\bin\composer.bat" does not contain valid JSON Parse error on line 1: @... ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
@SolCreatives
@SolCreatives 2 ай бұрын
same problem here , how did you do?
@posh87
@posh87 2 ай бұрын
@@SolCreatives I add the "composer.bat" in the PATH you added instead of "bin" folder..I think.
@asimitkarki
@asimitkarki Ай бұрын
The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset. receiving this error message
@jailesj9722
@jailesj9722 5 ай бұрын
it said no composer.json file . Please help me. Im stuck
@mynameisnotshane6501
@mynameisnotshane6501 2 ай бұрын
Well every thing went fine i got the version but then downloading fails with many messages
@Fanaro
@Fanaro 6 ай бұрын
Why not put all these videos in a playlist and place the link in the description?
@cadellvritra7127
@cadellvritra7127 Ай бұрын
dude it said -The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable sh ould point to a composer.json or be left unset.
@保羅狄拉克
@保羅狄拉克 7 ай бұрын
Dani, you are amazing
@ayomdaniel1825
@ayomdaniel1825 Ай бұрын
I failed to get php.ini. Am just only seeing php.ini development and production so how i solved such problem?
@ridershortz8129
@ridershortz8129 18 күн бұрын
Open the pho.ini.development
@devilreaper8543
@devilreaper8543 5 ай бұрын
waiting for your laravel series.......
@388thalpha
@388thalpha 4 ай бұрын
At 21:36 I hit ENTER then at 21:38 you said BUT WAIT! I'm like FUCK ME!!! then you said ITS OK DON'T WORRY. O what a relief LOL
@birupakshakhatei7943
@birupakshakhatei7943 4 ай бұрын
Thank you so much.....
@M.Code03
@M.Code03 5 ай бұрын
am having an error message installing composer
@ARIOPATRICK-in9oj
@ARIOPATRICK-in9oj 6 ай бұрын
was a nice tutorial
@grant88162
@grant88162 6 ай бұрын
thanks for this 😁
@SergioMoreno-m5z
@SergioMoreno-m5z 7 ай бұрын
Thanks!
@seyisadesina
@seyisadesina 7 ай бұрын
Thanks Dani
@AtuhairweRichard
@AtuhairweRichard 5 ай бұрын
thanks so much
@1stestrellajohnrobina.890
@1stestrellajohnrobina.890 5 ай бұрын
file_put_contents(C:\ProgramData\ComposerSetup\bin): Failed to open stream: Permission denied
@MatthewJimoya
@MatthewJimoya 6 ай бұрын
huhu I get a lot of Failed to Download huhuhu
@warunayasantha
@warunayasantha 12 күн бұрын
php artisan migrate only works without the password. what a heck..
@joshuaerickson4140
@joshuaerickson4140 3 ай бұрын
If your dashboard folder on XAMPP is not empty, you will receive a COMPOSER error
@Elekir
@Elekir Күн бұрын
I don’t have a local disk so I can’t continue 😢
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Install and Setup Laravel - Complete guide
17:59
Codes Easy
Рет қаралды 35 М.
How To Install Laravel For The First Time
9:58
Codes Easy
Рет қаралды 396 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
How to Install Laravel on Windows 10 | Complete Installation
10:57
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН