majframe/majframe

PHP MVC framework.

v0.0.4 2020-05-01 13:16 UTC

README

Majframe

Packagist Version PHP from Packagist Packagist Libraries.io dependency status for GitHub repo GitHub issues GitHub closed issues GitHub repo size Packagist

Majframe is a php7.4 MVC framework. It uses:

  • Dependency Injection
  • Routing annotations
  • Doctrine 2 ORM

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

The best way to install Web Project is using Composer.

composer create-project majframe/majframe

Make directories temp/ and log/ writable.

Web Server Setup

The simplest way to get started is to start the built-in PHP server in the root directory of your project:

php -S localhost:8000 -t www

Then visit http://localhost:8000 in your browser.

Running the tests

We use Codeception for testing. Running the tests is really simple. You just run codecept or codecept-steps script from composer.

Requirements

  • Majframe requires PHP 7.4

Code style

  • PSR-4
  • 4 spaces instead of tab
  • single class in every file

Authors

License

This project is licensed under the GPL v3.0 License - see the LICENSE.md file for details