Laracon DB
Laracon DB
Talks for "code-quality"
Curing the Common Loop

Adam Wathan presents a talk on improving code quality by eliminating loops, conditionals, and temporary variables using Laravel Collections and functional programming concepts. He demonstrates how to refactor complex nested loops into cleaner collection pipelines using methods like map, filter, flatMap, and contains. The talk includes practical examples ranging from data transformation to simple conditional checks, showing how collections can make code more expressive and maintainable.

YAGNI With Laravel

A talk about YAGNI (You Aren't Gonna Need It) principle in Laravel development. The speaker discusses how to avoid over-engineering by only implementing features when they're actually needed, while maintaining balance between simplicity and necessary complexity. He covers the stages of adopting YAGNI, from initial resistance through to confidence, and provides practical examples of when to apply or not apply YAGNI in Laravel applications.

Slay the Beast

Jeffrey Way shares 9 code refactoring techniques to improve Laravel applications, focusing on simplicity and practical solutions. He emphasizes letting code 'grossness' guide refactoring decisions rather than premature optimization, and advocates for optimizing code for deletion rather than trying to future-proof everything. The talk provides concrete examples of patterns like decorators, query objects, and event handling while warning against over-engineering.

Laravel By The Numbers

Jason McCreary (JMac) presents data and insights gathered from Laravel Shift, an automated Laravel upgrade service that has processed over 8,400 Laravel projects. He analyzes common patterns, anti-patterns, and feature usage across Laravel applications, providing recommendations for better code organization, validation handling, event usage, and framework feature adoption.

Some Shifty Bits

The talk focuses on lesser-known but powerful Laravel features that analysis of Laravel Shift data suggests are underutilized. The speaker, Jase McCreary (creator of Laravel Shift), demonstrates various Laravel features including model casting, authorization gates, signed URLs, and helper methods that can make code more expressive and maintainable while reducing custom implementation code.

Pest 2 - Summer of Spice

Nuno Maduro presents upcoming features in Pest PHP 2.9, a popular PHP testing framework. He demonstrates new capabilities including snapshot testing for comparing full responses, describe blocks for better test organization, architectural testing improvements, type coverage analysis, and a new drift plugin that automatically migrates PHP Unit tests to Pest PHP. The talk focuses on how these features make testing simpler and more elegant while maintaining full compatibility with existing PHP Unit tests.

Introducing Pest 3.0

Nuno Maduro presents the upcoming features in Pest PHP v3, the popular PHP testing framework. He introduces three major new features: task management for organizing test todos and GitHub issues within tests, architectural presets for ensuring code consistency, and mutation testing for measuring test quality beyond code coverage. The talk includes live demonstrations of each feature and concludes with the announcement that Pest v3 will have zero breaking changes and that his project Pinkery is being open-sourced.

12 tried and tested top tips for better testing

A comprehensive talk on testing best practices in Laravel, covering 12 tips for effective testing. The speaker discusses various testing tools and techniques, from IDE configurations to test organization and quality checks. Key focus areas include TDD, automated testing workflows, and ways to make tests more readable and maintainable.

Rector - Automated Way to Instantly Upgrade and Refactor PHP Code

The speaker, primarily a Symfony developer, shares his journey into the Laravel community and presents Rector, a PHP upgrade automation tool. He demonstrates how Rector can help automate PHP version upgrades, improve code quality, and handle framework-specific upgrades. The talk focuses on practical examples of using Rector with Laravel projects, including automated type additions, dead code removal, and framework-specific upgrades.

Types & static analysis are good in PHP

Sam Greenwood presents a comprehensive talk on the importance of types and static analysis in PHP and Laravel applications. He discusses different types of typing systems, the benefits of static analysis tools like PHPStan, Psalm, and Larastan, and how these tools can help improve code quality and catch potential errors before runtime, especially in legacy applications.

Accessibility on the backend

This talk focuses on accessibility in backend development, challenging the common perception that accessibility is only about frontend concerns. The speaker discusses how accessibility affects developers themselves, including considerations for different coding styles, development processes, and tool selections. He emphasizes that accessibility isn't just about disabilities but includes making code and processes accessible to developers with different experience levels, language backgrounds, and working styles.