We have introduced important basic concepts of object-oriented programming for PHP/Laravel. The concepts are however of a general nature and can be applied in any type of code. Following a few basic OOP rules will help you write much better code, better in terms of readability, security, and extensibility.