01 - Composer & The Laravel Installer

preview_player
Показать описание


In this video we'll learn about installing composer and adding the Laravel installer to your machine. Now with a single command you can be up and running with a new Laravel app in a snap!

Link Resources:
Рекомендации по теме
Комментарии
Автор

For anyone on Windows having a problem with getting the "laravel" command to work:

1. Locate your
2. Open your Control Panel and navigate to "System and Security" then "System"
3. Open "Advanced system settings" in the left bar
4. Here open the "Advanced" tab
5. Open "Environment Variables..." at the bottom
6. Look at the bottom half of this window that is titled "System variables" and scroll down until you see a Variable named "Path"
7. Select the "Path" row, and select "Edit..." at the bottom
8. Copy and Paste the path from step 1 at the end of what is in the "Variable Value"
9. Make sure there is a semi-colon before and after the new path you just pasted in the Edit window

That's it! You should be able to use the laravel command from anywhere now!

To test it simply open a blank cmd prompt and type "laravel"

Hope that helps!

Just realized he has a link in the description for this, but I hope it's still useful

Blazindragon
Автор

Thanks a lot fot this tutorial. It was useful to know all about this framework just in one hour (maybe less). :=)

gicu
Автор

hey every time i trip the command for installion i get error that say
Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to decode zlib stream' in -:658
i don't know how to fix that error
pls help me sir

Duurhla
Автор

Hi devdojo, I followed all of your steps but when I write: "laravel new application" the terminal answers me: "command not found"
How can I proceed?
Many thanks in advance.

FabioFiorio
Автор

i cant use laravel new application, why?? i was following you step by step....

mohammadrifqi
Автор

How does this work exactly with vmware or have a computer to start database development for my site, how would i get all these things setup on there?? Would i need to install an OS like windows 10, then virtual box ahow do i get it on the virtual machine, how does all that work

firstfiverugby
Автор

Hi. Thanks for putting this together. I've been having trouble understanding how to configure the PATH in my .zshrc file. Not even sure how it's supposed to look. The link to the resource is bringing up a 404.

duckburgz
Автор

How did you get your terminal to look like that? Its epic!

robanator
Автор

I like your shelll, how can I get one for my Mac?
Thanks

vzool
Автор

Are you using the native OS X terminal?

ThiagoPereiraRosa
Автор

How does your terminal look like that?

CJBurkey
Автор

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\HTS>d:

D:\>cd xampp\htdocs\laravel48

D:\xampp\htdocs\laravel48>php artisan migrate
Migration table created successfully.



SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 767 bytes (SQL: alter table `users` add unique `
users_email_unique`(`email`))



[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 767 bytes



D:\xampp\htdocs\laravel48>

bainapallikrishna