Libraries tagged by sam
rekalogika/file
4974 Downloads
High-level file abstraction library built on top of Flysystem. It lets you work with file objects in an object-oriented manner. A file object represents a file in a Flysystem filesystem. It can be a local file or a file in a cloud storage, the library lets you work with them in the same way.
particle-academy/fine-print
637 Downloads
First-party PDF reader, writer and renderer for agentic docs, in pure PHP with zero runtime dependencies. Writes PDF 1.7 from the last-word JSON document model and never writes active content. Parses PDFs, extracts text in reading order, reports active content without executing it, and guards agent reads against prompt injection. Renders vector paths, TrueType text, sampled images and baseline JPEG to PNG. Hostile-input limits refuse bombs, cycles and oversized images cleanly; unsupported content is reported.
particle-academy/fancy-flow-php
5273 Downloads
PHP runtime for fancy-flow workflow graphs — the framework-free twin of @particle-academy/fancy-flow's engine. Same WorkflowSchema JSON in, same outputs out; author in , run on PHP.
padosoft/eval-harness
10178 Downloads
Laravel evaluation framework for RAG / LLM applications: golden datasets, twenty-two metrics including agent trajectories, repeated sampling with real statistics, per-row regression gates on content hashes, run briefings, cost budgets, JSON + Markdown reports, Artisan-driven CI gate.
orderingco/ordering-theme-engine
2172 Downloads
The Ordering.co API's theme engine (version 2 themes) in PHP: the same schema, the same rules, the same answer as the TypeScript package.
omnisense/omnibase
853 Downloads
omnibase: entities, repositories, view models, contracts, forms and helpers for any PHP host - Base\ is what is provided, App\ the application that overrides it by the same path; under Symfony with omnibridge/symfony, under Laravel with omnibridge/laravel, persisted through omnibridge/doctrine or omnibridge/eloquent
omnibridge/eloquent
322 Downloads
omnibase's persistence on Eloquent's database layer, framework-free: illuminate/database (Laravel's connection, or Capsule outside Laravel) reading the tables omnisense/omnibridge's schema describes into the same plain PHP entities any other persistence maps - a data mapper: tables from the description, a hydrator with PHP 8.4 lazy ghosts and lazy collections, an identity map, casts; behind the core's contracts, the compiler of the finder language, the statements of the backend-only queries, the unit of work and its lifecycle. It declares no repository: Base\Repository\* are the core's, the same on every persistence.
omnibridge/doctrine
1219 Downloads
omnibase's persistence on Doctrine, and the storage glue of omnibase sites, framework-free: Doctrine reading the structure described outside of it (omnisense/omnibridge's schema), the naming strategy, the UTC date types, an entity manager built with them; behind the core's contracts, the compiler of the finder language, the statements of the backend-only queries and the mapping. It declares no repository: the core's repositories are the same on every persistence. The Doctrine classes a host's configuration names are declared under the core's own namespace.
omniauth/otp
430 Downloads
Omniauth's one-time passwords over spomky-labs/otphp, under any PHP host - authenticator applications (TOTP; HOTP possible): the second factor, its enrolment (a secret and its otpauth:// address) and its revocation, with scheb/2fa's parameters (SHA1, 30 s, 6 digits, the same leeway and provisioning address) so the secrets an application keeps today go on working, a code accepted once only, and the secrets sealed at rest with libsodium (SodiumSecretBox, the key in the host's vault; the ones kept in clear read until rewritten). Formerly omniauth/totp, which it replaces (the Omniauth\Totp\ names stay aliases for one release).
omaralalwi/php-builders
11639 Downloads
sample php traits to add ability to use builder design patterns with easy in PHP applications
nativephp/web-ui
2696 Downloads
EDGE web render target for NativePHP — the same screens as HTML in a browser
myparcelcom/concurrency-safe-migrations
57773 Downloads
Provides an artisan command that runs migrations but prevents execution at the same time
msyk/dropbox-api-shortlivedtoken
50847 Downloads
Sample implementation of generating access token from refresh token.
mpyw/sharable-value-objects
84890 Downloads
Share value objects that contain the same primitive value as a singleton.
mouf/utils.action.action-interface
373527 Downloads
This package contains an interface used by many objects to say they can do stuff. Actually, they can perform one particular action and has been designed for that. The action performed is completely up to the implementer (sending a mail, storing a result in database, displaying something on the screen...) The concept is very simple, and very powerful at the same time.