Weekly PHP

Weekly PHP is a resource for developers focusing on PHP improvements, Laravel and Symfony updates, and software development practices. It covers new releases, design patterns, debugging tools, code quality, security risks, and the integration of new technologies like AI and JavaScript runtimes in PHP projects.

PHP Development Laravel Updates Symfony Updates Software Design Patterns Debugging Tools Code Quality and Optimization Security in Web Development Software Development Best Practices Emerging Technologies in PHP API Development

The hottest Substack posts of Weekly PHP

And their main takeaways
19 implied HN points 22 Oct 24
  1. Clean code is all about making your code easier to read and understand. This helps other developers (and your future self) when they look at your work later.
  2. Small changes in how you write code can make a big difference. Focusing on readability can lead to fewer bugs and easier maintenance over time.
  3. Using coding principles from the book 'Clean Code' can help improve your coding habits. Following these guidelines makes your projects more manageable and enjoyable.
59 implied HN points 22 Aug 23
  1. PHP has seen improvements over the years and doesn't have a bad reputation anymore.
  2. The latest Laravel 10.19 release introduces new methods and attributes.
  3. Symfony has made several improvements in the 5.4 and 6.x versions according to their changelog.
39 implied HN points 17 Oct 23
  1. A new tool 'xrDebug 1.0' is an alternative to Ray for debugging apps.
  2. Explore the Factory Design Pattern in PHP with a simple example.
  3. Consider migrating from XAMPP to Docker with a step-by-step guide.
39 implied HN points 05 Sep 23
  1. Laravel 11 is anticipated to bring significant changes compared to the current version.
  2. Unit testing is crucial for developers to catch bugs early and maintain code quality.
  3. Symfony has new versions released that come with various enhancements and deprecations.
19 implied HN points 16 Jan 24
  1. Learn about over-engineering and under-engineering in PHP applications
  2. Gain insights on mitigating security risks in file upload functionality
  3. Explore the concept and usage of string interpolation in PHP
Get a weekly roundup of the best Substack posts, by hacker news affinity:
19 implied HN points 12 Sep 23
  1. PHP 8.3 introduces json validation and improved error handling in unserialize() function.
  2. In PHP 8.3, you can fetch class constants dynamically using variables.
  3. Laravel 10.22 brings new features like enum support and ULID testing helpers.
19 implied HN points 11 Jul 23
  1. PHP is considering adding interface default methods, allowing implementation in interfaces.
  2. WordPress is dropping support for PHP 5 in favor of a minimum of 7.0.0.
  3. A Laravel package called Native PHP is being developed to create desktop applications with PHP.
0 implied HN points 29 Oct 24
  1. Naming practices in PHP are important for clear and maintainable code. Using meaningful names helps others understand your code better.
  2. PHP 8.4 will introduce Property Hooks, which let you customize behavior for specific properties. This feature can enhance how your code functions without breaking existing parts.
  3. Understanding core PHP concepts is crucial for being proficient. Key topics include syntax, error handling, and data types, which all help in writing better PHP code.
0 implied HN points 08 Oct 24
  1. PHP 8.4 will introduce new features that help developers code faster and more easily. These updates are focused on improving performance and enhancing the developer experience.
  2. Learning about SPL data structures can make your PHP code more efficient and easy to read. There are seven important structures that you should know for better coding practices.
  3. Understanding how to work with PHP object-oriented features like getters, setters, and readonly classes can lead to cleaner and safer code. This knowledge is key for maintaining good coding standards.
0 implied HN points 15 Oct 24
  1. Joining the Open Source Pledge helps support open source projects by encouraging companies to pay their maintainers. This initiative aims to reduce burnout and improve security issues in the software.
  2. PHP offers powerful techniques for manipulating arrays, making them essential for managing multiple values. Learning these techniques can significantly improve your coding efficiency.
  3. Laravel has various features like SoftDelete and full-text search that help enhance data management. Understanding these tools can make building applications much easier and more effective.
0 implied HN points 01 Aug 23
  1. Laravel 11 introduces streamlined directory structure, named arguments, and requires PHP 8.2 minimum support.
  2. PxP is a new superset for PHP, similar to TypeScript for JavaScript.
  3. Symfony 6.3.3 released with fixes for Scheduler, Webhook, and VarExporter.
0 implied HN points 23 Jan 24
  1. Learn about method chaining in PHP for better code readability and efficiency.
  2. Discover the new features and improvements in Laravel 11.
  3. Explore creating an automated documentation pipeline for PHP projects using Autodocs and GitHub Actions.