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

ActiveFramework[Framework](/categories/framework)

akeren/php-codeboot
===================

A PHP-mini-framework that provides a complete reusable codes

v1.0.0(5y ago)762GPL-3.0PHPPHP &gt;=7.1

Since Aug 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/akeren/php-codeboot)[ Packagist](https://packagist.org/packages/akeren/php-codeboot)[ Docs](https://github.com/akeren/php-codeboot)[ RSS](/packages/akeren-php-codeboot/feed)WikiDiscussions master Synced 1mo ago

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

PHP-Codeboot ✨
==============

[](#php-codeboot-sparkles)

PHP-Codeboot is obtainable, robust, and provides a set of scalable utilities that are required for large and optimal applications with a simple and workable design pattern using **PHP Object Oriented Paradigm and Singleton design pattern**.

Server Requirements ✅
---------------------

[](#server-requirements-white_check_mark)

> PHP version ^7.1.3. So, if you have been using PHP version less than that, kindly upgrade before using the project. PDO extension must be extensively enabled.

Usage
-----

[](#usage)

```

	use App\Models\DB;
	use App\Controller\Input;
	use App\Helpers\Validate;
	use App\Helpers\Hash;
	use App\Helpers\Redirect as Direct;

	require_once './src/core/bootstrap.php';

	/**
	 * Using the generic query method to get records
	 */
		$users = DB::getInstance()->query(
		    "SELECT * FROM users WHERE username = ? OR username = ?",
		    array('kater', 'fabian')
		);

	/**
	 * How to check for errors
	 */
		if ($users->error()) {
		    echo 'No user!';
		} else {
		    foreach ($users->results() as $user) {
		        pretty($user);
		    }
		}

	/**
	 * Getting an individual record from the DB
	 */

		$user = DB::getInstance()->get('users', array('username', '=', 'kater'));
		pretty($user->results());

	/**
	 * Using the validation class to validate the user's
	 * input data
	 */
		$validate = new Validate();
		$validation = $validate->check($_POST, array(
			'username' => array(
				'required' => true,
				'min' => 2,
				'max' => 20,
				'unique' => 'users'
			),

			'password' => array(
				'required' =>  true,
				'min' => 6
			),

			'confirm_password' => array(
				'required' => true,
				'min' => 6,
				'matches' => 'password'
			),

			'full_name' => array(
				'required' => true,
				'min' => 2,
				'max' => 50
			)
		));

	/**
	 * Insert data into the database
	 *
	*/
		$createUser = DB::getInstance()->insert('users', array(
			'username' => Input::get('username'),
			'password' => Hash::create(Input::get('password')),
			'name' => Input::get('full_name'),
			'joined' => date('Y-m-d H:i:s'),
			'role_id' => 1
		));

	/**
	 * Update user's data based upon the provided userID
	 *
	*/
		$UpdateUser = DB::getInstance()->update('users', '2', array(
			'name' => Input::get('name')
		));

	/**
	 * Delete user's data based upon the provided userID
	 *
	*/
		$UpdateUser = DB::getInstance()->delete('users', array(
			'user_id', '=', '1'
		));

	/**
	 * Redirect a user
	 *
	*/
		Direct::to('index');
```

Note
----

[](#note)

To get more insight into the work and how useful it requires you to play around with the Login and registration system that has been built using the **PHP-codeboot**. It will guide you on how to make extensive use of the min-framework and some helpers like flash messages, Cross site request forgery (CSRF), remember me, and et al to build your own application.

You find the test database in the [📂db](https://github.com/akeren/php-codeboot/tree/master/db)

Contributing 💻
==============

[](#contributing-computer)

You can fork the repository and send a pull request or reach out easily to me via twitter 👉 [Kater Akeren](https://twitter.com/katerakeren). If you discover a security vulnerability within **PHP-Codeboot**, please 🙏 create an issue. All security vulnerabilities will be promptly addressed and appreciated.

License
=======

[](#license)

**PHP-Codeboot** is an open-source curve for lovers ❤️ of optimal and reusable codes. This project work is built and used with `GPL.3.0` license. You are free to integrate the codes to your application to build optimal, sustainable, and help many seasoned young and upcoming developers to write optimal codes and built real-life applications.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

2113d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b70aa6d6caf69eee00529840ad0bb710f3deb468bca5d9b04662d4d6b7e4ba8?d=identicon)[akeren](/maintainers/akeren)

---

Top Contributors

[![akeren](https://avatars.githubusercontent.com/u/39645910?v=4)](https://github.com/akeren "akeren (5 commits)")

### Embed Badge

![Health badge](/badges/akeren-php-codeboot/health.svg)

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[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)

PHPackages © 2026

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