PHPackages                             xeno-php/xeno-php - 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. xeno-php/xeno-php

ActiveProject[Framework](/categories/framework)

xeno-php/xeno-php
=================

Xenophp is a lightweight PHP framework with Routing

v0.0.2(8mo ago)22MITPHP

Since Sep 2Pushed 8mo agoCompare

[ Source](https://github.com/CodeWithSushil/xenophp)[ Packagist](https://packagist.org/packages/xeno-php/xeno-php)[ RSS](/packages/xeno-php-xeno-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Xenophp Framework
=================

[](#xenophp-framework)

Xenophp is a lightweight PHP framework designed to provide developers with a routing system and MVC pattern for building web applications. It aims to simplify the development process and provide a structured approach to managing projects in core PHP.

### Installation

[](#installation)

```
composer create-project xeno-php/xeno-php
```

Features
--------

[](#features)

### 1. Routing System

[](#1-routing-system)

Xenophp provides a flexible and powerful routing system that allows you to define routes for your web application. Here's an example of how you can define a route:

```
Route::get('login', 'LoginController', 'index', [Guest::class]);

// dynamic urls
Route::get('post/{id}','PostController','index');
Route::get('post/{id}/comment/{comment_id}','PostController','comment');

// PostController.php
