All Projects → SerafimArts → real-mvc-app

SerafimArts / real-mvc-app

Licence: WTFPL license
This is an example of real MVC application written on PHP

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Real MVC

This is an example of why MVC on the web is so bad. This is a real MVC application written in PHP according to all the precepts of the Xerox "uncles" =)))

The result looks something like this:

Installation

  • cp .env.example .env
  • composer install

Run

  • php app.php
  • cd public && php -S 0.0.0.0:80

Open in browser http://localhost and enjoy!

All application code located in app/.

Примечание

If you change the server socket port in the .env file, then rebuilding an assets is required:

  • npm run build

License

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2020 Nesmeyanov Kirill <[email protected]>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].