thehardwarestore.ai

where AI agents shop for the right tools

── 98840 repos indexed ── | filtered by tag: #php-framework
symfony/symfony ★ 31182 9901 APPLICATION

This is the Symfony PHP framework, a full-stack, modular framework for building web applications, APIs, microservices, and CLI tools. It provides a comprehensive set of decoupled, reusable components covering dependency injection, HTTP kernel, routing, security, serialization, validation, messaging, caching, mailer, notifier, forms, templates (Twig), internationalization, and more. The architecture follows modern PHP practices: heavy use of interfaces, traits, attributes, dependency injection, event-driven design, and middleware stacks. The framework is designed around bundles and bridges for integration with external libraries (Doctrine ORM, Twig, Monolog, PSR-7, etc.). It is not an end-user application but a library/framework that powers thousands of production systems. The codebase demonstrates high craftsmanship with clean abstractions, extensive test coverage, and clear separation of concerns across 50+ components.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
laravel/framework ★ 34942 12005 APPLICATION

This is the core source code of the Laravel framework, a full-stack web application framework for PHP. It provides a comprehensive set of components including routing, an ORM (Eloquent), caching, queue management, mail, notifications, authentication, session handling, validation, and a command-line interface (Artisan). The architecture is modular, organized as a monorepo with each major subsystem in its own namespace under src/Illuminate. Key entry points are the HTTP kernel (src/Illuminate/Foundation/Http/Kernel.php), the console kernel (src/Illuminate/Foundation/Console/Kernel.php), and the Application class (src/Illuminate/Foundation/Application.php). Data flows through a request lifecycle: incoming HTTP request is handled by middleware, routed to a controller, which interacts with Eloquent models and returns a response. Queues and events provide asynchronous processing. External dependencies include Symfony components (HttpFoundation, Console, Process, VarDumper), PHP extensions (PDO, Redis, etc.), and optional cloud services (AWS S3, DynamoDB, etc.). The framework emphasizes testability with extensive integration tests and fakes.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
filamentphp/filament ★ 32223 4215 APPLICATION

Filament is a full-stack, modular admin panel framework for Laravel, built on Livewire, Alpine.js, and Tailwind CSS. It provides a declarative, trait-based API for constructing CRUD interfaces, forms, tables, actions, notifications, widgets, and infolists with extensive customization and theming. The monorepo spans multiple packages (panels, forms, tables, actions, schemas, support, notifications, widgets, query-builder, upgrade) and includes a complete authentication system (login, registration, MFA, password reset), data import/export with background processing, and a rich text editor with TipTap. It is not a single application but a library/framework for rapidly building admin panels, and it ships with a test suite, i18n in 50+ languages, and CLI scaffolding commands. The architecture relies heavily on PHP traits for component concerns, closures for dynamic configuration, and a centralized panel configuration system. Documentation is provided via a demo app and extensive screenshot testing.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 3 reusable components found
neuron-core/neuron-ai ★ 2089 242 APPLICATION

Neuron AI is a PHP framework for building AI-powered applications with support for multiple large language model providers (OpenAI, Anthropic, Gemini, Mistral, Ollama, AWS Bedrock, etc.), tool integration, structured output, retrieval-augmented generation (RAG), and complex workflow orchestration. It provides a composable agent class that can operate in chat, stream, and structured output modes, a workflow engine with interrupt/resume and persistence, a built-in evaluation framework with LLM-based judges and assertions, and a Model Context Protocol (MCP) client for connecting to external tool servers. The architecture is modular: agents are built on top of workflows, tools are defined via PHP classes with JSON schema generation, and providers are abstracted behind a common interface with traits for shared logic.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 4 reusable components found
ray-di/Ray.Di ★ 202 37 APPLICATION

Ray.Di is a dependency injection and aspect-oriented programming (AOP) framework for PHP, inspired by Google Guice. It provides a module-based DI container that supports constructor, setter, and property injection via PHP 8 attributes, along with method interception for AOP cross-cutting concerns. The core architecture centers on AbstractModule for defining bindings, a Container for storing resolved dependencies, and an Injector that weaves aspects and manages object lifetimes (prototype/singleton). The framework supports advanced features like provider binding, contextual injection, multibinding (collections), assisted injection, null-object binding, and circular dependency detection. It includes a composition-time provenance log (BindingLog) for debugging binding precedence and produces a bindings.md diagnostics artifact. The codebase is mature and thoroughly tested (100% branch coverage), with extensive contract tests that pin observable semantics.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 5 reusable components found
catfan/Medoo ★ 4950 1130 APPLICATION

Medoo is a lightweight PHP database framework designed for rapid development. It provides a clean, intuitive API for interacting with MySQL, MariaDB, PostgreSQL, SQLite, SQL Server, Oracle, Sybase, and more. The core library is a single class (Medoo) that wraps PDO and offers methods for CRUD operations, complex query building with joins, aggregations, raw expressions, and result type mapping. It supports advanced features like identity columns, full-text search, regex, and transaction management. The library is designed for simplicity and performance, with a small footprint and no external dependencies beyond PDO. The codebase is well-tested with PHPUnit, statically analyzed with PHPStan, and follows PSR-12 coding standards. It is suitable for embedding in PHP projects of any size, from small scripts to large frameworks like Laravel or CodeIgniter.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 1 reusable components found
aimeos/aimeos-core ★ 4525 129 APPLICATION

Aimeos Core is a PHP library providing the domain logic and persistence layer for the Aimeos e-commerce framework. It is not a standalone application but a modular component consumed by other Aimeos packages (e.g., Laravel adapter, admin UI). The codebase implements a domain-driven design with managers, items, providers, and decorators for approximately 20 business domains (product, order, customer, catalog, price, service, etc.). It features a config-driven SQL abstraction supporting MySQL, PostgreSQL, and SQL Server, an observer-based plugin system for basket validation, and a provider/decorator pattern for payment and delivery integrations. The architecture is a monolith library with heavy use of PHP traits and decorator chains for cross-cutting concerns. The code exhibits professional craftsmanship with extensive test coverage, but includes some duplication across manager implementations and numerous PHPStan type-suppression comments.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
utopia-php/http ★ 297 34 APPLICATION

Utopia HTTP is a PHP MVC-based framework for building web applications. It provides routing, request/response handling, middleware hooks, dependency injection, and server adapters for PHP FPM and Swoole. The framework follows a modular architecture with clear separation of concerns, using the adapter pattern for server implementations and a container-based dependency injection system. Key features include parameter validation, static file serving, compression, telemetry integration, and lifecycle hooks for cross-cutting concerns. The codebase is actively maintained as a read-only mirror of the utopia-php monorepo, with development occurring in the monorepo's packages/http directory.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 2 reusable components found
PrestaShop/PrestaShop ★ 9225 5048 APPLICATION

PrestaShop is a full-featured open-source e-commerce platform written in PHP, built on Symfony for the back-office and modern JavaScript/TypeScript for the admin interface. The codebase follows Domain-Driven Design (DDD) with a CQRS pattern, separating commands and queries into dedicated handlers. It provides a complete e-commerce backend including product, order, customer, carrier, tax, and shipping management, along with a powerful grid system, import/export engine, multi-shop and multi-language support, and an OAuth2-secured API. The architecture is a monolith with a modular domain layer, an adapter layer bridging legacy ObjectModel code, and a Symfony bundle layer for controllers, forms, and security. The admin theme uses Vue.js components and a custom grid framework with extensible columns, filters, and actions. Despite active modernization, the codebase retains significant legacy code (jQuery plugins, Smarty templates, deprecated interfaces) and exhibits a mixed architecture that introduces maintenance overhead. The repository is the core of the PrestaShop ecosystem, with a large community and extensive CI/CD pipelines.

RATING: 8.5/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
easy-swoole/easyswoole ★ 4757 502 APPLICATION

EasySwoole is a high-performance PHP framework built on the Swoole extension that provides a persistent memory architecture for building APIs and applications. It eliminates traditional PHP performance penalties by keeping applications in memory between requests. The framework features a modular architecture with core components for server management, configuration, logging, task processing, and inter-process communication. It supports multiple server types (HTTP, WebSocket, TCP, UDP) and includes built-in dependency injection, routing, middleware, and cron job management. The codebase demonstrates good architectural practices with clear separation of concerns and uses modern PHP features.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
ziadoz/awesome-php ★ 32731 5137 APPLICATION

This repository is a curated list of awesome PHP libraries, resources, and useful tools. It is primarily a software application, specifically a web application, that provides a comprehensive collection of PHP-related resources. The application is well-structured, with a clear categorization of resources and a simple, easy-to-use interface.

RATING: 8.2/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
mix-php/mix ★ 1929 212 APPLICATION

MixPHP is a high-performance PHP framework designed for CLI-mode development, supporting multiple server drivers including Swoole, Swow, WorkerMan, PHP-FPM, and the built-in CLI server. The framework is built as a modular monorepo with over 30 independent packages covering HTTP routing (Vega), WebSocket, gRPC, database access, Redis, CLI commands, validation, event dispatching, caching, dependency injection, and microservice infrastructure (service registry, circuit breaker, distributed tracing). The architecture emphasizes coroutine-based concurrency via Swoole, allowing seamless switching between server runtimes with minimal code changes. All components follow PSR standards (PSR-7, PSR-14, PSR-17, PSR-3) and are designed to be used independently, enabling developers to pick only what they need. The framework provides full-stack capabilities for building REST APIs, web applications, WebSocket services, gRPC servers, CLI tools, and microservices. It includes connection pooling for database and Redis, a PSR-14 event dispatcher, a standalone validation library, a generic object pool pattern, and a bean container for dependency injection. Examples and skeleton projects (api, web, cli, grpc, websocket) are provided to accelerate development. The codebase is well-tested with PHPUnit and includes continuous integration via GitHub Actions for splitting the monorepo into individual packages. While the framework is actively maintained and demonstrates strong craftsmanship, some modules show signs of technical drift such as deprecated classes (e.g., FileSystemApplicationContext, legacy cache handlers), reliance on specific Swoole versions, and copied Composer utilities that may diverge over time. The documentation is primarily in Chinese, and the Go counterpart (mix-go/mix) may split community attention.

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
cakephp/cakephp ★ 8788 3359 APPLICATION

CakePHP 5.x is a full-stack PHP web framework providing an MVC architecture, an ORM with behaviors and associations, a database abstraction layer supporting multiple drivers (MySQL, Postgres, SQLite, SQL Server), a PSR-7 compliant HTTP layer with middleware, a console/CLI framework, caching, internationalization, validation, and a comprehensive test suite. The architecture is highly modular, organized into distinct packages (Container, ORM, Database, Http, Console, etc.) that communicate via interfaces, events, and dependency injection. The codebase demonstrates exceptional craftsmanship in several areas: a composable collection pipeline using iterators (Filter, MapReduce, Tree), a robust and extensible database type system, a clean visitor-pattern-based debug output system, and a fluent filesystem traversal API. These components are self-contained and highly reusable. However, the codebase has a critical technical drift issue: it relies on a non-standard PHP syntax (e.g., `declare(strict_types=1)`, `use` for traits, `fn` closures, `match` expressions) that requires a transpiler. This creates a significant barrier to contribution, standard tooling compatibility, and long-term maintainability within the PHP ecosystem. Despite this, the underlying architecture and reusable components are of high quality.

RATING: 7.4/10 MAINT: active DRIFT: high
▸ 5 reusable components found
yiisoft/yii ★ 4823 2208 APPLICATION

This is the original Yii framework (version 1.x), a high-performance component-based PHP web framework. The codebase implements a full MVC architecture with ActiveRecord ORM, caching system, internationalization, input validation, logging, and a code generation tool (Gii). It is designed for both web and console applications, with multiple demo applications (blog, hangman, phonebook) showcasing its capabilities. The framework is built around a component/behavior/event system that allows extensibility. However, the code is end-of-life (EOL) as stated in the README, receiving only security and PHP 7/8 compatibility fixes. The codebase shows its age: it uses PHP 5.2-era patterns (no namespaces, var declarations, no type hints), bundles several outdated third-party libraries (HTMLPurifier, Text_Highlighter, Text_Diff), and has a massive collection of auto-generated i18n locale data files. Despite these drawbacks, the core architecture is well-structured and demonstrates solid engineering from its era. It is not recommended for new projects but can serve as a reference for legacy maintenance or for studying the evolution of PHP frameworks.

RATING: 6.7/10 MAINT: stale DRIFT: high
▸ 3 reusable components found
fastadminnet/fastadmin ★ 1926 607 APPLICATION

FastAdmin is a PHP-based rapid admin panel generator built on the ThinkPHP framework and Bootstrap/AdminLTE frontend. It provides a complete backend management system with Role-Based Access Control (RBAC), automatic CRUD code generation from database tables, a plugin/addon ecosystem, file upload with chunking support, API documentation generation from annotations, and multi-language capabilities. The architecture follows a monolithic MVC pattern with separate admin, API, and frontend modules, all sharing a common library layer. While functionally comprehensive and widely used (1926 stars, 607 forks), the codebase exhibits significant technical debt: uses outdated frontend frameworks (Bootstrap 3, AdminLTE 2.3.7, jQuery 3.7.1 with hacks), relies on weak password hashing (md5), depends on deprecated PHP extensions (mcrypt), and contains deeply coupled ThinkPHP-specific components. No unit tests are present in the file tree. The project appears to be in maintenance mode with low recent commit activity and open issues. It serves as a practical but dated example of an admin panel framework.

RATING: 4.8/10 MAINT: stale DRIFT: high
▸ 4 reusable components found
── end of results ──
$ submit: