PHP Authentication: Dependencies (2/30)

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

Official site

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

I miss the days when things were simpler. Now we live in a world filled with Frameworks and Dependecies :(

HerbivoreJesus
Автор

bloody brilliant! best tutorial on starting out! most tuts dont give this much detail on starting out so you get lost eventually, but with yours, the picture is clear

freestylebeginner
Автор

re at time 3:08, Slim has updated to version3 which has changed the routing method. To download ver 2.6 enter php composer.phar require slim/slim "^2.6"

stirfryhelp
Автор

This will outline any changes in classes that have occurred between versions. If you have installed Slim as per the video and you are using a newer version (v3 or v4) you can downgrade to the same version as the video by editing your composer.json file to show:


"slim/slim": "~2.0",


Once you have changed this and saved the file, simply navigate to the directory in terminal/cmd prompt and run the command: "php composer.phar update"
This will update the dependencies and downgrade your slim version to version 2 as used in this tutorial.

JoshuaGraham
Автор

One thing I don't understand about Mac users. Why do they need all this command line stuff to download a couple of files. If I want to download a dependancy I would go to the webpage and click download. Then I would copy the needed php to my folder. Also I am not sure why you would need all these dependancies for an authentication system. I can understand using phpmailer which I downloaded off the website without using command lines, but mostly you can do it all in php. I am going to watch some more of these videos though to see if it gets better though.

Asimov
Автор

the cmd has to be opened from the project file to do that go to project file Pess and hold shift+ Rightclick and click open cmd here

epic
Автор

I feel like this will be quite a challenge for me to follow along! Seems quite advanced.

ArnoldsKtm
Автор

Can you do a video (series) about an user API, registering, loging in, updating info.
Using the slim framework would be nice
Would be very useful for cross platform apps. 
Thanks!

rickvdl
Автор

Any chance that this guide will be updated, to meet the new versions of the dependencies? :)

NarTiiiNDK
Автор

This is the great tutorial
you made my day
thank you so much

VikramSingh-qkcj
Автор

you post the composer.json or list of packages in the description, to save having to pause and squint at the video urls?

TristanBailey
Автор

+Codecourse you could show us how to update the app to slim 3.0 :D

Actarsatan
Автор

I think the alexgarret/violin package is no longer available. What should I do?

vvnoah
Автор

I think that you suggest to use way too many dependancies just for an authentication system. Don't you believe that they could be avoided?

mysticgr
Автор

You could show us how to update the app to slim 3.0 :D

Actarsatan
Автор

It will be great if you updated this tutorial using latest slimframework.

Ceghap
Автор

hey guys still new to dependencies, having trouble requiring illuminate/database: i get
Using version ^5.1 for illuminate/database
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- illuminate/database v5.1.1 requires illuminate/support 5.1.* -> satisfiabl
e by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1
.6, v5.1.8].
- illuminate/database v5.1.13 requires illuminate/support 5.1.* -> satisfiab
le by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.
1.6, v5.1.8].
- illuminate/database v5.1.16 requires illuminate/support 5.1.* -> satisfiab
le by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.
1.6, v5.1.8].
- illuminate/database v5.1.2 requires illuminate/support 5.1.* -> satisfiabl
e by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1
.6, v5.1.8].
- illuminate/database v5.1.20 requires illuminate/support 5.1.* -> satisfiab
le by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.
1.6, v5.1.8].
- illuminate/database v5.1.22 requires illuminate/support 5.1.* -> satisfiab
le by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.
1.6, v5.1.8].
- illuminate/database v5.1.6 requires illuminate/support 5.1.* -> satisfiabl
e by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1
.6, v5.1.8].
- illuminate/database v5.1.8 requires illuminate/support 5.1.* -> satisfiabl
e by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1
.6, v5.1.8].
- illuminate/support v5.1.8 requires ext-mbstring * -> the requested PHP ext
ension mbstring is missing from your system.
- illuminate/support v5.1.6 requires ext-mbstring * -> the requested PHP ext
ension mbstring is missing from your system.
- illuminate/support v5.1.22 requires ext-mbstring * -> the requested PHP ex
tension mbstring is missing from your system.
- illuminate/support v5.1.20 requires ext-mbstring * -> the requested PHP ex
tension mbstring is missing from your system.
- illuminate/support v5.1.2 requires ext-mbstring * -> the requested PHP ext
ension mbstring is missing from your system.
- illuminate/support v5.1.16 requires ext-mbstring * -> the requested PHP ex
tension mbstring is missing from your system.
- illuminate/support v5.1.13 requires ext-mbstring * -> the requested PHP ex
tension mbstring is missing from your system.
- illuminate/support v5.1.1 requires ext-mbstring * -> the requested PHP ext
ension mbstring is missing from your system.
- Installation request for illuminate/database ^5.1 -> satisfiable by illumi
nate/database[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.6, v5.1.8
].


Installation failed, reverting ./composer.json to its original content.

samsonwandah
Автор

i did it once a year ago now i cant i think that even the composer website has changed
Alex maybe u should update this video

sozuki
Автор

using the installer the composer.phar doesn't genertaed
even using git instead im getting composer-setup.php is it ok

sozuki
Автор

I getting 'could not find require for min stability. Check min stability' message for slim/views. Please help.

colinthomson