97 Repositories
PHP phpunit-memory-usage Libraries
OpenAI API Client is a component-oriented, extensible client library for the OpenAI API. It's designed to be faster and more memory efficient than traditional PHP libraries.
OpenAI API Client in PHP (community-maintained) This library is a component-oriented, extensible client library for the OpenAI API. It's designed to b
Awesome Set of Packages for Laravel
Awesome Set of Packages for Laravel The set provides best practices to make development more fun and classes/services that I found very useful while w
Fully covered with tests, documented by Swagger and dockerized API based on enterprise-level framework with optional queue worker.
symfony-api Fully covered with tests, documented by Swagger and dockerized API based on enterprise-level framework with optional queue worker. ⚙️ Depl
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
IP2Location library for CodeIgniter. Use IP2Location geolocation database to lookup the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type that any IP address or hostname originates from.
CodeIgniter IP2Location Library This module enables users to retrieve below geolocation information from an IP address. It supports both the IPv4 and
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/
HTTP Requestor: Package for a client request that supports you to make an external service request easily and with fast usage.
HttpRequestor from Patienceman HTTP Requestor: Package for a client request that supports you to make an external service request easily and with fast
¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP
¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP
PHP library for Disque, an in-memory, distributed job queue
disque-php A PHP library for the very promising disque distributed job queue. Features: Support for both PHP (5.5+) and HHVM No dependencies: Fast con
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.
Provides an object-oriented API to query in-memory collections in a SQL-style.
POQ - PHP Object Query Install composer require alexandre-daubois/poq 1.0.0-beta2 That's it, ready to go! 🎉 Usage Here is the set of data we're going
JsonCollectionParser - Event-based parser for large JSON collections (consumes small amount of memory)
Event-based parser for large JSON collections (consumes small amount of memory). Built on top of JSON Streaming Parser This packa
Comprehensive Plugin for composer to execute PHP Quality assurance Tools
NOT MAINTANED ANYMORE The development of composer-plugin-qa was dropped in favor of phpqa which is actively maintained. The project use docker and can
An example chat app to illustrate the usage of kitar/laravel-dynamodb.
Simplechat An example chat app to illustrate the usage of kitar/laravel-dynamodb. Demo https://demo.simplechat.app/ This demo app is deployed with Lar
Dockerise Symfony Application (Symfony 6 + Clean Architecture+ DDD+ CQRS + Docker + Xdebug + PHPUnit + Doctrine ORM + JWT Auth + Static analysis)
Symfony Dockerise Symfony Application Install Docker Install Docker Compose Docker PHP & Nginx Create Symfony Application Debugging Install Xdebug Con
PHP Meminfo is a PHP extension that gives you insights on the PHP memory content
MEMINFO PHP Meminfo is a PHP extension that gives you insights on the PHP memory content. Its main goal is to help you understand memory leaks: by loo
Essence is a very flexible BDD style assertion framework for PHP that fits into existing PHPUnit projects nicely
Essence 1.5.1 Essence is a very flexible BDD style assertion framework for PHP that fits into existing PHPUnit projects nicely. Installation composer
An autoscaling Bloom filter with ultra-low memory footprint for PHP
Ok Bloomer An autoscaling Bloom filter with ultra-low memory footprint for PHP. Ok Bloomer employs a novel layered filtering strategy that allows it t
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
Prisma is an app that strengthens the relationship between people with memory loss and the people close to them
Prisma is an app that strengthens the relationship between people with memory loss and the people close to them. It does this by providing a living, collaborative digital photo album that can be populated with content of interest to these people.
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
Rules for detecting usage of deprecated classes, methods, properties, constants and traits. PHPStan Installation To use this extension, require it in
Satisfy the Type APIs for the WordPress schema when running PHPUnit tests
Satisfy the Type APIs for the WordPress schema when running PHPUnit tests
PHPStan PHPUnit extensions and rules
PHPStan PHPUnit extensions and rules PHPStan PHPUnit This extension provides following features: createMock(), getMockForAbstractClass() and getMockFr
Learning Management System made in vanilla PHP to learn core concepts and usage of some basic utils
Learning Management System Learning Management System made in vanilla PHP to learn core concepts and usage of some basic utils. Report Bug · Request F
Report high memory usage PHPUnit tests: Managed by opg-org-infra & Terraform
phpunit-memory-usage Report high memory usage PHPUnit tests: Managed by opg-org-infra & Terraform Configuration Add into the phpunit.xml extensions se
An utility component for XML usage and best practices in PHP
An utility component for XML usage and best practices in PHP
zend-memory manages data in an environment with limited memory
Memory objects (memory containers) are generated by the memory manager, and transparently swapped/loaded when required.
laminas-memory manages data in an environment with limited memory
Memory objects (memory containers) are generated by the memory manager, and transparently swapped/loaded when required.
The cache component provides a Promise-based CacheInterface and an in-memory ArrayCache implementation of that
Cache Async, Promise-based cache interface for ReactPHP. The cache component provides a Promise-based CacheInterface and an in-memory ArrayCache imple
🐘 🎯 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
LaravelFly is a safe solution to speeds up new or old Laravel 5.5+ projects, with preloading and coroutine, while without data pollution or memory leak
Would you like php 7.4 Preloading? Would you like php coroutine? Today you can use them with Laravel because of Swoole. With LaravalFly, Laravel will
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!
Mockery - Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library
Mockery Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its c
Ce projet est volontairement overkill et fait usage d'une débauche de techno, uniquement dans un objectif récréatif !
Projet OverKill Projet réaliser dans le cadre d'une série pour la chaine Youtube YoanDev. Ce projet est volontairement overkill et fait usage d'une dé
Skeleton for creating a new Command Line Interface application with a minimum of dependencies.
Skeleton for creating a new Command Line Interface application with a minimum of dependencies.
Ip2region is a offline IP location library with accuracy rate of 99.9% and 0.0x millseconds searching performance. DB file is ONLY a few megabytes with all IP address stored. binding for Java,PHP,C,Python,Nodejs,Golang,C#,lua. Binary,B-tree,Memory searching algorithm
Ip2region是什么? ip2region - 准确率99.9%的离线IP地址定位库,0.0x毫秒级查询,ip2region.db数据库只有数MB,提供了java,php,c,python,nodejs,golang,c#等查询绑定和Binary,B树,内存三种查询算法。 Ip2region特性
A fast, lock-free, shared memory user data cache for PHP
Yac is a shared and lockless memory user data cache for PHP.
Composer Plugin for automatically including files for easing function usage in php.
Php Inc Php inc is a composer plugin for automatically including certain files into composer's autoload and autoload-dev files config. Given a set of
Magento PHPUnit Integration
Magento PHPUnit Integration Magento is a quite complex platform without built in unit test suite, so the code is not oriented on running tests over it
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
This library provides a way of avoiding usage of constructors when instantiating PHP classes.
Instantiator This library provides a way of avoiding usage of constructors when instantiating PHP classes. Installation The suggested installation met
Qase-phpunit - Qase TMS PHPUnit reporter.
Qase TMS PHPUnit reporter Publish results simple and easy. How to integrate composer require qase/phpunit-reporter Example of usage The PHPUnit report
Docker image that provides static analysis tools for PHP
Static Analysis Tools for PHP Docker image providing static analysis tools for PHP. The list of available tools and the installer are actually managed
Get a grip on your finances.
Budget Budget is an open-source web application that helps you keep track of your finances. You can use Budget by hosting it yourself, or using the in
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
High-performance, low-memory-footprint, single-file embedded database for key/value storage
LDBA - a fast, pure PHP, key-value database. Information LDBA is a high-performance, low-memory-footprint, single-file embedded database for key/value
Lumen rest api demo with Dingo/Api, JWT, CORS, PHPUNIT
lumen-api-demo 这是一个比较完整用 lumen 5.7 写的的 REST API 例子。使用了 dingo/api ,jwt 实现登录,功能上很简单,登录,注册,发帖,评论,单元测试(正在补充)。 lumen5.x 请看对应的分支 有需要随时联系我 lumen/laravel/rest
A Composer script to run a 'test' or 'spec' Composer script against multiple PHP versions.
composer-multitest composer-multitest is a Composer script that runs a test or spec Composer script against multiple PHP versions managed by PHPBrew o
Laravel 8 + Vue 2 + AdminLTE 3 based Curd Starter template
Laravel 8 + Vue 2 + AdminLTE 3 based Curd Starter template
Log requests and group together for aggregated statistics of route usage
Log Laravel route usage statistics Log Laravel requests and responses for statistical purposes and optionally aggregate by hours/days/months for minim
Sample code for several design patterns in PHP 8
DesignPatternsPHP Read the Docs of DesignPatternsPHP or Download as PDF/Epub This is a collection of known design patterns and some sample codes on ho
Contains a few tools usefull for making your test-expectations agnostic to operating system specifics
PHPUnit Tools to ease cross operating system Testing make assertEquals* comparisons end-of-line (aka PHP_EOL) character agnostic Make use of EolAgnost
Provides generic data providers for use with phpunit/phpunit.
data-provider Installation Run composer require --dev ergebnis/data-provider Usage This package provides the following generic data providers: Ergebni
Allows the running of PHPUnit within ExpressionEngine
EE Unit Tests EE Unit Tests is an Add-on for ExpressionEngine that allows developers to execute unit tests from the Command Line. EE Unit Tests uses P
The SOLID principles demonstrated in PHP as seen on Elaniin's SOLID Booster Session.
SOLID Principles SOLID is the mnemonic acronym that represents 5 design principles that aim to make software designs more understandable, flexible, an
A small library for usage deepai.org api
deepai a small library for usage deepai.org api install via composer : composer require mkhab7/deepai usage use Solid\Deepai\Deepai; require_once 've
PHPUnit to Pest Converter
PestConverter PestConverter is a PHP library for converting PHPUnit tests to Pest tests. Before use Before using this converter, make sure your files
PHPUnit Application Architecture Test
PHPUnit Application Architecture Test Idea: write architecture tests as well as feature and unit tests Installation Install via composer composer requ
Docker with PHP 7.4 fpm, Nginx, Composer, PhpUnit and MaridaDB
Clean Docker with PHP Docker with PHP 7.4 fpm, Nginx, Composer, PhpUnit and MariaDB Starting app docker-compose up -d Main page
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.
This PHP script optimizes the speed of your RAM memory
██████╗░██╗░░██╗██████╗░░█████╗░██╗░░░░░███████╗░█████╗░███╗░░██╗███████╗██████╗░ ██╔══██╗██║░░██║██╔══██╗██╔══██╗██║░░░░░██╔════╝██╔══██╗████╗░██║██╔
Demonstration of OOP concepts and usage of Abstract class & Interfaces
Learn OOP Demonstration of OOP concepts and usage of Abstract class & Interfaces Usage clone this repo run composer install run php index.php Code str
A sample RESTful API in Laravel with PHPunit test.
Laravel PHP Framework URL | URI | Action |
Telegram API made for php (Simple usage)
Telegram Telegram API made for php (Simple usage) How to use? Download the project & place Telegram folder tp your project directory (For example i se
WebDirStat is a disk usage utility for web servers written in PHP
WebDirStat is disk usage utility for web servers, it’s a single PHP file that gives you statistics about disk usage inside a specific Directory ordered by size, in a form of a simple tree table.
CTFx is a CTF Platform forked from mellivora, that focuses on low memory footprint and low server CPU usage
CTFx is a CTF Platform forked from mellivora, that focuses on low memory footprint and low server CPU usage. It has a futuristic interface that's optimized for slower hardware, meaning that there is no bulky Javascript running in the background, nor length CSS stylesheets. CTFx improves on the mellivora CTF engine by the UI redesign and the addition of new features.
This repository includes a sample project to illustrate the usage of the JobRouter® Authentication Factor API.
JR 2FA Example Plugin This repository includes a sample project to illustrate the usage of the JobRouter® Authentication Factor API. It can be used as
a wordpress plugin that improves wpgraphql usage together with wpml
WPGraphQL WPML Extension Contributors: rburgst Stable tag: 1.0.6 Tested up to: 5.6.1 Requires at least: 4.9 Requires PHP: 7.0 Requires WPGraphQL: 0.8.
🚀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
Get the system resources in PHP, as memory, number of CPU'S, Temperature of CPU or GPU, Operating System, Hard Disk usage, .... Works in Windows & Linux
system-resources. A class to get the hardware resources We can get CPU load, CPU/GPU temperature, free/used memory & Hard disk. Written in PHP It is a
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
Track the memory usage of your workers and display them in Filament.
Filament Memory Tracker Track the memory usage of your workers and display them in Filament. Installation Install the package via composer: composer r
Add mocking capabilities to Pest or PHPUnit
This repository contains the Pest Plugin Mock. The Mocking API can be used in regular PHPUnit projects. For that, you just have to run the following c
Adds a header to every response to try and twart Google's usage of your site in it's FLoC tracking method.
Laravel No FLoC This package will add the Permissions-Policy: interest-cohort=() to try and twart Google's usage of your site in it's FLoC tracking me
🧑🔬 The missing assertions for your views in your Laravel applications.
Laravel View Assertions The missing assertions for your views in your Laravel applications. Installation You'll have to follow a couple of simple step
Adds a specific header to every response to disable Google's usage of your site in it's FLoC tracking method.
Go Unfloc Yourself Description A bundle for Symfony 5 that adds a Permissions-Policy header in all the responses to prevent the use of new Google's "F
API simples utilizando workerman(assincrono) usando TDD, DDD e boas praticas para escalonamento horizontal.
Motivos para usar workerman Além de mais rápido que o swoole, não necessita de libs externas, porém o ponto negativo é não possuir corrotinas, sendo n
Enables type-safe comparisons of objects in PHPUnit.
Strict PHPUnit Enables type-safe comparisons of objects in PHPUnit. Problem PHPUnit has a very powerful comparison system that helps you comparing obj
Rector upgrades rules for PHPUnit
Rector Rules for PHPUnit See available PHPUnit rules Install composer require rector/rector-phpunit Use Sets To add a set to your config, use Rector\P
:elephant: A Laravel 6 SPA boilerplate with a users CRUD using Vue.js 2.6, GraphQL, Bootstrap 4, TypeScript, Sass, and Pug.
Laravel Vue Boilerplate A Laravel 6 Single Page Application boilerplate using Vue.js 2.6, GraphQL, Bootstrap 4, TypeScript, Sass and Pug with: A users
🦉 Fast Excel import/export for Laravel
Fast Excel import/export for Laravel, thanks to Spout. See benchmarks below. Quick start Install via composer: composer require rap2hpoutre/fast-excel
Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
Spout Spout is a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way. Contrary to other file readers or wr
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
vfsStream vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with
The PHP Unit Testing framework.
PHPUnit PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. Installat
:computer: Parallel testing for PHPUnit
ParaTest The objective of ParaTest is to support parallel testing in PHPUnit. Provided you have well-written PHPUnit tests, you can drop paratest in y
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).
Mockery Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its c
Full-stack testing PHP framework
Codeception Modern PHP Testing for everyone Codeception is a modern full-stack testing framework for PHP. Inspired by BDD, it provides an absolutely n
The most powerful and flexible mocking framework for PHPUnit / Codeception.
AspectMock AspectMock is not an ordinary PHP mocking framework. With the power of Aspect Oriented programming and the awesome Go-AOP library, AspectMo
TCrypto is a simple and flexible PHP 5.3+ in-memory key-value storage library
About TCrypto is a simple and flexible PHP 5.3+ in-memory key-value storage library. By default, a cookie will be used as a storage backend. TCrypto h
Supercharge your app or SDK with a testing library specifically for Guzzle
Full Documentation at guzzler.dev Supercharge your app or SDK with a testing library specifically for Guzzle. Guzzler covers the process of setting up
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
This is a port of the VCR Ruby library to PHP. Record your test suite's HTTP interactions and replay them during future test runs for fast, determinis
PHPUnit assertions for testing ReactPHP promises
ReactPHP Promises Testing A library that provides a set of convenient assertions for testing ReactPHP promises. Under the hood uses clue/php-block-rea
A starter-kit for your PHP project.
PHP Noise A starter-kit for your PHP project. It includes frequently needed boilerplate setups (ci, badges, etc.) 📦 Installation To install this appl
sample code for several design patterns in PHP 8
DesignPatternsPHP Read the Docs of DesignPatternsPHP or Download as PDF/Epub This is a collection of known design patterns and some sample codes on ho