PHPackages                             aula72/malaika - 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. aula72/malaika

ActiveProject[Framework](/categories/framework)

aula72/malaika
==============

Create any CRUD in seconds, this lightweight framework focuses on fast delievery of robust and reliable APIs. In software development security is always a base required this framework provides basic security with a room for improvement.

v0.1.3(1y ago)06MITPHP

Since Feb 22Pushed 1y ago1 watchersCompare

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

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

Quick PHP RESTful Framework
===========================

[](#quick-php-restful-framework)

Overview
--------

[](#overview)

This is a lightweight PHP RESTful framework designed to simplify API development. It follows MVC principles, provides easy routing, and supports middleware for enhanced security and flexibility.

Features
--------

[](#features)

- Simple and clean routing
- JSON response handling
- Error handling and logging
- Database integration using PDO
- Authentication support (session-based)
- CORS support

Supported Database systems
--------------------------

[](#supported-database-systems)

- MySQL
- Postgres
- MongoDB
- Oracle

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

[](#installation)

### Manual Installation

[](#manual-installation)

1. Clone the repository: ```
    git clone https://github.com/Aula72/wu_php_api_simple_framework.git
    ```

    or `composer create-project aula72/malaika`
2. Navigate to the project directory: ```
    cd /path/to/files/clone
    ```
3. Install dependencies: ```
    composer install
    ```

Usage
-----

[](#usage)

Configuration
-------------

[](#configuration)

Rename `.env.example` to `.env` for database and environment settings. Edit the `.env` file for configurations including`DB_TYPE` to choose a database type you're are intending to use forexample `DB_TYPE=postgres` for Postgres, the default database system is MySQL; set in `.env` the database `DBNAME` and the user password `DBPASSW` and other additionals database connection settings.

Create tables in your database.

### Running the Application

[](#running-the-application)

Start a development server:

```
php -S localhost:8000
```

Create your quick CRUD
----------------------

[](#create-your-quick-crud)

Visit `http://localhost:8000/auto-crud.php`

A file name `v1.php` will be created containing all the necessary CRUD operations for your table.

Edit the `index.php` add `include_once "v1.php"` just be the line that has `method_caller()`.

Now you can do CRUD on any table in your database by using the following endpoints

- `GET /`
- `GET /?=67`
- `GET /?=67&&=90`
- `POST /`
- `PUT /?=67`
- `DELETE /?=67`

Forexample if we have a database that has tables/models such as `products`, `categories` and `product_categories` then our endpoints will be as follows

- `GET /products`
- `GET /products?id=3`
- `POST /products`
- `PUT /products?id=2`
- `DELETE /products?id=5`
- so forth

If the table `products` has columns like `id`, `name`, `category_id`, `unit_price` and `quantity` then the post request will be in the following format

`{"name":"Ice Cream", "category_id":3, "unit_price":5.90, "quantity": 89}`

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

[](#contributing)

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

License
-------

[](#license)

This project is licensed under the MIT License.

Contact
-------

[](#contact)

For support, open an issue or contact .

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance50

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

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

Total

3

Last Release

365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eff4dfdb004336166348e2d2b31ff207443b97fb0bbb31e825fb71c21ae33e5d?d=identicon)[Aula72](/maintainers/Aula72)

---

Top Contributors

[![Aula72](https://avatars.githubusercontent.com/u/30939289?v=4)](https://github.com/Aula72 "Aula72 (29 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

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

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

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)[lion/bundle

Lion-framework configuration and initialization package

122.2k1](/packages/lion-bundle)

PHPackages © 2026

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