PHPackages                             alphavel/skeleton - 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. alphavel/skeleton

ActiveProject[Framework](/categories/framework)

alphavel/skeleton
=================

Minimal Alphavel Framework application skeleton - install only what you need

v1.0.0(5mo ago)032MITPHPPHP &gt;=8.4CI passing

Since Nov 14Pushed 5mo agoCompare

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

READMEChangelogDependencies (4)Versions (3)Used By (0)

Alphavel Application Skeleton
=============================

[](#alphavel-application-skeleton)

> Minimal application starter for Alphavel Framework

[![PHP Version](https://camo.githubusercontent.com/9c2f8ad80d34105266a94c4c06234f8ed18c968d3595039c2d9a7becd1e71c8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e342d626c75652e737667)](https://php.net)[![Swoole](https://camo.githubusercontent.com/25f20bd1742b6eabfdd164406a5e6d2ecb8e8c82482ed1ba86009d9268a6f94b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73776f6f6c652d72657175697265642d7265642e737667)](https://www.swoole.co.uk/)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

---

🚀 Performance: Proactive by Default (v1.0.6+)
---------------------------------------------

[](#-performance-proactive-by-default-v106)

**Alphavel delivers 22k req/s out of the box** - no manual tuning required!

### What's Optimized Automatically

[](#whats-optimized-automatically)

✅ **BASE mode** - 29% faster than PROCESS mode
✅ **CPU × 2 workers** - Optimal parallelism
✅ **Infinite max\_request** - No restart overhead
✅ **APCu autoloader** - Cached class locations
✅ **Aggressive OPcache warm-up** - Hot cache from start

**Benchmarks:** 22k req/s (complex routes) | 520k+ req/s (simple routes)

---

⚡ Quick Start
-------------

[](#-quick-start)

### Create New Project

[](#create-new-project)

```
composer create-project alphavel/skeleton my-app
cd my-app
php public/index.php
```

Visit:

### Docker (Recommended for Development)

[](#docker-recommended-for-development)

```
# No Swoole installation required!
docker-compose -f docker-compose.dev.yml up

# Access
curl http://localhost:9999
```

### 🐳 Installing Without PHP/Swoole Locally

[](#-installing-without-phpswoole-locally)

If you don't have PHP or Swoole installed on your machine:

```
# 1. Install project (ignoring platform requirements)
composer create-project alphavel/skeleton my-app --ignore-platform-reqs

# 2. Go to project directory
cd my-app

# 3. Start with Docker (composer install runs inside container automatically)
docker-compose up

# The container will:
# ✅ Detect missing vendor/autoload.php
# ✅ Run composer install automatically
# ✅ Copy any missing skeleton files
# ✅ Start the server

# Access
curl http://localhost:9999
```

**Note:** The Docker entrypoint automatically handles missing dependencies and skeleton files.

⚠️ Composer cache permissions (host)
------------------------------------

[](#️-composer-cache-permissions-host)

During `composer create-project` you may see warnings like:

```
Cannot create cache directory /home/USER/.composer/cache/... or directory is not writable. Proceeding without cache.

```

This is harmless for the project creation itself, but can be confusing. Recommendations:

- Fix permissions for the Composer cache directory on your host:

```
# Replace $USER with your username if needed
mkdir -p "$HOME/.composer/cache"
chown -R "$USER:$USER" "$HOME/.composer"
```

- Or avoid host Composer entirely by using the provided Docker image (recommended):

```
docker-compose -f docker-compose.dev.yml up
```

If you must ignore platform requirements when creating the project (not recommended for production), use:

```
composer create-project alphavel/skeleton my-app --ignore-platform-reqs
```

---

📦 Optional Packages
-------------------

[](#-optional-packages)

```
composer require alphavel/database    # Query Builder + ORM
composer require alphavel/cache       # Redis, File caching
composer require alphavel/validation  # Input validation
composer require alphavel/events      # Event dispatcher
composer require alphavel/logging     # PSR-3 logger
composer require alphavel/support     # Collections, helpers
```

After installing, update `.env` with appropriate connection settings.

---

📁 Project Structure
-------------------

[](#-project-structure)

```
my-app/
├── app/
│   └── Controllers/         # HTTP controllers
├── config/
│   ├── app.php             # App configuration
│   └── swoole.php          # Swoole server config (proactive defaults)
├── public/
│   └── index.php           # Entry point
├── routes/
│   └── api.php             # API routes
├── storage/
│   ├── framework/          # Framework cache
│   └── logs/               # Application logs
├── Dockerfile              # Production image (APCu + OPcache)
└── docker-compose.yml      # Docker orchestration

```

---

📚 Documentation
---------------

[](#-documentation)

**Full documentation**:

- [Getting Started](https://github.com/alphavel/documentation/blob/master/core/getting-started.md)
- [Performance](https://github.com/alphavel/documentation/blob/master/core/performance.md)
- [Deployment](https://github.com/alphavel/documentation/blob/master/deployment/production.md)
- [Configuration](https://github.com/alphavel/documentation/blob/master/core/configuration.md)

---

📄 License
---------

[](#-license)

MIT License

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance70

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

173d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51c953df141d0cfd39946d3e417b2eb3106d96170c62c4c908a6cc0b75352883?d=identicon)[arthur4weber](/maintainers/arthur4weber)

---

Top Contributors

[![arthur2weber](https://avatars.githubusercontent.com/u/9046093?v=4)](https://github.com/arthur2weber "arthur2weber (89 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/alphavel-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/alphavel-skeleton/health.svg)](https://phpackages.com/packages/alphavel-skeleton)
```

###  Alternatives

[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68535.8M592](/packages/nette-bootstrap)

PHPackages © 2026

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