PHPackages                             juneszh/alight-project - 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. juneszh/alight-project

ActiveProject[Framework](/categories/framework)

juneszh/alight-project
======================

Alight Project is a project template with Alight framework.

v1.2.2(1y ago)341MITPHPPHP &gt;=7.4

Since Aug 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/juneszh/alight-project)[ Packagist](https://packagist.org/packages/juneszh/alight-project)[ RSS](/packages/juneszh-alight-project/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (1)Versions (10)Used By (0)

Alight-Project
==============

[](#alight-project)

Alight-Project is a project template with [Alight framework](https://github.com/juneszh/alight), which helps users to quickly build the directory structure of the project and create an admin panel by [Alight-Admin](https://github.com/juneszh/alight-admin), it is very suitable for beginners.

Alight Family
-------------

[](#alight-family)

ProjectDescription[Alight](https://github.com/juneszh/alight)Basic framework built-in routing, database, caching, etc.[Alight-Admin](https://github.com/juneszh/alight-admin)A full admin panel extension based on Alight. No front-end coding required.[Alight-Project](https://github.com/juneszh/alight-project)A template for beginner to easily create web applications by Alight/Alight-Admin.Requirements
------------

[](#requirements)

PHP 7.4+

Usage
-----

[](#usage)

```
$ composer create-project juneszh/alight-project {PROJECT_DIRECTORY}
```

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

[](#directory-structure)

- `app/` *Contains the core code of your application.*
    - `controller/` *Contains controllers that handle requests (MVC pattern).*
    - `job/` *Contains jobs run by the time-based scheduler.*
    - `model/` *Contains models of database (MVC pattern).*
    - `service/` *Contains the business logics.*
    - `view/` *Contains views with page templates (MVC pattern).*
    - `bootstrap.php` *The web bootstraps.*
    - `scheduler.php` *Job scheduler run by CRON.*
- `config/` *Contains all of application's configuration files.*
    - `admin/` *Contains the admin's menu and console configuration.*
    - `route/` *Contains the route's configuration.*
    - `app.php` *Application's configuration.*
    - `job.php` *Job scheduler's configuration.*
- `public/` *Contains the index.php file and assets such as images, JavaScript, and CSS.*
    - `favicon.ico` *Icon for the web application.*
    - `index.php` *Entry point for all requests entering the web application.*
- `storage/` *Contains logs, route caches, file caches, and other files generated by the framework.*
- `vendor/` *Contains composer dependencies.*

Shortcut Namespaces
-------------------

[](#shortcut-namespaces)

The classes in the application are always called from the business code, so we define some shortcut namespaces to improve coding efficiency.

NamespaceDirectory`ctr``app/controller``job``app/job``mod``app/model``svc``app/service`For example:

```
// The route handler points to function 'index' in app/Controllers/Pages.php
Alight\Route::get('/', [\ctr\Pages::class, 'index']);
```

Composer Scripts
----------------

[](#composer-scripts)

The admin panel is not built by default when creating project, you need to do it with follow scripts: (Please make sure the [database has been configured](https://github.com/juneszh/alight#database))

```
$ cd {PROJECT_DIRECTORY}
$ composer require juneszh/alight-admin
$ composer run admin-install
$ composer run admin-download
```

List of scripts:

NameDescription`admin-install`Initialize the runtime environment required by the [Alight-Admin](https://github.com/juneszh/alight-admin).`admin-build`Build the admin panel front-end resources by npm packages. ([Node.js](https://nodejs.org/en/download/) required)`admin-download`Download the admin panel front-end resources from [Alight-Admin releases](https://github.com/juneszh/alight-admin/releases).License
-------

[](#license)

- [MIT license](./LICENSE)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~87 days

Recently: every ~167 days

Total

9

Last Release

724d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34538f0f2a47b75a8f7c2f65c5c9fa23c1849c4d742c49efba92e71e964bdcd7?d=identicon)[Juneszh](/maintainers/Juneszh)

---

Top Contributors

[![juneszh](https://avatars.githubusercontent.com/u/2436252?v=4)](https://github.com/juneszh "juneszh (16 commits)")

---

Tags

admin-panelcrudlight-weightmvcphpphp-frameworkprojecttemplatephpframeworkwhoopspsr-16lightweightrestfulmonologfast-routeJob Schedulersimplecachemedoo

### Embed Badge

![Health badge](/badges/juneszh-alight-project/health.svg)

```
[![Health](https://phpackages.com/badges/juneszh-alight-project/health.svg)](https://phpackages.com/packages/juneszh-alight-project)
```

###  Alternatives

[phalcon/phalcon

Phalcon Framework

2481.6k1](/packages/phalcon-phalcon)[scrawler/router

An Fully Automatic RESTful PHP Router.

562.2k3](/packages/scrawler-router)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

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