PHPackages                             dhruv125/ownwork - 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. dhruv125/ownwork

ActiveProject[Framework](/categories/framework)

dhruv125/ownwork
================

OwnWork - Minimal PHP Framework for an MVC Project

v1.0.4(2mo ago)118MITPHPPHP ^8.0

Since Feb 14Pushed 1mo agoCompare

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

READMEChangelog (5)DependenciesVersions (7)Used By (0)

OwnWork - Minimal framework for an MVC Project
==============================================

[](#ownwork---minimal-framework-for-an-mvc-project)

---

[![Commits](https://camo.githubusercontent.com/8de0e4965c43ff463331b26b219592b9d0309d2bae8ea90016aecc7fdec9a21d/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f636f6d6d6974732f53616e6174616e692d44687275762f6f776e776f726b)](https://camo.githubusercontent.com/8de0e4965c43ff463331b26b219592b9d0309d2bae8ea90016aecc7fdec9a21d/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f636f6d6d6974732f53616e6174616e692d44687275762f6f776e776f726b)[![Last Commit](https://camo.githubusercontent.com/e2de7430d5f086b2a237988ceed866524f054cf91e19833263ab8b707b49098d/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f6c6173742d636f6d6d69742f53616e6174616e692d44687275762f6f776e776f726b)](https://camo.githubusercontent.com/e2de7430d5f086b2a237988ceed866524f054cf91e19833263ab8b707b49098d/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f6c6173742d636f6d6d69742f53616e6174616e692d44687275762f6f776e776f726b)[![Latest Release - Github](https://camo.githubusercontent.com/18a734b44f6029f3b90e08e200b77db31a50ffdbe67b5da2de2017761c9a5972/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f72656c656173652f53616e6174616e692d44687275762f6f776e776f726b)](https://camo.githubusercontent.com/18a734b44f6029f3b90e08e200b77db31a50ffdbe67b5da2de2017761c9a5972/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f72656c656173652f53616e6174616e692d44687275762f6f776e776f726b)[![Packagist Name](https://camo.githubusercontent.com/25038546d4ca7f46261fb75042ff1fed070c155b812457d82deba5d5eb6ac6a2/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f6e616d652f64687275763132352f6f776e776f726b)](https://camo.githubusercontent.com/25038546d4ca7f46261fb75042ff1fed070c155b812457d82deba5d5eb6ac6a2/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f6e616d652f64687275763132352f6f776e776f726b)[![Latest Release - Packagist](https://camo.githubusercontent.com/948cb487db1afc167fc6ce16c6cf7a673ed2cdc2b92e1fdcef223ebbd3e37b84/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f64687275763132352f6f776e776f726b)](https://camo.githubusercontent.com/948cb487db1afc167fc6ce16c6cf7a673ed2cdc2b92e1fdcef223ebbd3e37b84/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f64687275763132352f6f776e776f726b)[![Language](https://camo.githubusercontent.com/24c11a4f9553dce01582c1763fb1def492e868cd1396a16753fd70dba6c947f6/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f7068702f64687275763132352f6f776e776f726b)](https://camo.githubusercontent.com/24c11a4f9553dce01582c1763fb1def492e868cd1396a16753fd70dba6c947f6/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f7068702f64687275763132352f6f776e776f726b)[![Downloads](https://camo.githubusercontent.com/0b08d4f590bfae6f919918fe2e2d441bc59e45e428889e34134986c718264c0b/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f64687275763132352f6f776e776f726b)](https://camo.githubusercontent.com/0b08d4f590bfae6f919918fe2e2d441bc59e45e428889e34134986c718264c0b/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f64687275763132352f6f776e776f726b)[![Dependencies](https://camo.githubusercontent.com/febe48dcf1697c7f541a53473a14dc62d5fe914661489fa71cf0e3732cc545e2/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f646570656e64656e74732f64687275763132352f6f776e776f726b)](https://camo.githubusercontent.com/febe48dcf1697c7f541a53473a14dc62d5fe914661489fa71cf0e3732cc545e2/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f646570656e64656e74732f64687275763132352f6f776e776f726b)[![License](https://camo.githubusercontent.com/c764e7410e0a8162e095ee5a765b0833739d33b098ea86742a59bc654e9787ba/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f6c6963656e73652f53616e6174616e692d44687275762f6f776e776f726b)](https://camo.githubusercontent.com/c764e7410e0a8162e095ee5a765b0833739d33b098ea86742a59bc654e9787ba/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f6c6963656e73652f53616e6174616e692d44687275762f6f776e776f726b)

- Don't go into major dependencies rabbit hole.
- Build your MVC app with PHP.
- Simple Routing.
- Easier View Creation.
- Build a Large Web App with minimal but useful base.

### Dependencies

[](#dependencies)

1. php (version: 8.0 or greater).
2. composer (version: 2.9 or greater).

### Structure

[](#structure)

```
ownwork
   ├── app
   │   ├── Controller # Your Controllers directory
   │   │   └── UserController.php
   │   ├── Helper # This file includes Helper and Support Files which handles important functions like Routing, Viewing
   │   │   ├── AppViews # Views Required by OwnWork like Error Pages
   │   │   │   ├── general-notfound-error.php
   │   │   │   ├── styles
   │   │   │   │   └── index.css
   │   │   │   └── view-notfound-error.php
   │   │   ├── ConsoleHelper.php # Pretty Printing for Console
   │   │   ├── Router
   │   │   │   └── Route.php # This File handles Routing, should not be modified, unless you know what you do.
   │   │   └── Viewer
   │   │       └── View.php # This File handles calling views, should not be modified, unless you know what you do.
   │   └── Model # Your Models directory
   │       └── UserModel.php
   ├── bundle # Files Which run by you in manual manner to handle certain things like env, helper function routes
   │   ├── Bundler.php # This File Bundles your App
   │   ├── Environment # Directory Which Setups your Environment Settings
   │   │   ├── DotEnvironment.php
   │   │   └── Environment.php
   │   ├── HelperFunction.php # Global Helper Functions are defined here
   │   └── Routes.php # Your Routes are defined here
   ├── composer.json
   ├── composer.lock
   ├── public # This Directory will be exposed to User Side, Static Assets should be placed in it
   │   ├── build
   │   ├── index.php # Entry Level File, Starting Point of App
   │   └── styles
   │       └── index.css
   ├── resources
   │   ├── scripts
   │   ├── styles
   │   ├── template
   │   │   ├── Controller.php # Default Controller Template
   │   │   ├── Model.php # Default Model Template
   │   │   └── View.php # Default View Template
   │   └── views # Your Views directory
   │       ├── main.php
   │       └── welcome.php
   ├── vendor # Application Dependecies and autoloader directory
   │   └── autoload.php # Include this to autoload files
   └── worker # Your Command Line Manager
```

### Installation

[](#installation)

1. Make sure your composer version is atleast 2.9 or greater.

```
composer --version
```

2. Run the Composer Command to Create Project

```
composer create-project dhruv125/ownwork

# Or
# composer create-project dhruv125/ownwork ProjectName
# This is will create project in ProjectName Directory
```

3. cd to Project Directory `ownwork` and Run `composer run setup` command.

```
cd ownwork/
composer run setup
```

4. Edit .env file.

```
APP_NAME=Ownwork

DB_NAME=mysql
DB_HOST='127.0.0.1'
DB_USER=root
DB_PASS=
```

> That's it, your OwnWork application is ready to run it's Hello World Program.

### Usage

[](#usage)

1. Run The Server through `worker` script

```
php worker serve
```

- Supposed Output:

```
Starting OwnWork server at port:8000...
[Mon Jan 01 00:00:00 2026] PHP 8.2.XX Development Server (http://localhost:8000) started
```

> Or

Just Run Command

```
composer run dev
```

### Documentation

[](#documentation)

- Go through Documentation of OwnWork [Here!](https://github.com/Sanatani-Dhruv/ownwork-doc)

### Recommended Packages

[](#recommended-packages)

- Since our OwnWork is really minimal Framework, you may require other packages for functionality like Database interactions.
- Recommendations are:
    - `delight-im/db`: For database interaction - [Github Link](https://github.com/delight-im/PHP-DB)
    - `phpunit/phpunit`: For testing - [Github Link](https://github.com/sebastianbergmann/phpunit)
    - `illuminate/support`: For Illuminate Support like in Laravel

### License

[](#license)

Ownwork Project is licensed under MIT License

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance87

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Total

5

Last Release

73d ago

### Community

Maintainers

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

---

Top Contributors

[![Sanatani-Dhruv](https://avatars.githubusercontent.com/u/181251518?v=4)](https://github.com/Sanatani-Dhruv "Sanatani-Dhruv (87 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[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.

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

A simple API extension for DateTime.

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

PHPackages © 2026

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