Just watched first composer video. As someone who kept looking at composer and having it fly right over their head a few times, this was really good. It actually went to the necessary level of detail instead of assuming users having familiarity with miscellaneous subtle details that are often left out.
Thank you Reval! I have looked for DAYS for an example of what it actually looks like to install a package using Composer, seeing what is going on. This embodies the detail of the relationship between the local server, composer, what the hierarchy looks like after it's installed, WHERE to install it in the first place! THANK YOU. Excellent work!! You kept it to a bare-bones example that provides such valuable clarity for a newbie. Thoughtful presentation, greatly greatly appreciated!!! You a-b-s-o-l-u-t-e-l-y ROCK!
Need lesson/tip on using composer for an old project. I faced a lot of issues with composer if the project/website is old and need to install a new plugin. Dependencies never seems to met and it makes impossible to add new plugin. Sometimes old plugins aren't available anymore and I am forced to use newer ones for which I have no idea how to make sure to get right packages and update the older ones.
I need to do this by using PHP and composer and this is the task, so what does this mean and how am I suppose to do it? Sorry I never programmed in PHP or used Composer before, Can u help? *The task [The aim is is implement the source code link to pass the pre written tests. To run the tests run ./vendor/bin/phpunit and look at the output. The toInt function should be able to translate any Roman Numerial to the correct integer. For example VI should return 6 and XX should return 20 Cant get phpunit running ? Included is an index file (index.php) This should run on any web server (eg MAMP, XAMP etc)] *and this is what the source code looks like!
I have downloaded composer for the purposes of reading xlsx files. I have watched a couple of tutorials to enable me to use the data within a mysql database. I have composer installed and ready to go but cannot get any further. Do you have, or are you considering doing a tutorial on reading from an xlsx file? Thanks
@@Ahmed-157 Yes, this is correct. You can use any command line tools. Windows Examples: Command Prompt, PowerShell, Git Bash Mac Examples: Terminal, iTerm
Hi there. Sorry it took so long for me to respond. You are right, composer is a package manager for PHP. It was something the PHP world needed for a long time. You can find out more about composer packages Packigist: packagist.org/. It is the main composer respository.
ruclips.net/video/I6wm15OWyqg/видео.html : If you try installing a package and composer first checks the lock file and finds the package listed in there, why would it then be "installed"? Doesn't the presence of the package in the lock file mean it was previously installed?
*> Doesn't the presence of the package in the lock file mean it was previously installed?* This is correct. The lock file will state the package is installed and it will state the exact version of that package. If you try installing the exact version of the package again, it won't do anything. If there is a difference in version number, the package will then be updated. *> if you have found a good resource for learning how Composer works, plz provide me with a link!* We have another video here which should make it clearer. ruclips.net/video/6Q7rCl5xlUY/видео.html Please let us know if you are still confused.
I also have the same question. as composer runs on command line there is no way to use it on a cpanel. and lots of companies out there only provide their APIs in Composer format. It makes almost impossible to work with such APIs.
I asked the question somewhere else and the solution was to install composer on localhost using XAMPP or WAMP or any similar program and then upload the related files to the server. You can fint Q&A here: github.com/php-telegram-bot/core/issues/491#issuecomment-299669601
Yes, but it didn't work. I then complete my changes with composer. But still I wanted to know how to use composer in this condition. Most of the tutorial focus on easy stuff. I wanted to know about handling the tough issues.
Great video tutorial but many work on hosts. Setting up a localhost using XAMPP or WAMP and using Composer is a lot of unnecessary BS when you can usually just add one line of code to include a library. Composer is some sort of weird cult. Anyone who really needs Composer is probably facing dependency hell.
I apologise for the production quality of this video. My videos have improved drastically since this video's inception. Would you benefit from this video being recreated at a higher quality.
Just watched first composer video. As someone who kept looking at composer and having it fly right over their head a few times, this was really good. It actually went to the necessary level of detail instead of assuming users having familiarity with miscellaneous subtle details that are often left out.
This is the reason why I make tutorials. I am so glad to read this feedback. Happy to help. Please subscribe for more.
Thank you Reval! I have looked for DAYS for an example of what it actually looks like to install a package using Composer, seeing what is going on. This embodies the detail of the relationship between the local server, composer, what the hierarchy looks like after it's installed, WHERE to install it in the first place! THANK YOU. Excellent work!! You kept it to a bare-bones example that provides such valuable clarity for a newbie. Thoughtful presentation, greatly greatly appreciated!!! You a-b-s-o-l-u-t-e-l-y ROCK!
Wow, I really appreciate your comment. It really made my day. Please subscribed for more helpful videos.
Thanks for your tutorial. Good balance between general overview and level of detail. Appreciated the hands-on code example. Great work👍
Thank you very much, very clear explanation, I love this video!
Thanks so much. Please consider subscribing for more!
Need lesson/tip on using composer for an old project. I faced a lot of issues with composer if the project/website is old and need to install a new plugin. Dependencies never seems to met and it makes impossible to add new plugin. Sometimes old plugins aren't available anymore and I am forced to use newer ones for which I have no idea how to make sure to get right packages and update the older ones.
Thank you. This was perfect.
Glad it helped! Please subscribe for more!
i got composer installed on my local pc but how can i use it to update my website on a host server? how can i access ftp directory with it?
I need to do this by using PHP and composer and this is the task, so what does this mean and how am I suppose to do it?
Sorry I never programmed in PHP or used Composer before, Can u help?
*The task
[The aim is is implement the source code link to pass the pre written tests.
To run the tests run ./vendor/bin/phpunit and look at the output.
The toInt function should be able to translate any Roman Numerial to the correct integer.
For example VI should return 6 and XX should return 20
Cant get phpunit running ?
Included is an index file (index.php) This should run on any web server (eg MAMP, XAMP etc)]
*and this is what the source code looks like!
in wamp localhost when i use via cmd then composer not work but use php strom terminal then work perfectly. what is reason?
Great video. All the basics expressed succinctly. Thanks!
Thanks for the feedback!
if you want to update the library you perform the same procedure?
Im really new to this, this helps a lot! Thank youuu!
You're so welcome! Please consider subscribing for more! 😀
I have downloaded composer for the purposes of reading xlsx files. I have watched a couple of tutorials to enable me to use the data within a mysql database.
I have composer installed and ready to go but cannot get any further. Do you have, or are you considering doing a tutorial on reading from an xlsx file? Thanks
Hi there, sorry I won't be creating a tutorial for reading an xlsx file.
Thank, exellent
Glad you liked it! Please subscribe for more. We are working full time on the channel now.
Hi! Where did you write the command which you copy from packagist??
Thanks
@@Ahmed-157 Yes, this is correct. You can use any command line tools.
Windows Examples: Command Prompt, PowerShell, Git Bash
Mac Examples: Terminal, iTerm
Great lesson!
Thanks so much. I am happy you found it useful.
got localhost is currently unable to handle this request.
HTTP ERROR 500
Are you sure you have configured your local server correctly?
this feels a lot like npm for javascript projects. so where can learn more about packages available through composer?
Hi there. Sorry it took so long for me to respond. You are right, composer is a package manager for PHP. It was something the PHP world needed for a long time. You can find out more about composer packages Packigist: packagist.org/. It is the main composer respository.
ruclips.net/video/I6wm15OWyqg/видео.html : If you try installing a package and composer first checks the lock file and finds the package listed in there, why would it then be "installed"?
Doesn't the presence of the package in the lock file mean it was previously installed?
I have the same question, if you have found a good resource for learning how Composer works, plz provide me with a link!
*> Doesn't the presence of the package in the lock file mean it was previously installed?*
This is correct. The lock file will state the package is installed and it will state the exact version of that package.
If you try installing the exact version of the package again, it won't do anything. If there is a difference in version number, the package will then be updated.
*> if you have found a good resource for learning how Composer works, plz provide me with a link!*
We have another video here which should make it clearer. ruclips.net/video/6Q7rCl5xlUY/видео.html
Please let us know if you are still confused.
I've got a shared hosting service for my website, so I don't have access to WHM and can't run commands like you did.
Can I still use composer?
I am not sure. More a question for your hosting company I think.
I also have the same question. as composer runs on command line there is no way to use it on a cpanel. and lots of companies out there only provide their APIs in Composer format. It makes almost impossible to work with such APIs.
I asked the question somewhere else and the solution was to install composer on localhost using XAMPP or WAMP or any similar program and then upload the related files to the server.
You can fint Q&A here: github.com/php-telegram-bot/core/issues/491#issuecomment-299669601
Download the website to your computer, install wamp or another webserver and then run the program or better yet, read your code!
Can u please tell me command prompt name which you used
Bash, however Windows' native command prompt works fine too. Just right-click on the windows icon and do a search for 'command'
Git bash :-)
The perfect tutorial for composer. Good work.
No problem! Please subscribe for more like this! My more recent videos have much better production value haha.
It's always easy to pull package for a new project but way too hard for adding one with old and existing projects
I guess this statement depends on your project. We all hate legacy projects :-D
Yes, one of an old project I was working on
@@Viperdwarrior177 Did you end up putting composer into it?
Yes, but it didn't work. I then complete my changes with composer. But still I wanted to know how to use composer in this condition. Most of the tutorial focus on easy stuff. I wanted to know about handling the tough issues.
Great video tutorial but many work on hosts. Setting up a localhost using XAMPP or WAMP and using Composer is a lot of unnecessary BS when you can usually just add one line of code to include a library. Composer is some sort of weird cult. Anyone who really needs Composer is probably facing dependency hell.
Thanks for your comment. How do you work with PHP in your local environment?
great great great video!
Wow, thanks so much. I am really happy it helped you. Please subscribe for more.
7:07 Starts
:-)
Perfect!
Thanks very much! Please subscribe for more!
Are you going to be covering the missing steps?
I am planning on redoing this video soon. Please subscribe and stay tuned for more information! :-)
Great video
Thanks!
It can be such a headache to get working.
What did you find difficult?
Btw, please consider subscribing for more! 😀
Seems like a massive security risk to me. Probably sets up all sorts of back doors into your system.
Do you feel composer is the huge security risk?
Thank you!
No worries. Glad to help! :-)
Zoom? I can't see anything
I apologise for the production quality of this video. My videos have improved drastically since this video's inception. Would you benefit from this video being recreated at a higher quality.