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

ActiveLibrary

xentixar/xen-php
================

v1.0.0(2y ago)119MIT

Since Dec 26Compare

[ Source](https://github.com/xentixar/xen-php)[ Packagist](https://packagist.org/packages/xentixar/xen-php)[ RSS](/packages/xentixar-xen-php/feed)WikiDiscussions Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Starter Template
====================

[](#php-starter-template)

This is a simple starter template for PHP projects. It provides a basic directory structure and configuration files to help you kickstart your PHP projects.

Features
--------

[](#features)

- Directory structure for organized development.
- Autoloading setup for efficient class loading.
- Easy pagination.
- Easy validation.

Getting Started
---------------

[](#getting-started)

1. **Clone the Repository:**

```
composer create-project xentixar/xen-php your_project_name
```

2. **Navigate to the Project Directory:**

```
cd your_project_name
```

3. **Create a .env file:**

```
cp .env.example .env
```

4. **Navigate to the .env file and configure database**
5. **Navigate to the .env file and replace the 'APP\_URI' value to your actual directory**
6. **Navigate to the .htaccess file and replace the 'RewriteBase' value to your actual directory**
7. **Run the project:**

Start server and open browser and paste the following url :

```
localhost/your_directory
```

This should display a index.php page of src directory.

Directory Structure
-------------------

[](#directory-structure)

your\_project\_name/
│
├── config/
| └── config.php
│ └── app.php
│ └── database.php
│ └── environment.php
│ └── pagination.php
│ └── rule.php
│ └── validation.php
│
├── public/
│ └── css
│ └── images
│ └── js
│
├── src/
│ └── index.php
│
├── vendor/
| └── composer
│ └── autoload.php
|
├── .env
├── .env.example
├── .gitignore
├── .htaccess
└── README.md

- **config/:** Directory for the php configuration files.
- **public/:** Directory for your assets.
- **src/:** Directory for your PHP source files.
- **vendor/:** Autoload files and composer dependencies if needed.
- **.env.example:** Environment example file.
- **.gitignore:** Git ignore file to exclude certain files/directories.
- **.htaccess:** Htaccess file to redirect all requests to src directory.
- **README.md:** Project documentation file.

Usage
-----

[](#usage)

1. **Add Your Code:**

    Add your PHP code files inside the `src/` directory.
2. **Don't forget to include autoload.php file of vendor directory**
3. **To use pagination refer to the following link:**[Easy Pagination in PHP](https://github.com/xentixar/easy_pagination_in_php)
4. **To use validation refer to the following link:**[Easy Form Validation in PHP](https://github.com/xentixar/easy_php_form_validation)
5. **Start Coding:**

    Start building your PHP project!

Contributing
------------

[](#contributing)

1. Fork the repository.
2. Create a new branch: `git checkout -b feature-name`.
3. Commit your changes: `git commit -m 'Add new feature'`.
4. Push to the branch: `git push origin feature-name`.
5. Submit a pull request.

License
-------

[](#license)

This project is licensed under the [MIT License](LICENSE). Feel free to use and modify it according to your needs.

Happy coding!

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

920d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/152050438?v=4)[xentixar](/maintainers/xentixar)[@xentixar](https://github.com/xentixar)

### Embed Badge

![Health badge](/badges/xentixar-xen-php/health.svg)

```
[![Health](https://phpackages.com/badges/xentixar-xen-php/health.svg)](https://phpackages.com/packages/xentixar-xen-php)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
