Displaying 1 to 20 from 74 results

DesignPatternsPHP - sample code for several design patterns in PHP

  •    PHP

This is a collection of known design patterns and some sample code how to implement them in PHP. Every pattern has a small list of examples (most of them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with this software). I think the problem with patterns is that often people do know them but don't know when to apply which.

mockery - Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework

  •    PHP

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending. Mockery is released under a New BSD License.

Codeception - Full-stack testing PHP framework

  •    PHP

Codeception is a modern full-stack testing framework for PHP. Inspired by BDD, it provides an absolutely new way of writing acceptance, functional and even unit tests. Powered by PHPUnit. Codeception provides high-level domain language for tests. Tests are represented as a set of user's actions. Tests can be executed using Firefox, Chrome, Safari or Cloud Testing services with Selenium WebDriver. Browser can be emulated with HTTP-requests through CURL with PhpBrowser.

Pest - Elegant PHP Testing Framework with a focus on simplicity

  •    PHP

Pest is a Testing Framework with a focus on simplicity. It was carefully crafted to bring the joy of testing to PHP. Tests are easy to read and understand. Also, it's powered by PHPUnit — just run your current PHPUnit test suite with Pest and it will just work.

tddd - A Laravel Continuous Integration Package

  •    Vue

TDD Dashboard, is an app (built as a Laravel PHP package) to watch and run all your tests during development. It supports any test framework working on terminal, and comes with some testers (PHPUnit, phpspec, behat, Jest, AVA...) preconfigured, but you can easily add yours, just tell it where the executable is and it's done. It also shows the progress of your tests, let you run a single test or all of them, and open your favorite code editor (PHPStorm, VSCode, Sublime Text, etc.) going right to the failing line of your test. If your test framework generate screenshots, it is also able to show it in the log page, with all the reds and greens you are used to see in your terminal.

PHP-Source-Query - 🐘 PHP library to query servers that implement Source Engine Query protocol

  •    PHP

This class was created to query game server which use the Source query protocol, this includes all source games, and all the games that implement Steamworks. The class also allows you to query servers using RCON although this only works for half-life 1 and source engine games.

phpunit-watcher - A tool to automatically rerun PHPUnit tests when source code changes

  •    PHP

Wouldn't it be great if your PHPUnit tests would be automatically rerun whenever you change some code? This package can do exactly that. This will run the tests and rerun them whenever a file in the app, src or tests directory is modified.

nyancat-phpunit-resultprinter - Nyan Cat result printer for PHPUnit

  •    PHP

Use version ^1.3 to support PHPUnit 4.8+ / 5+. To run the test suite, you need composer.

phpunit-speedtrap - Reports on slow-running tests in your PHPUnit test suite

  •    PHP

SpeedTrap reports on slow-running tests in your PHPUnit test suite right in your console. Many factors affect test execution time. A test not properly isolated from variable latency (database, network, etc.) and even basic load on your test machine will cause test times to fluctuate.

phpunit-snapshots - Snapshot testing for PHPUnit

  •    PHP

This trait allows you to use Jest-like snapshot testing in your PHPUnit tests.It is a very basic trait and is only meant to snapshot JSON-encodable structures, not complex objects and such.

Phexecute - Phexecute - Awesome PHP Code Runner

  •    PHP

Phexecute is browser-based tool to quickly test/run PHP code. It comes with ability to easily check your code with PHP Code_Sniffer, run PHPUnit or SimpleTest tests and more, all inside the browser. Phexecute can dramatically improve development time when something needs to be tested. Extending Phexecute to add your own packages/modules is also extremely easy.

laravel-vue-boilerplate - :elephant: A Laravel 5

  •    PHP

Notice that all the changed data on that website sample, such as password and CRUD actions, won't be stored. The TypeScript code tries to follow the Airbnb JavaScript Style Guide, the linters are already included and configured.

phpunit.el - Emacs mode to phpunit and test command line tool

  •    Emacs

Emacs mode to phpunit and test command line tool

phpunit-injector - Injects services from a PSR-11 dependency injection container to PHPUnit test cases

  •    PHP

Provides a PHPUnit listener to inject services from a PSR-11 dependency injection container to PHPUnit test cases. Services are injected to test cases that implement Zalas\Injector\PHPUnit\TestCase\ServiceContainerTestCase to any property tagged with @inject.

phpunit-documentation-french - French Documentation for PHPUnit

  •    Python

Ce dépôt contient la documentation française de PHPUnit. La documentation est accessible à l'adresse https://phpunit.readthedocs.io/fr/latest/. Si vous souhaitez créer une nouvelle traduction, merci d'ouvrir une issue sur le tracker de la documentation anglaise, indiquant la langue que vous souhaitez traduire. Un dépôt sera créé et ajouté aux traductions disponibles.

mock-webserver - Simple mock web server in PHP for unit testing.

  •    PHP

Simple, easy to use Mock Web Server for PHP unit testing. Gets along simply with PHPUnit and other unit testing frameworks. Unit testing HTTP requests can be difficult, especially in cases where injecting a request library is difficult or not ideal. This helps greatly simplify the process.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.