home.social

#pestphp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pestphp, aggregated by home.social.

fetched live
  1. urg. #pestphp docs needs a light mode. I'm trying to work in, like, the day time - can't see shit.

  2. 🚀 Say goodbye to juggling multiple tools! With Pest 4's suite for browser testing, you can seamlessly handle unit, feature, AND browser tests all in one place. Ready to elevate your PHP game? Let’s simplify your workflow! #PestPHP

    shocm.me/posts/2026-07-04-pest

  3. 🚀 Say goodbye to juggling multiple tools! With Pest 4's suite for browser testing, you can seamlessly handle unit, feature, AND browser tests all in one place. Ready to elevate your PHP game? Let’s simplify your workflow! #PestPHP

    shocm.me/posts/2026-07-04-pest

  4. Testing SSE is hard without blocking threads. Hibla provides a hyper realistic HTTP testing simulation framework to solve this. It simulates token jitter via the event loop, keeping tests fast and async.

    Hibla automates JSON decoding and offers a fluent API for streaming assertions.

    Hibla HTTP Client: github.com/hiblaphp/http-client
    Hibla Testing Framework: github.com/hiblaphp/http-clien

    #php #pestphp #ai #asyncphp #webdev #opensource

  5. Testing SSE is hard without blocking threads. Hibla provides a hyper realistic HTTP testing simulation framework to solve this. It simulates token jitter via the event loop, keeping tests fast and async.

    Hibla automates JSON decoding and offers a fluent API for streaming assertions.

    Hibla HTTP Client: github.com/hiblaphp/http-client
    Hibla Testing Framework: github.com/hiblaphp/http-clien

    #php #pestphp #ai #asyncphp #webdev #opensource

  6. Custom #expectations in #PestPHP let you modify test value on the fly within callbacks, creating visual symmetry between regular assertions and fake object testing
    🔄 Seamlessly switch between regular and fake object expectations

  7. Custom #expectations in #PestPHP let you modify test value on the fly within callbacks, creating visual symmetry between regular assertions and fake object testing
    🔄 Seamlessly switch between regular and fake object expectations

  8. #Testing: Unified Expectations API with #PestPHP for Custom Fakes 🧪

    #PHP #Laravel #testing fakes with unified API approach: transform $client->assertSent() into expect($client)->toHaveSent() for cleaner test code

    🧵👇#TDD

  9. #Testing: Unified Expectations API with #PestPHP for Custom Fakes 🧪

    #PHP #Laravel #testing fakes with unified API approach: transform $client->assertSent() into expect($client)->toHaveSent() for cleaner test code

    🧵👇#TDD

  10. 🔹 Updated for #Laravel 12.0 and #Livewire 3.0 with multilingual support
    🔹 Includes #PestPHP for testing, #LivewireAlerts for notifications, and #LaravelPint for code style
    🔹 Simple installation process with comprehensive documentation

  11. 🔹 Updated for #Laravel 12.0 and #Livewire 3.0 with multilingual support
    🔹 Includes #PestPHP for testing, #LivewireAlerts for notifications, and #LaravelPint for code style
    🔹 Simple installation process with comprehensive documentation

  12. Building Custom Laravel Packages: From Basics to Advanced Features 🔧

    🎯 #Laravel package development walkthrough shows implementation of method #caching using #PHP attributes and #composer initialization

    🧪 Emphasizes #TDD approach using #Orchestra Testbench and #PestPHP for robust package testing

    ⚡ Covers essential concepts including service providers, dependency injection, and #caching implementation with practical examples

    🔄 Demonstrates workflow optimization using local repository linking instead of direct deployment to #GitHub or #Packagist

    🛠️ Includes setup of package structure, namespace configuration, and integration of facades and console commands

    📚 Features comprehensive guide to #autoloading and package auto-discovery for seamless integration

    Source: youtu.be/QsA5mdzKXLA?si=tEfLmq

  13. Building Custom Laravel Packages: From Basics to Advanced Features 🔧

    🎯 #Laravel package development walkthrough shows implementation of method #caching using #PHP attributes and #composer initialization

    🧪 Emphasizes #TDD approach using #Orchestra Testbench and #PestPHP for robust package testing

    ⚡ Covers essential concepts including service providers, dependency injection, and #caching implementation with practical examples

    🔄 Demonstrates workflow optimization using local repository linking instead of direct deployment to #GitHub or #Packagist

    🛠️ Includes setup of package structure, namespace configuration, and integration of facades and console commands

    📚 Features comprehensive guide to #autoloading and package auto-discovery for seamless integration

    Source: youtu.be/QsA5mdzKXLA?si=tEfLmq

  14. 🔄 #PHP Core Updates
    #PHP 8.4 RC3 available for testing, final release expected Nov 21
    • Security updates released for PHP 8.1.30, 8.2.24, and 8.3.12
    • New RFC proposals for closure support in constant expressions and persistent curl handles

    🛠️ Tools & Frameworks
    #Composer 2.8.0 launches with patch-only updates and new command options
    #PestPHP v3 introduces mutation testing and arch presets
    #APIplatform 4 released with official #Laravel support
    #Symfony celebrates 19th anniversary with version 7.2 updates

    🏢 Community & Foundation
    #ThePHPFoundation joins #opensource pledge
    • New Web Services Tool for PHP-FPM delivered
    • Core roundup series relaunched in partnership with PHP.Watch
    • Foundation actively seeking new sponsors

    🎯 Development Tools
    #PHPStorm 2024.3 EAP launched with full PHP 8.4 support
    • New profiling extension with web UI: php-spx
    • imliam/cpx introduces npx-like functionality for PHP
    • Multiple new testing and code quality tools released

    blog.jetbrains.com/phpstorm/20

  15. 🔄 #PHP Core Updates
    #PHP 8.4 RC3 available for testing, final release expected Nov 21
    • Security updates released for PHP 8.1.30, 8.2.24, and 8.3.12
    • New RFC proposals for closure support in constant expressions and persistent curl handles

    🛠️ Tools & Frameworks
    #Composer 2.8.0 launches with patch-only updates and new command options
    #PestPHP v3 introduces mutation testing and arch presets
    #APIplatform 4 released with official #Laravel support
    #Symfony celebrates 19th anniversary with version 7.2 updates

    🏢 Community & Foundation
    #ThePHPFoundation joins #opensource pledge
    • New Web Services Tool for PHP-FPM delivered
    • Core roundup series relaunched in partnership with PHP.Watch
    • Foundation actively seeking new sponsors

    🎯 Development Tools
    #PHPStorm 2024.3 EAP launched with full PHP 8.4 support
    • New profiling extension with web UI: php-spx
    • imliam/cpx introduces npx-like functionality for PHP
    • Multiple new testing and code quality tools released

    blog.jetbrains.com/phpstorm/20

  16. Effortlessly test all #php #Laravel routes with pest-plugin-route-testing 🚀

    ✅ Verify all routes
    🔍 Test specific routes with wildcards
    🔗 Handle model bindings
    🛠️ Customizable assertions

    #pestphp #testing

    github.com/spatie/pest-plugin-

  17. Effortlessly test all #php #Laravel routes with pest-plugin-route-testing 🚀

    ✅ Verify all routes
    🔍 Test specific routes with wildcards
    🔗 Handle model bindings
    🛠️ Customizable assertions

    #pestphp #testing

    github.com/spatie/pest-plugin-

  18. I wrote a little blurb about my new found fondness of testing in PHP. Previously, almost a decade ago, getting tests to work was a pain. Golang was such a breath of fresh air.

    Today, in 2024, testing on PHP is good actually if you use Pest

    javorszky.co.uk/2024/05/06/pes

    #weblogpomo2024 #php #Pestphp

  19. I wrote a little blurb about my new found fondness of testing in PHP. Previously, almost a decade ago, getting tests to work was a pain. Golang was such a breath of fresh air.

    Today, in 2024, testing on PHP is good actually if you use Pest

    javorszky.co.uk/2024/05/06/pes

    #weblogpomo2024 #php #Pestphp

  20. Have you run into flaky tests in your PHP or Laravel code base? Learn another option for debugging those tests using the repeat method in Pest PHP.

    #php #laravel #pestphp

    seankegel.com/fix-flaky-tests-

  21. Me: “Hmm, maybe I need to add a template for new #pestphp files in PHPStorm.”

    Me after 10 seconds: “Bruh, it's just an empty PHP file”.

    Time for an other morning coffee I guess. ☕️

    #laravel

  22. #til

    When working with PestPHP I was always annoyed that PhpStorm didn't simplify the imported namespace and didn't offer to simplify the FQN of Facades.

    First one is a setting:
    Editor > General > Auto Import > PHP > Enable auto-import in file scope

    Second one can be fixed, by disabling all aliases in a Laravel app by setting ` 'aliases' => []` in `config/app.php`.

    #laravel #pestphp #phpstorm

  23. #til

    When working with PestPHP I was always annoyed that PhpStorm didn't simplify the imported namespace and didn't offer to simplify the FQN of Facades.

    First one is a setting:
    Editor > General > Auto Import > PHP > Enable auto-import in file scope

    Second one can be fixed, by disabling all aliases in a Laravel app by setting ` 'aliases' => []` in `config/app.php`.

    #laravel #pestphp #phpstorm

  24. Using #pestphp's new Stressless plugin delivers the expected results for a @statamic site with full static caching - thanks to @nunomaduro for this great new #pestphp plugin to the ecosystem.

  25. Using #pestphp's new Stressless plugin delivers the expected results for a @statamic site with full static caching - thanks to @nunomaduro for this great new #pestphp plugin to the ecosystem.

  26. New version of #PestPHP is out today, with type coverage and the Drift plugin! Thanks, @nunomaduro! #LaraconUS #Laracon

  27. New version of #PestPHP is out today, with type coverage and the Drift plugin! Thanks, @nunomaduro! #LaraconUS #Laracon

  28. For my live stream next Wednesday, I will try out #PestPHP against a #Drupal code base. Has anyone used it for their Drupal projects before?

  29. For my live stream next Wednesday, I will try out #PestPHP against a #Drupal code base. Has anyone used it for their Drupal projects before?