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

v2.0.1(1w ago)228MITCSSPHP ^8.0

Since Feb 14Pushed 4d agoCompare

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

READMEChangelog (10)DependenciesVersions (15)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.
- Amazing Blade like View templating Engine

### Dependencies

[](#dependencies)

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

> Optional Dependencies

3. nodejs (version: 20.0 or greater)
4. npm (version: compatible with nodejs)

### Structure

[](#structure)

```
ownwork
   ├── app
   │   ├── Controller # Your Controllers directory
   │   │   └── UserController.php
   │   └── Model # Your Models directory
   │       └── UserModel.php
   ├── bundle # Files Which run when starting ownwork, like loading dotenv, etc
   │   ├── Bundler.php # This File Bundles your App
   │   ├── Helper.php # Global Helper Functions are defined here
   │   └── Routes.php # Your Routes are defined here
   ├── composer.json
   ├── composer.lock
   ├── node_modules
   ├── package-lock.json
   ├── package.json
   ├── public # This Directory will be exposed to User Side, Static Assets should be placed in it
   │   ├── .htaccess # Config file for Apache web server
   │   ├── build # Will contain build file of Tailwind CSS
   │   ├── index.php # Entry level file, starting point of App
   │   └── styles
   │       └── tailwind.default.css # Compiled CSS file for default page(don't delete this file)
   ├── resources
   │   ├── appviews # Views required by OwnWork like error pages
   │   │   ├── error_layout.php
   │   │   ├── no-info-error.php
   │   │   ├── script
   │   │   │   └── script.js
   │   │   ├── stackTrace-block.php
   │   │   └── styles
   │   │       └── index.css
   │   ├── css
   │   │   └── tailwind.css # Default tailwind source file
   │   ├── template # Default Templates for Component's like controller, view, model
   │   │   ├── Controller.php # Default Controller template
   │   │   ├── Model.php # Default Model template
   │   │   └── View.php # Default View template
   │   ├── views # Your Views directory
   │   └── views.json # Contains mapping of template files to their compiled form
   ├── 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.

> npm installation is appreciated for ease of workflow

```
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 or `composer` run-script

```
composer run dev
# or
# 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
```

- Run the view template transpiler in another terminal

```
php worker transpile
# or
# composer run transpile
```

> if You have npm installed, all this process can be avoided

- Run below command to install dependencies:

```
npm i
```

- After Successful installation message, whenever you want to run server + transpiler + tailwind dev server, run the command:

```
npm run dev
```

### Documentation

[](#documentation)

> Documentation is incomplete

- 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)

### License

[](#license)

Ownwork Project is licensed under MIT License

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance94

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Total

11

Last Release

11d ago

Major Versions

v1.0.8 → v2.0.02026-06-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/61313102?v=4)[dhruv125](/maintainers/dhruv125)[@Dhruv125](https://github.com/Dhruv125)

---

Top Contributors

[![Sanatani-Dhruv](https://avatars.githubusercontent.com/u/181251518?v=4)](https://github.com/Sanatani-Dhruv "Sanatani-Dhruv (160 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/dusk

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

1.9k39.6M298](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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