PHP 7+ Programming: Object-Oriented
This discusses the foundation for learning modern PHP, from PHP Object-Oriented Programming and built-in classes to PSR, Composer, and MVC (Model, View, Controller).
Here are some helpful packages and information to know!
I would like to write down some useful packages that you should know about. Of course, there are various extensions provided by PHP, but rather than using them directly, using packages created by various users gives you better productivity . It is recommended to look at this after taking a course related to Composer . Of course, there are also packages that have extensions as dependencies.
- guzzlehttp/guzzle - HTTP Client . Better than curl.
- filp/whoops - Makes error pages look pretty.
- maximebf/debugbar - Displays a debug bar . Used during development.
- xdebug/xdebug - An essential debugging tool for PHP. It's old, but it's a shame it's gone.
- Mustache.php - A PHP template. We didn't do this in the tutorial, but it might be a good idea to include it in your framework. It's not required in Laravel, since we're using Blade.
- swiftmailer/swiftmailer - Used to send emails . You don't need to bother with internal PHP functions like mail().
- monolog/monolog - There may not be a more useful logger than this, at least in the PHP world.
- gabordemooij/RedBeanPHP - A very simple to use ORM library. Simple is best.
- lstrojny/functional-php - Functional PHP .
- chrisboultom/php-resque - A Redis-based queue .
- sebastianbergmann/phpunit - The absolute king of unit testing . Almost mandatory if you write tests.
Want to explore more packages? Check out the repositories below.
- ziadoz/awesome-php - This is not a package. It's a collection of repositories that are useful to know about. But there are so many that you might not know which one to use.
For reference, I have compiled the PHP Handbook on my blog to help beginners with their searches .
https://pronist.tistory.com/36
If you use a framework , you may have something like the above. If so, it would be better to use what the framework provides!




