Skip to content
/ mvc Public

Ein echtes MVC in PHP - Ergebnis sieht minimalistisch aus! Das MVC kann jedoch mehr

Notifications You must be signed in to change notification settings

echo75/mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC in PHP

License: MIT

An application written in PHP using the MVC model.

Accessing the app online

A hosted production version is available at http://mvc.hedman.de/

Setting up locally for development

Note: You could run the app with Docker, if you configure one container for Apache or nginx with PHP, one for MySQL and one for PHPMyAdmin. You have to have Docker and Docker Compose installed locally. If not, refer to the Docker documentation for installation instructions.

Create a .env file in the root directory with contents similar to the .env.example files.

Note: If you clone the repo and run it on xampp or MAMP locally, make sure the root-directory is the public folder, if you want the app to run properly.

Run the testproject.sql on your database, if you want to have some test data to run the app. It creates the database testproject with the table users on your local MySQL-Server.

The app will be available most likely at http://localhost:8000 or http://localhost:8080, depending on your local server configuration.

MIT License

Project: Copyright (c) 2023 Johan Hedman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Ein echtes MVC in PHP - Ergebnis sieht minimalistisch aus! Das MVC kann jedoch mehr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published