Course of Static Code Analysis in PHP

Javier FerrerRafa Gómez

By Javier Ferrer y Rafa Gómez Backend

PHP is not a compiled language, but with static code analysis, we can reap its benefits.

🎓 First lesson available without registration 🎓

Static Code Analysis in PHP is an essential tool for maintaining a robust codebase and preventing bugs before they reach production.

These tools help you with:

  • Code Quality: Discover how static analysis can elevate the quality of your code, making it more readable, maintainable, and error-free.
  • Explicit Contracts: Learn to transition from duck typing to explicit contracts, thereby improving the accuracy and predictability of your code.
  • Solid Architecture: Ensure the architecture of your application and visualize its dependencies, allowing for a cleaner and more structured design.

In this course, we explore:

  • 👌 Psalm: The best static code analysis tool. You can even achieve generics in PHP.
  • 🌉 phpat: Test the architecture of your code and ensure you adhere to it.
  • 🗑️ phpmd: Keep your code with low complexity.

Related courses

See full catalogue

Pay according to your needs

lite (only monthly)

19 €
per month
  • Access to a subset of courses to lay the foundation for maintainable, scalable, and testable code
  • Company invoice
Popular

standard

24,92 €
Save 121
Annual payment of 299
per month
  • Full course catalog
  • Receive job offers verified by Codely
  • Company invoice

premium

41,58 €
Save 89
Annual payment of 499
per month
  • All previous benefits
  • Early access to new courses
  • Discount on workshops

We won't increase the price while your subscription is active

Course of Spark: Best Practices and Deployment published in premium

Learn how to take Spark to production by following best practices in deployment.

image of changelog

Course of Object-Oriented Programming Best Practices published in standard

Apply good OOP practices in your code to make it more maintainable.

image of changelog

Course of Projections in Wallapop published in standard

Learn how Wallapop manages projections in its systems.

image of changelog

Course of Automatic Embeddings in Postgres published in premium

Delegate embedding generation to the infrastructure.

image of changelog

New content in the course of Projections with Kafka

Learn to simplify your projections using Apache Kafka.

image of changelog
Course of Static Code Analysis in PHP ﹤🍍﹥ Codely