Skip to content

Lightweight MVC framework using PHP. Supports Object Relational Mapping (ORM) for mysql database.

Notifications You must be signed in to change notification settings

mail4hafij/phpwebpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpwebpad (updated to php version 8)

phpwebpad is a very lightweight MVC driven framework for web development. My idea was to build this framework for my personal use so that I have all the things that I need without the fancy complexities I find in other frameworks. I think, it is worth sharing this project.

phpwebpad supports all the basic features that other PHP framewoks have -

  • MVC
  • Routing actions based on regular expression
  • Actions authorization
  • JSON actions
  • Redirects
  • Action logging

It supports ORM (Object Releational Mapping) with MySql. The ORM has a lot of cool features -

  • Tables are created and altered on the fly
  • On code foreign key relationships
  • Cascade delete
  • Truncate tables without loosing auto increament index
  • Database transactions

It is easy to integrate different testing framworks such as phpunit. All the tests are in the 'test' folder. Create a database phpwebpad_test. Open a terminal in the root project folder and run

composer install
./vendor/bin/phpunit --testdox ./test/TimeMachineTest.php

It gives all the basic features that you may expect from a server side MVC framework. You can learn it within an hour. Visit phpwebpad.hafij.com

About

Lightweight MVC framework using PHP. Supports Object Relational Mapping (ORM) for mysql database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published