“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Work with Composer
1. Work with Composer
Name: MD Mehrab Hossain
Email: mahabubs4@gmial.com
Contact: 01933616015
http://www.easyforall.org
2. What is composer ?
Composer is a tool for dependency management in PHP. It allows
you to declare the libraries your project depends on and it will
manage (install/update) them for you.
3. Example:
let's go we start biryani cook.
we need rice, chicken, oil, etc.
but this equipment have not us. So what can we do ?
we can go to bazar and buy this equipment then we can cook biryani.
Since we manage all equipment for cook biryani so we are dependency manager.
5. Benefit of using composer
We can load your project file automatically using
composer autoload.
Three Ways for automatically loading file:
PSR-4
Files
Class map