majframe / majframe
PHP MVC framework.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 7
Type:project
Requires
- php: ^7.4
Requires (Dev)
- codeception/codeception: ^4.1
- codeception/module-asserts: ^1.0.0
- codeception/module-phpbrowser: ^1.0.0
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-04-21 22:47:33 UTC
README
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
- Ondřej Maxa - ondrej@maxa.expert - http://ondrej.maxa.expert/
License
This project is licensed under the GPL v3.0 License - see the LICENSE.md file for details