129 Repositories
PHP continuous-testing Libraries
Testing your OpenApi documentation and your code easily.
Raven - How to test your API documentation and behavior. This library was written to allow testing OpenAPI documentation easily. It also allows verify
A set of helpful assertions when testing Laravel applications.
Installation composer require amirrezam75/laravel-assertions I was working on a project and in order to test oauth2 redirection, I ended up with somet
💨 Smoke testing tool written in PHP
Cigar A smoke testing tool inspired by symm/vape Similar tools include: Blackfire Player Installation Install via composer: composer require brunty/ci
Simple HTTP smoke testing for your Symfony application
Shopsys HTTP Smoke Testing This package enables you to do simple HTTP smoke testing of your Symfony application. Basically, it generates a HTTP reques
Attempting to create an intelligent mock of the Google API PHP Client for unit and functional testing
google-api-php-client-mock A small scale intelligent mock of the Google API PHP Client for unit and functional testing. Overview This is intended to m
Application with SQL Injection vulnerability and possible privilege escalation
Application with SQL Injection vulnerability and possible privilege escalation. Free vulnerable app for ethical hacking / penetration testing training.
Testing utilities for the psr/log package that backs the PSR-3 specification.
FIG - Log Test Testing utilities for the psr/log package that backs the PSR-3 specification. Psr\Log\Test\LoggerInterfaceTest provides a base test cla
Learn unit testing with PHPUnit.
PHPUnit Exercise Running PHPUnit ./vendor/bin/phpunit # with filter which tests to run ./vendor/bin/phpunit --filter pattern Running Pint ./vendor/
Persistent Fakes for Laravel Dusk
Laravel Dusk Fakes Support this package! ❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this pac
PSpec is a testing framework for PHP, influenced by RSpec and jest. 🧪 This repo is a MIRROR of the GitLab source repository.
PSpec PSpec is a testing framework for PHP, influenced by RSpec and jest. This project is experimental and still needs a lot of work. Example // src/C
Main ABRouter product repository that contains docker-compose file and orchestrates the project containers.
ABRouter-Compose 📟 ABRouter is the open-source tool to perform and track A/B tests which is also known as the experiments. Additionally, feature flag
Test and enforce architectural rules in your Laravel applications. Keep your app's architecture clean and consistent!
Laravel Arkitect Laravel Arkitect lets you test and enforce your architectural rules in your Laravel applications, and it's a PHPArkitect wrapper for
Opens an interactive PHP console for running and testing PHP code.
wp-cli/shell-command Opens an interactive PHP console for running and testing PHP code. Quick links: Using | Installing | Contributing | Support Using
Buddy Provider for the OAuth 2.0 Client
Buddy Provider for OAuth 2.0 Client This package provides Buddy OAuth 2.0 support for the PHP League's OAuth 2.0 Client. Installation To install, use
🐍 Web application made in PHP with Laravel where you can interact via API with my Snake game which is made in Python
Snake web application Project of the web application where you can interact via API with Snake game which is available to download on it. Application
Additional PHPUnit assertions and helper functions
Jasny PHPUnit extension Additional functionality for PHPUnit. Callback mock - assert that callback is called with correct arguments. Safe mocks - disa
Removes final keywords from source code on-the-fly and allows mocking of final methods and classes
Removes final keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
A Laravel test build by Incline Start-up Agency. Testing Git and framework functions.
Incognito-Confessions A laravel test build by Incline Start-up Agency. Testing Git and framework functions. Description A laravel starter for future t
Test requests in Laravel without all the boilerplate.
Request Factories Test requests in Laravel without all the boilerplate. 💡 Psst. Although our examples use Pest PHP, this works just as well in PHPUni
An effort to make testing PHP code as easy and fun as its JavaScript equivalent
An effort to make testing PHP code as easy and fun as its JavaScript equivalent when using the excellent Jasmine, from which syntax and general usage is shamelessly borrowed.
Integration testing helpers for the Slim Framework
Slim Test Helpers Integration testing helpers for the Slim Framework 3 For a full example, please see the companion repo at there4/slim-unit-testing-e
Eloquent scope assertion for testing Laravel applications.
Eloquent Scope Assertion This package allows you to assert that the scope of a model is called in your tests. Installation You can install the package
Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
PHPUnit Polyfills Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests. Requirements Instal
CrimeFlare - This tools can help you to see the real IP behind CloudFlare protected websites
CrimeFlare is a useful tool for bypassing websites protected by CloudFlare WAF, with this tool you can easily see the real IP of websites that have been protected by CloudFlare. The resulting information is certainly very useful for conducting further penetration testing, and analyzing websites with the same server.
A dockerized PHP application containing some file upload vulnerability challenges (scenarios)
File Upload Vulnerability Scenarios (Challenges) This repository is a dockerized PHP application containing some file upload vulnerability challenges
Humbug - a Mutation Testing framework for PHP
Humbug is a Mutation Testing framework for PHP to measure the real effectiveness of your test suites and assist in their improvement. It eats Code Coverage for breakfast.
PHPArch is a work in progress architectural testing library for PHP projects
PHPArch What is this? Installation Simple Namespace validation Available Validators Defining an architecture Syntactic sugar: Bulk definition of compo
Providing some testing functionality for Laravel
Laravel TestBench Laravel TestBench was created by, and is maintained by Graham Campbell, and provides some testing functionality for Laravel. It util
This repository aims to build a fairly complete CI/CD example using GitHub workflows and actions.
CI/CD example This repository aims to build a fairly complete CI/CD example using GitHub workflows and actions. Keep in mind that the toolset used in
PHPStan PHPUnit extensions and rules
PHPStan PHPUnit extensions and rules PHPStan PHPUnit This extension provides following features: createMock(), getMockForAbstractClass() and getMockFr
Damn Vulnerable PHP Application (DVPA)
Damn Vulnerable PHP Application (DVPA) - It is Lab Written in The PHP lang, Which Contains PHP Type Juggling - RCE Challenges
Analyses and produces a report with testability issues of a php codebase
Analyses and produces a report with testability issues of a php codebase
Crawlzone is a fast asynchronous internet crawling framework aiming to provide open source web scraping and testing solution.
Crawlzone is a fast asynchronous internet crawling framework aiming to provide open source web scraping and testing solution. It can be used for a wide range of purposes, from extracting and indexing structured data to monitoring and automated testing. Available for PHP 7.3, 7.4, 8.0.
CommandHelper - is a very useful thing for quick code testing and more!
CommandHelper CommandHelper - is a very useful thing for quick code testing and more! Examples: Code: require_once('commandhelper.php');
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, macOS, Windows, and BSD operating systems.
PHPStan Symfony Framework extensions and rules
PHPStan Symfony Framework extensions and rules PHPStan This extension provides following features: Provides correct return type for ContainerInterface
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
JBZoo / CI-Report-Converter Why? Installing Using as GitHub Action Example GitHub Action workflow Available Directions Help description in terminal Co
Test your Laravel applications with phpspec
phpspec Laravel Extension phpspec extension for testing Laravel applications. Versions Depending on the version of Laravel and/or Phpspec you're using
Doctrine extensions for PHPStan
Doctrine extensions for PHPStan PHPStan Doctrine This extension provides following features: DQL validation for parse errors, unknown entity classes a
🐘 🎯 Hexagonal Architecture, DDD & CQRS in PHP
🐘 🎯 Hexagonal Architecture, DDD & CQRS in PHP Example of a PHP application using Domain-Driven Design (DDD) and Command Query Responsibility Segrega
This is a dockerized environment for testing and developing things on the fatfree-core.
F3 development bench This is a dockerized environment for testing and developing things on the fatfree-core. It uses Docker to spin up multiple contai
sqlscan is quick web scanner for find an sql inject point
sqlscan sqlscan is quick web scanner for find an sql inject point. not for educational, this is for hacking. use sitemap for best result Simple to use
SlimJim was born out of a need for a simple auto update script which would update multiple development/test environments every time someone
SlimJim WHY? SlimJim was born out of a need for a simple auto update script which would update multiple development/test environments every time someo
The objective of ParaTest is to support parallel testing in PHPUnit
The objective of ParaTest is to support parallel testing in PHPUnit. Provided you have well-written PHPUnit tests, you can drop paratest in your project and start using it with no additional bootstrap or configurations!
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP
SimpleTest SimpleTest is a framework for unit testing, web site testing and mock objects for PHP. Installation Downloads All downloads are stored on G
Testbench Component is the de-facto package that has been designed to help you write tests for your Laravel package
Laravel Testing Helper for Packages Development Testbench Component is the de-facto package that has been designed to help you write tests for your La
Infrastructure and testing helpers for creating CQRS and event sourced applications.
Broadway is a project providing infrastructure and testing helpers for creating CQRS and event sourced applications. Broadway tries hard to not get in your way.
FalconOne Lite is an Open Source solution deployed and updated on a daily basis to help prevent terror and crime globally
FalconOne Lite is an Open Source solution deployed and updated on a daily basis to help prevent terror and crime globally. By using advanced tools, functions and stealth strategies, FalconOne community is focused on making a friendly and fast solution for effective results.
Mock implementation of the Translation package, for testing with PHPUnit
PoP Translation - Mock Mock implementation of the Translation package, for testing with PHPUnit Install Via Composer composer require getpop/translati
Trait for Laravel testing to count/assert about database queries
counts_database_queries Trait for Laravel testing to count/assert about database queries Installing composer require ohffs/counts-database-queries-tra
MageCI - [ABADONED] Magento Continuous Integration Tools
Magento Continuous Integration Tools A set of tools to help set up a proper environment for testing magento Installation Installation is very easy tho
Allows Admins to quickly login as any user in the system during development/testing
SilverStripe User Switcher The module adds a small form both in the frontend to quickly login as any user in the system. The intended use is in testin
Very simple mock HTTP Server for testing Restful API, running via Docker.
httpdock Very simple mock HTTP Server for testing Restful API, running via Docker. Start Server Starting this server via command: docker run -ti -d -p
Laravel package for a Game of Tests
Game of Tests laravel This package aims to enable a quick implementation of a Game of Tests in Laravel. Is uses the package swisnl/game-of-tests and g
PHP Mocking Framework
Phake Phake is a framework for PHP that aims to provide mock objects, test doubles and method stubs. Phake was inspired by a lack of flexibility and e
PHPUnit extension for database interaction testing.
This extension is no longer maintained DbUnit PHPUnit extension for database interaction testing. Installation Composer If you use Composer to manage
PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust
Steward: easy and robust testing with Selenium WebDriver + PHPUnit Steward is a set of libraries made to simplify writing and running robust functiona
Pest is an elegant PHP Testing Framework with a focus on simplicity
Pest is an elegant PHP Testing Framework with a focus on simplicity. It was carefully crafted to bring the joy of testing to PHP. Explore the docs: pe
A testing package for intercepting mail sent from Laravel
Laravel Mail Intercept A testing package for intercepting mail sent from Laravel This testing suite intercepts Laravel Mail just before they are sent
Continuous Inspection
SonarQube Continuous Inspection SonarQube provides the capability to not only show health of an application but also to highlight issues newly introdu
A video course for laravel artisan to learn creating API using testing
About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie
Github repository dedicated for my YT tutorial which shows how to use testing in Laravel
Testing in Laravel The following documentation is based on my Laravel Testing for Beginners tutorial we’re going to cover the basics of unit tests, fe
Static testing tool for psalm plugins
Psalm test Static testing tool for psalm plugins. Installation $ composer require --dev klimick/psalm-test $ vendor/bin/psalm-plugin enable klimick/ps
Fearless refactoring, it does a lot of smart checks to find certain errors.
Find Bugs Before They Bite Built with ❤️ for lazy laravel developers ;) Why repeat the old errors, if there are so many new errors to commit. (Bertran
🏭This package lets you create factory classes for your Laravel project.
Laravel Factories Reloaded 🏭 This package generates class-based model factories, which you can use instead of the ones provided by Laravel. Laravel 8
A drop in fake logger for testing with the Laravel framework.
Log fake for Laravel A bunch of Laravel facades / services are able to be faked, such as the Dispatcher with Bus::fake(), to help with testing and ass
Adds factory functions for WooCommerce to be used with wp-browser integration tests.
wp-browser-woocommerce This library simplifies testing of WooCommerce themes and plugins with wp-browser. Several Unit Test Factories are added that a
churn-php is a package that helps you identify php files in your project that could be good candidates for refactoring
churn-php Helps discover good candidates for refactoring. Table of Contents What Is it? Compatibility How to Install? How to Use? How to Configure? Si
A Pest plugin for WordPress
WordPress Pest Plugin Supports integrating Pest with your WordPress code base through the Mantle Framework. Read about the Mantle Testing Framework he
A fake mailer for Laravel Applications for testing mail.
MailThief MailThief is a fake mailer for Laravel applications (5.0+) that makes it easy to test mail without actually sending any emails. Note: Due to
A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
#Vue-Cli Template for Larvel + Webpack + Hotreload (HMR) I had a really tough time getting my workflow rocking between Laravel and VueJS projects. I f
To run time/IO related unit tests (e.g., sleep function calls, database queries, API calls, etc) faster using Swoole.
To run time/IO related unit tests (e.g., sleep function calls, database queries, API calls, etc) faster using Swoole.
Example of using abrouter/abrouter-laravel-bridge in Laravel
ABRouter Laravel Example It's a example of using (ABRouter Laravel Client)[https://github.com/abrouter/abrouter-laravel-bridge] Set up locally First o
A collection of helper methods for testing and debugging API endpoints.
Laravel API Test Helpers This is a collection of helper methods for testing and debugging API endpoints. Installation You can install the package via
A mail driver to quickly preview mail
A mail driver to quickly preview mail This package can display a small overlay whenever a mail is sent. The overlay contains a link to the mail that w
Demo of automated testing use cases for the 2022 nationals
Tests automatisés aux finales nationales 2022 Test d'API (Module C2) Pour le module C2, les spécifications de l'API seront fournies dans la spécificat
Magic Test allows you to write browser tests by simply clicking around on the application being tested, all without the slowness of constantly restarting the testing environment.
Magic Test for Laravel Magic Test allows you to write browser tests by simply clicking around on the application being tested, all without the slownes
Package for unit testing Laravel form request classes
Package for unit testing Laravel form request classes. Why Colin DeCarlo gave a talk on Laracon online 21 about unit testing Laravel form requests cla
A library for property-based policy evaluation
PropAuth: Property-based policy evaluation Performing evaluations on credentials for authentication or sets of permissions on users has its limitation
GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
Codeception DB module addon for populate database
Database Populator for Codeception DB Module Codeception DB module addon that helps you to tune database populations. So for a test you could load onl
Real-world Project to learning about Unit Testing/TDD with Laravel for everybody
KivaNote - a Laravel TDD Sample Project Let me introduce you to KivaNote, a simple real-world application using Laravel to show you how the TDD & Unit
🚀WordPress Plugin Boilerplate using modern web techs like TypeScript, SASS, and so on... on top of a local development environment with Docker and predefined GitLab CI for continous integration and deployment!
WP React Starter: WordPress React Boilerplate DEPRECATED: WP React Starter was a "research project" of devowl.io for the development of our WordPress
Full stack shop app with Symfony
A progressive PHP framework for building efficient and scalable server-side applications. Description A fullstack shop app with Symfony framework and
Next generation phpDoc parser with support for intersection types and generics.
PHPDoc-Parser for PHPStan PHPStan Next generation phpDoc parser with support for intersection types and generics. Code of Conduct This project adheres
Laravel Dusk provides simple end-to-end testing and browser automation.
Introduction Laravel Dusk provides an expressive, easy-to-use browser automation and testing API. By default, Dusk does not require you to install JDK
Few additional testing assertions for Laravel views
Laravel View Test Assertions Few additional assertions for testing Laravel views. Why Laravel has well established and documented way of testing reque
Unit testing tips by examples in PHP
Unit testing tips by examples in PHP Introduction In these times, the benefits of writing unit tests are huge. I think that most of the recently start
A Pest plugin to control the flow of time
This Pest plugin offers a function testTime that allows you to freeze and manipulate the current time in your tests.
Check a project's code coverage, optionally enforcing a minimum value
coverage-check Display the code coverage for a project using a clover.xml file, optionally enforcing a minimum code coverage percentage. This package
YAPS - Yet Another PHP Shell
YAPS - Yet Another PHP Shell Yeah, I know, I know... But that's it. =) As the name reveals, this is yet another PHP reverse shell, one more among hund
A project to add Psalm support for Drupal for security testing, focused only on taint analysis.
psalm-plugin-drupal A Drupal integration for Psalm focused on security scanning (SAST) taint analysis. Features Stubs for sinks, sources, and sanitize
A simple and extensible fixture loader for PHP 7.3+, supporting SQLite and MySQL
Flowder Flowder is a (really) simple fixture loader for PHP 7.3+, supporting SQLite and MySQL. Using Flowder in PHP 7.2 or below? Try version 1 instea
Mocks, stubs, and spies for PHP.
Mocks, stubs, and spies for PHP. Installation Available as various Composer packages, depending on the test framework in use: For Kahlan, use eloquent
this package can help you to test race condition in Laravel Feature Test
Laravel Async Testing this package can help you to test race condition in Laravel Feature Test Requirements Laravel versions 5.7, 6.x, 7.x and 8.x PHP
⛽ Set of utilities to test Laravel applications powered by Octane.
⛽ Octane Testbench Set of utilities to test Laravel applications powered by Octane. Install Via Composer: composer require --dev cerbero/octane-testbe
⛽ Pest plugin to test Laravel applications powered by Octane.
⛽ Laravel Octane (Pest Plugin) Pest plugin to test Laravel applications powered by Octane. Install Via Composer composer require --dev cerbero/pest-pl
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
JBZoo / CI-Report-Converter Why? Installing Using as GitHub Action Example GitHub Action workflow Available Directions Help description in terminal Co
[Package] Lumen Testing Helper for Packages Development
anik/testbench-lumen is a package, highly inspired by the orchestral/testbench. orchestral/testbench that is a tool for testing Laravel packages.
A mail driver to quickly preview mail
A mail driver to quickly preview mail This package can display a small overlay whenever a mail is sent. The overlay contains a link to the mail that w