PHPackages                             d3vex/pulsephp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. d3vex/pulsephp

ActiveFramework[Framework](/categories/framework)

d3vex/pulsephp
==============

A ligthweigth framework for a school project

06PHP

Since Feb 25Pushed 2mo agoCompare

[ Source](https://github.com/d3vex/pulsePHP)[ Packagist](https://packagist.org/packages/d3vex/pulsephp)[ RSS](/packages/d3vex-pulsephp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

D3vex\\Pulsephp\\Core
=====================

[](#d3vexpulsephpcore)

A lightweight, zero-complexity PHP framework built from scratch for school projects and simple API development. D3vex\\Pulsephp\\Core provides a clean, attribute-based routing system with built-in IoC container and middleware support.

🎯 Project Context
-----------------

[](#-project-context)

D3vex\\Pulsephp\\Core was created as a response to overly complex frameworks and school project boilerplate. The goal was to build a simple, understandable framework that teaches routing, dependency injection, and middleware concepts without unnecessary complexity.

✨ Features
----------

[](#-features)

- **Attribute-Based Routing** - Define routes using PHP 8 attributes on controller methods
- **IoC Container** - Lightweight dependency injection container with shared/dedicated service management
- **Middleware Support** - Chain middleware at class and method levels for request processing
- **Request/Response Models** - Clean HTTP abstraction with access to query parameters, headers, and request body
- **Automatic Dependency Resolution** - Constructor-based dependency injection with loop detection
- **Default Headers** - Set application-wide default response headers
- **Base URL Configuration** - Easily configure API base path
- **Error Handling** - Built-in HTTP exception handling

⚠️ Known Limitations
--------------------

[](#️-known-limitations)

The following features are **not currently implemented** but may be added in future versions:

- Response cookies (sending cookies in responses)
- File uploads and multipart form handling
- Built-in request validation
- Session management
- ORM/Query builder

These features are not critical for basic school projects but can be implemented as extensions if needed.

🚀 Quick Start
-------------

[](#-quick-start)

### Installation

[](#installation)

1. Clone the repository
2. Ensure PHP 8.0+ is installed
3. No external dependencies required

### Basic Setup

[](#basic-setup)

Create your `public/index.php`:

```
