Download the PHP package unifiedcodes/arbor without Composer
On this page you can find all versions of the php package unifiedcodes/arbor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download unifiedcodes/arbor
More information about unifiedcodes/arbor
Files in unifiedcodes/arbor
Download unifiedcodes/arbor
More information about unifiedcodes/arbor
Files in unifiedcodes/arbor
Vendor unifiedcodes
Package arbor
Short Description A modular PHP micro-framework for fast, modern application development.
License Apache-2.0
Homepage https://github.com/unifiedcodes/arbor
Package arbor
Short Description A modular PHP micro-framework for fast, modern application development.
License Apache-2.0
Homepage https://github.com/unifiedcodes/arbor
Please rate this library. Is it a good library?
Informations about the package arbor
# Arbor
_A modular yet minimal PHP framework for fast, modern application development._
🌐 [Website](https://unifiedcodes.com/arbor) -
📖 [Docs](https://unifiedcodes.com/arbor/docs) -
💡 [Examples](https://unifiedcodes.com/arbor/examples) -
👤 [About Author](https://unifiedcodes.com/arbor/author)
Table of Contents
- Introduction
- Installation
- Usage
- Features
- Bootstrap & Environment Handling
- Dependency Injection & Container
- Configuration System
- Service Contracts
- HTTP Lifecycle
- Fragment System
- Routing System
- Middleware Pipeline
- File Uploads
- View & Template System
- Flash Messaging System
- Filtering & Pipeline System
- Validation System
- Helpers
- Autoloader (legacy)
- Database Layer & ORM
- Exception Handling
- Session Management
- Facade System
- Contributing
- Support
- License
Introduction
Arbor is a lightweight, highly modular PHP framework designed to give you full control over HTTP routing, middleware, dependency injection, configuration and more, while remaining fast and easy to extend.
Installation
Clone the repository
Or use composer
Usage
Point your web server document root to the public/ directory.
Features
Bootstrap & Environment Handling
- Centralized entry point via
Arbor\bootstrap\App - Fluent API to configure app, load environment-specific configs, and boot services
- Isolated app modules (e.g.,
admin/,web/) with independent routes, configs, uploads, providers - URL resolution and environment-aware bootstrapping
- Configuration scope from globals defaults to app specific to environment specific.
Dependency Injection & Container
- Fast and flexible DI container with
ServiceContainer - Attribute injection supported via
ConfigValueattribute - Provider system for lazy-loaded services with
ProvidersandRegistry - Service resolution with
ResolverandServiceBond - Contextual resolution support
Configuration System
- Environment-aware config loading from PHP files via
Configurator - Supports app-specific overrides and merged configs
- Attribute-based configuration injection
Service Contracts
- All critical services (HTTP, Router, Container, etc.) are abstracted with interfaces
- Easy to swap implementations or mock in testing
- Comprehensive contract system covering containers, handlers, HTTP, metadata, sessions, and validation
HTTP Lifecycle
- Fully-featured HTTP stack inspired by PSR standards
Request,ServerRequest,Response,UploadedFile,Streams,Cookies,Headers- RequestContext, RequestStack, and SubKernel support for advanced routing scenarios
- HTTP client for external API communication
- Response factory for streamlined response creation
Fragment System
- Fragment engine for internally calling Controllers with or without a parent HTTP request context
Routing System
- Efficient trie-based router for dynamic routes
- Route groups, attributes, error routing, and sub-request handling
- URL building and route method management
- Advanced route dispatching and metadata handling
Middleware Pipeline
- General-purpose pipeline class
- Used in HTTP kernel and route dispatcher for global and route-specific middlewares
- Extensible and reusable for other application pipelines
File Uploads
- Secure file uploader.
- Pluggable processor system per file type (e.g.,
ImageProcessor) - Contract-based file processing interface
View & Template System
- Comprehensive View module
- Templates remain simple
.phpfiles, staying true to Arbor's minimal‑framework philosophy - Supports both dumb components (simple includes) and dynamic controller-rendered components
Flash Messaging System
- Complete flash messaging system with
Flasher,Message, andViewcomponents - Session-based message persistence across requests
- Flexible message formatting and display
Filtering & Pipeline System
- Advanced filtering system with
Filters,Registry, andStageList - Contract-based stage interfaces for extensible filtering
- Multi-stage filtering pipeline support
Validation System
- Comprehensive validation framework with:
ValidatorandValidatorFactoryfor validation orchestrationDefinitionandParserfor validation rule definitionEvaluatorfor rule executionErrorsFormatterfor user-friendly error messagesRuleListandRegistryfor rule management
- Contract-based rule interface for custom validation rules
- Detailed validation exception handling
Helpers
- Auto-loaded utility functions to ease development
- URL helpers and common utility functions
Autoloader (legacy, to be use only when composer is not used)
- PSR-compliant autoloader
- Supports multiple root directories
- Integrated with bootstrap system
Database Layer & ORM
-
Essential ORM Implementation:
BaseModelandModelclasses for Active Record patternModelQueryfor eloquent-style query buildingAttributesTraitfor model attribute managementPivotmodel for many-to-many relationships
-
Relationship Support:
HasOne- One-to-one relationshipsHasMany- One-to-many relationshipsBelongsTo- Inverse one-to-many relationshipsBelongsToMany- Many-to-many relationshipsMorphOne- Polymorphic one-to-one relationshipsMorphMany- Polymorphic one-to-many relationshipsMorphToMany- Polymorphic many-to-many relationships
-
Query System:
- SQL-dialect agnostic query builder
Grammar&Compilerfor MySQL (PostgreSQL & SQLite support coming soon)- Safe value bindings with
PlaceholderParser - Connection pool and transformer pipeline
- Database resolver for multiple connection management
Exception Handling
- Central exception handler
- Validation-specific exception handling
- Graceful error output and formatting
Session Management
- Full session handling with
Sessionclass - Contract-based session interface for custom implementations
- Integrated with flash messaging and authentication systems
Facade System
- facades for major components:
Config- Configuration accessContainer- Dependency injection containerDB- Database operationsRoute- Routing operationsSession- Session managementFlash- Flash messaging
- Simplified static access to framework services
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add awesome feature') - Push to the branch (
git push origin feature/YourFeature) - Open a Pull Request at https://github.com/unifiedcodes/arbor
Bug reports and improvements are welcome via GitHub Issues
Support
- Email - [email protected]
- WhatsApp - +91 75 808 908 75
License
Arbor is licensed under the Apache License 2.0.
All versions of arbor with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package unifiedcodes/arbor contains the following files
Loading the files please wait ...