82 Repositories
PHP sharable-value-objects Libraries
Creating data transfer objects with the power of php objects. No php attributes, no reflection api, and no other under the hook work.
Super Simple DTO Creating data transfer objects with the power of php objects. No php attributes, no reflection api, and no other under the hook work.
FilterGuard is a simple PHP library for sanitizing data. It provides methods to sanitize strings, integers, floats, booleans, arrays, and objects. The library helps protect against common security vulnerabilities such as XSS and SQL injection.
FilterGuard FilterGuard is a simple PHP library for data sanitization. It provides methods to sanitize strings, integers, floats, boolean values, arra
A bunch of general-purpose value objects you can use in your Laravel application.
Laravel Value Objects A bunch of general-purpose value objects you can use in your Laravel application. The package requires PHP ^8.0 and Laravel ^9.7
JSON = PHP8+ objects serialization / deserialization library
A simple library for JSON to PHP Objects conversions Often times, we interact with an API, or data source that returns JSON. PHP only offers the possi
A PHP package that provides common Data and Value Objects, that are Laravel castable.
Common Casts A PHP package that provides common Data and Value Objects, that are Laravel castable. Installation composer require juststeveking/common-
Promoting the interoperability of message queue objects.
Queue Interoperability About queue-interop tries to identify and standardize a common way for PHP programs to create, send, receive and read MQ messag
PHP library with basic objects and more for working with Facebook/Metas Conversions API
PHP library with basic objects and more for working with Facebook/Metas Conversions API Installation The easiest way to install this library is by ins
This package implements 0-1 Knapsack Problem algorithm i.e. allows to find the best way to fill a knapsack of a specified volume with items of a certain volume and value.
This package implements "0-1 Knapsack Problem" algorithm i.e. allows to find the best way to fill a knapsack of a specified volume with items of a certain volume and value.
LendCash is a cash lending service that lets you take loans against your stocks portfolio value and pay back on a prorated basis.
LendCash is a cash lending service that lets you take loans against your stocks portfolio value and pay back on a prorated basis.
Feather - a highly performant SQLite Cache Driver for Kirby 3
🪶 Kirby3 SQLite Cache-Driver Feather - a highly performant SQLite Cache Driver for Kirby 3 Commerical Usage Support open source! This plugin is free
QuidPHP/Main is a PHP library that provides a set of base objects and collections that can be extended to build something more specific.
QuidPHP/Main is a PHP library that provides a set of base objects and collections that can be extended to build something more specific. It is part of the QuidPHP package and can also be used standalone.
This component, based on the Symfony serializer and async-aws, is a human-readable and quick abstraction to easily store serialized objects in DynamoDB 🚀.
DynamoDB Storable This component, based on the Symfony serializer and async-aws, is a human-readable and quick abstraction to easily store serialized
Access your Slack Team's API through PHP objects.
Slack API library Access your Slack Team's API through PHP objects. Documentation Getting started - Before you use this library, you need to generate
Parse DSN strings into value objects to make them easier to use, pass around and manipulate
DSN parser Parse DSN strings into value objects to make them easier to use, pass around and manipulate. Install Via Composer composer require nyholm/d
Safely break down arrays or objects, and put them back together in new shapes.
traverse/reshape traverse() and reshape() are companion functions that safely break down arrays or objects and put them back together in new shapes. t
Provides JSON pointer as a value object
json-pointer Provides JSON pointer as a value object. Installation Run composer require ergebnis/json-pointer Usage ReferenceToken You can create a Re
Check if a translated value in a JSON column is unique in the database.
Laravel Unique Translation IMPORTANT: March 2022 It's horrible to see what is happening now in Ukraine, as Russian army is bombarding houses, hospital
This package provides tools to validate and sanitize objects and arrays.
Aura.Filter This package provides tools to validate and sanitize objects and arrays. Foreword Installation This library requires PHP 7.2 or later; we
JSONFinder - a library that can find json values in a mixed text or html documents, can filter and search the json tree, and converts php objects to json without 'ext-json' extension.
JSONFinder - a library that can find json values in a mixed text or html documents, can filter and search the json tree, and converts php objects to json without 'ext-json' extension.
A JsonPath implementation in PHP
JsonPath This is a JSONPath implementation for PHP. This implementation features all elements in the specification except the () operator (in the spce
php String Objects Chains like length,forEach,filter,replace,repalcAll much More.... Module
php String Objects Chains like length,forEach,filter,replace,repalcAll much More.... Module
Joole Reflector - used to work with the properties of objects, their changes and merges
Joole Reflector allows you to change protected, as well as private properties of an object.
PHP with PDO (PHP Data Objects) Quickstart
PHP with PDO (PHP Data Objects) Quickstart This repository contains a simple web application that demonstrates how to quickly connect to and communica
Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface
Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface, including Getopt support, and an independent Help object for describing commands.
Email address value object.
Email address value object Installation Via Composer: $ composer require nepada/email-address Usage This package provides two implementations of email
A PHP 7 value objects helper library.
valueobjects Requirements Requires PHP = 7.1 Installation Through Composer, obviously: composer require funeralzone/valueobjects Extensions This lib
CakeDC Auth Objects is a refactor of the existing Auth objects present in the CakeDC Users Plugin, to let anyone else use them in their projects.
CakeDC Auth Objects is a refactor of the existing Auth objects present in the CakeDC Users Plugin, to let anyone else use them in their projects.
Read and write OpenAPI 3.0.x YAML and JSON files and make the content accessible in PHP objects.
php-openapi Read and write OpenAPI 3.0.x YAML and JSON files and make the content accessible in PHP objects. It also provides a CLI tool for validatin
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
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
A tool for diff'ing this and OpenTHC lab metrics, creating their objects, and docs.
wcia-analytes-tool Consumes OpenTHC Lab Metrics and WCIA Analytes, and produces diff objects and docs for use in WA State interop. version 0.9.8 Getti
An object-oriented option parser library for PHP, which supports type constraints, flag, multiple flag, multiple values, required value checking
GetOptionKit Code Quality Versions & Stats A powerful option parser toolkit for PHP, supporting type constraints, flag, multiple flag, multiple values
Library that offers Input Filtering based on Annotations for use with Objects. Check out 2.dev for 2.0 pre-release.
DMS Filter Component This library provides a service that can be used to filter object values based on annotations Install Use composer to add DMS\Fil
An object store for specific objects.
Object Storage A simple object storage class that will only allow "supported" objects. class MyObjectStorage extends Herrera\Util\ObjectStorage {
Silverstripe-searchable - Adds to the default Silverstripe search by adding a custom results controller and allowing properly adding custom data objects and custom fields for searching
SilverStripe Searchable Module UPDATE - Full Text Search This module now uses Full Text Support for MySQL/MariaDB databases in version 3.* Adds more c
DeepCopy - Create deep copies (clones) of your objects
DeepCopy DeepCopy helps you create deep copies (clones) of your objects. It is designed to handle cycles in the association graph. Table of Contents H
ObjectHydrator - Object Hydration library to create Command and Query objects.
Object Hydrator This is a utility that converts structured request data (for example: decoded JSON) into a complex object structure. The intended use
Generate Data Transfer Objects directly from JSON objects
Json 2 DTO Spatie's Data Transfer Object library is awesome, but typing out DTOs can quickly become a chore. Inspired by Json2Typescript style tools,
Collection of value objects that represent the types of the PHP type system
sebastian/type Collection of value objects that represent the types of the PHP type system. Installation You can add this library as a local, per-proj
⚙️Simple key/value typed settings for your Laravel app with synchronized json export
Simple key/value typed settings for your Laravel app Create, store and use key/value settings, typed from numbers over dates to array, cached for quic
⚙️Laravel Nova Resource for a simple key/value typed setting
Laravel Nova Resource for a simple key/value typed setting Administer your Laravel Simple Setting in Nova Pre-requisites This Nova resource package re
Samsui is a factory library for building PHP objects useful for setting up test data in your applications.
#Samsui Samsui is a factory library for building PHP objects useful for setting up test data in your applications. It is mainly inspired by Rosie for
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
Collection of value objects that represent the PHP code units
sebastian/code-unit Collection of value objects that represent the PHP code units. Installation You can add this library as a local, per-project depen
Yet another Value Object Library (YAVOL)
Yet Another DDD Library Value object This library is a foundation in order to implement the Value Object pattern. It helps you to introduce some DDD s
Package to fetch cryptocurrency price, market value, assets etc. using coincap API endpoints
cryptocap-pkg Package to fetch cryptocurrency price, market value, assets etc. using coincap API endpoints. This package was developed to work with co
Decimal handling as value object instead of plain strings.
Decimal Object Decimal value object for PHP. Background When working with monetary values, normal data types like int or float are not suitable for ex
Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
IP is an immutable value object for (both version 4 and 6) IP addresses. Several helper methods are provided for ranges, broadcast and network address
Deeper is a easy way to compare if 2 objects is equal based on values in these objects. This library is heavily inspired in Golang's reflect.DeepEqual().
Deeper Deeper is a easy way to compare if 2 objects is equal based on values in these objects. This library is heavily inspired in Golang's reflect.De
Powerful data objects for Laravel
Powerful data objects for Laravel This package enables the creation of rich data objects which can be used in various ways. Using this package you onl
PHP library that helps to map any input into a strongly-typed value object structure.
Valinor • PHP object mapper with strong type support Valinor is a PHP library that helps to map any input into a strongly-typed value object structure
Identifies objects in an image using Machine Learning.
laravel-object-detection This package identifies objects in an image using Machine Learning, TensorFlow and the coco-ssd model. Installation You can i
Doctrine extension to persist spatial data objects.
doctrine-Spatial Doctrine-spatial is a doctrine extension. It implements spatial types and functions. As exemple, this extension can help you to know
Elephant - a highly performant PHP Cache Driver for Kirby 3
🐘 Kirby3 PHP Cache-Driver Elephant - a highly performant PHP Cache Driver for Kirby 3 Commerical Usage Support open source! This plugin is free but i
An Hydrator class that can be used for filling object from array and extracting data from objects back to arrays.
Hydrator namespace: Meow\Hydrator Library that can hydrate (fill object with data from array) and extract data from object back to array. Installation
Cast your Eloquent model attributes to Value Objects with ease.
Laravel Value Objects Cast your Eloquent model attributes to value objects with ease! Requirements This package requires PHP = 5.4. Using the latest
Share value objects that contain the same primitive value as a singleton
sharable-value-objects Share value objects that contain the same primitive value as a singleton. Singletons are kept under WeakReference objects. Inst
SAPI request and response objects for PHP 8.1
Sapien This package provides server API (SAPI) request and response objects for PHP 8.1: Sapien\Request, composed of readonly copies of PHP supergloba
Global key-value store in the database
Laravel Options Global key-value store in the database Installation To get started with laravel-options, use Composer to add the package to your proje
Allows generate class files parse from json and map json to php object, including multi-level and complex objects;
nixihz/php-object Allows generate class files parse from json and map json to php object, including multi-level and complex objects; Installation You
PHP bundle which makes array traversing / inserting dead easy.
XTraverse.php This bundle makes it dead easy to traverse through nested arrays/objects in PHP. Installation Via Composer composer require phiil/xtrave
Enforced disposal of objects in PHP. 🐘
Enforced disposal of objects in PHP. This package provides a Disposable interface and using() global function that can be used to enforce the disposal
Store and retrieve settings generally or for model objects in Laravel.
Store and retrieve settings generally or for model objects in Laravel. Documentation You can find the detailed documentation here in Laravel Settings
Enable method chaining or fluent expressions for any value and method.
PHP Pipe Operator A (hopefully) temporary solution to implement the pipe operator in PHP. Table of contents Requirements How to install How to use The
Tensor is a library and extension that provides objects for scientific computing in PHP.
Tensor is a library and extension that provides objects for scientific computing in PHP. The multithreaded extension is especially suited for computing large sets of numbers. In some cases, the extension is 230X faster than the same operation in PHPland. Tensor is used by libraries such as Rubix ML to build and accelerate machine learning algorithms such as linear regression, dimensionality reduction, and neural networks.
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
Missing data types for PHP. Highly extendable.
Neverending data validation can be exhausting. Either you have to validate your data over and over again in every function you use it, or you have to rely it has already been validated somewhere else and risk potential problems.
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
Store and retrieve objects from Algolia or Elasticsearch
Store and retrieve objects from a search index This is an opinionated Laravel 5.1 package to store and retrieve objects from a search index. Currently
Multibyte strings as objects
Opis String Multibyte strings Opis String is a tiny library that allows you to work with multibyte encoded strings in an object-oriented manner. The l
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
PHP package to make your objects strict and throw exception when you try to access or set some undefined property in your objects.
📢 Yell PHP package to make your objects strict and throw exception when you try to access or set some undefined property in your objects. Requirement
A set of classes to create and manipulate HTML objects abstractions
HTMLObject HTMLObject is a set of classes to create and manipulate HTML objects abstractions. Static calls to the classes echo Element::p('text')-cla
:date: The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects
sabre/vobject The VObject library allows you to easily parse and manipulate iCalendar and vCard objects using PHP. The goal of the VObject library is
Library that offers Input Filtering based on Annotations for use with Objects. Check out 2.dev for 2.0 pre-release.
DMS Filter Component This library provides a service that can be used to filter object values based on annotations Install Use composer to add DMS\Fil
Validate and sanitize arrays and objects.
Aura.Filter This package provides tools to validate and sanitize objects and arrays. Foreword Installation This library requires PHP 5.4 or later; we
Value Object that represents a monetary value (using a currency's smallest unit).
This project has been abandoned. It was only ever intended to be used as an example for PHPUnit features etc. and not for usage in production. I am so
The DependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.
DependencyInjection Component The DependencyInjection component allows you to standardize and centralize the way objects are constructed in your appli
A standalone DateTime library originally based off of Carbon
CakePHP Chronos Chronos aims to be a drop-in replacement for nesbot/carbon. It focuses on providing immutable date/datetime objects. Immutable objects
Yet Another LINQ to Objects for PHP [Simplified BSD]
YaLinqo: Yet Another LINQ to Objects for PHP Online documentation GitHub repository Features The most complete port of .NET LINQ to PHP, with many add
🎩✨🌈 OOP Proxy wrappers utilities - generates and manages proxies of your objects
Proxy Manager This library aims to provide abstraction for generating various kinds of proxy classes. Documentation You can learn about the proxy patt
An object-oriented option parser library for PHP, which supports type constraints, flag, multiple flag, multiple values, required value checking
GetOptionKit Code Quality Versions & Stats A powerful option parser toolkit for PHP, supporting type constraints, flag, multiple flag, multiple values