PHPackages                             huckabuild/huckabuild - 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. huckabuild/huckabuild

ActiveProject[Framework](/categories/framework)

huckabuild/huckabuild
=====================

A modern PHP CMS with SQLite

v0.1.0(1y ago)08MITLattePHP ^8.1

Since Mar 26Pushed 1y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

Huckabuild CMS
==============

[](#huckabuild-cms)

Huckabuild is a modern PHP Content Management System built with SQLite, designed to be lightweight, fast, and developer-friendly.

[![Latest Version on Packagist](https://camo.githubusercontent.com/6de8b18e64b19eb851db31733386ea38ed4fc69b4d7bbe13a92023112781e582/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6875636b616275696c642f6875636b616275696c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/huckabuild/huckabuild)[![Total Downloads](https://camo.githubusercontent.com/61153cc4aa46cd539715a6c38495067fdd373e1ac92fa96c7c7272a1415c168f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6875636b616275696c642f6875636b616275696c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/huckabuild/huckabuild)[![License](https://camo.githubusercontent.com/0cf22ebaa6b1d7ce2ad099ca8fbaac858171737dcd0e69db84b794810dc5fd8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6875636b616275696c642f6875636b616275696c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/huckabuild/huckabuild)

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Project Structure](#project-structure)
- [Development](#development)
- [Contributing](#contributing)

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Composer
- SQLite3
- PHP SQLite extension enabled

Installation
------------

[](#installation)

### Creating a New Project

[](#creating-a-new-project)

You can create a new Huckabuild project using Composer:

```
composer create-project huckabuild/huckabuild my-huckabuild-site
```

### Adding to an Existing Project

[](#adding-to-an-existing-project)

If you want to add Huckabuild to an existing project, you can install it via Composer:

```
composer require huckabuild/huckabuild
```

### Post-Installation Steps

[](#post-installation-steps)

1. Navigate to your project directory:

```
cd my-huckabuild-site
```

2. The installation process will automatically create a `.env` file from `.env.example`. Make sure to review and update the environment variables as needed.
3. Start the development server:

```
composer dev
```

Your Huckabuild site should now be running at `http://localhost:8000`

Quick Start
-----------

[](#quick-start)

### Initial Setup

[](#initial-setup)

After installation, you'll need to:

1. Configure your database settings in `.env`
2. Run database migrations (if any):

```
php huckabuild migrate
```

### Common Commands

[](#common-commands)

- Start development server: `composer dev`
- Create a new page: `php huckabuild make:page`
- Create a new template: `php huckabuild make:template`

> **Note:** Make sure you're running all commands from the root directory of your Huckabuild installation.

Project Structure
-----------------

[](#project-structure)

```
huckabuild/
├── app/                    # Application core files
│   ├── Controllers/       # Request handlers
│   ├── Models/           # Database models
│   └── Middleware/       # Request/Response middleware
├── public/                # Web server root directory
│   └── index.php         # Application entry point
├── resources/             # Frontend resources
│   └── views/            # Latte templates
│       ├── admin/        # Admin panel templates
│       ├── layouts/      # Base layout templates
│       └── pages/        # Public page templates
├── config/               # Configuration files
├── database/             # Database files and migrations
├── storage/              # File uploads and cache
├── tests/                # Test files
├── .env                  # Environment configuration
├── .env.example          # Example environment configuration
└── composer.json         # PHP dependencies and scripts

```

Development
-----------

[](#development)

### Local Development Server

[](#local-development-server)

Start the local development server using:

```
composer dev
```

### Key Directories

[](#key-directories)

- **app/**: Contains the core application code
- **public/**: The only directory that should be publicly accessible
- **resources/**: Contains frontend assets, views, and templates
- **routes/**: Contains all route definitions and URL mappings

### Common Gotchas

[](#common-gotchas)

1. **Permissions**: Ensure the `storage/` directory is writable by your web server
2. **SQLite Database**: By default, the SQLite database file is stored in `database/`. Make sure this directory is writable
3. **Environment Variables**: Always check `.env` file exists and is properly configured
4. **URL Rewriting**: Ensure your web server is configured to handle URL rewriting for clean URLs

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

[](#contributing)

We welcome contributions to Huckabuild! Here's how you can help:

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

### Development Setup for Contributors

[](#development-setup-for-contributors)

1. Clone the repository:

```
git clone https://github.com/sam-huckaby/huckabuild.git
```

2. Install dependencies:

```
composer install
```

3. Copy `.env.example` to `.env`:

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

4. Configure your local environment variables

### Coding Standards

[](#coding-standards)

- Follow PSR-12 coding standards
- Write tests for new features
- Document new features and changes
- Keep pull requests focused on a single feature or fix

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

Support
-------

[](#support)

For bugs and feature requests, please use the [GitHub Issues](https://github.com/sam-huckaby/huckabuild/issues) page.

---

Built with ♥ by Sam Huckaby

---

AI Context
----------

[](#ai-context)

This section provides comprehensive context for AI agents working with Huckabuild.

### Core Architecture

[](#core-architecture)

- Built on PHP 8.1+ with SQLite as the primary database
- Follows MVC architecture with Latte templating
- Uses a CLI-first approach for development and management
- Implements PSR-12 coding standards and modern PHP practices

### Key Components

[](#key-components)

- **Routing**: Handled through the `routes/` directory with a simple, declarative syntax
- **Controllers**: Located in `app/Controllers/`, following RESTful conventions
- **Models**: SQLite-based ORM in `app/Models/` with active record pattern
- **Views**: Latte templates in `resources/views/` with layouts and partials support
- **CLI**: Built-in command system in `huckabuild-cli/` for common operations

### Development Workflow

[](#development-workflow)

- Development server runs on port 8000 by default
- Uses Composer for dependency management
- Environment configuration through `.env` file
- Database migrations handled through CLI commands
- Frontend assets managed through Node.js/npm

### Common Operations

[](#common-operations)

- Page creation: `php huckabuild make:page`
- Template creation: `php huckabuild make:template`
- Database migrations: `php huckabuild migrate`
- Development server: `composer dev`

### Technical Decisions

[](#technical-decisions)

- SQLite chosen for simplicity and zero-config deployment
- Latte templating for secure, flexible view rendering
- CLI-first approach for better developer experience
- No external dependencies beyond PHP core and SQLite

### Project Philosophy

[](#project-philosophy)

- Emphasis on simplicity and developer experience
- Minimal configuration required
- Built for small to medium-sized projects
- Focus on performance and maintainability

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance46

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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 ~1 days

Total

5

Last Release

410d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa9891a58f94546b9fb4d1d1dd28d0d1f0ee7a0b8dbcac2f0fefcfaf27a1f5a5?d=identicon)[sam-huckaby](/maintainers/sam-huckaby)

---

Top Contributors

[![sam-huckaby](https://avatars.githubusercontent.com/u/5497597?v=4)](https://github.com/sam-huckaby "sam-huckaby (30 commits)")

### Embed Badge

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

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

###  Alternatives

[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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