Giter Site home page Giter Site logo

oscarrosado / php-mvc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daveh/php-mvc

0.0 0.0 0.0 391 KB

A simple PHP model-view-controller framework, built step-by-step as part of the "Write PHP like a pro: build an MVC framework from scratch" course on Udemy.

Home Page: https://davehollingworth.com/go/phpmvc/

License: MIT License

PHP 91.49% CSS 0.26% Hack 8.26%

php-mvc's Introduction

Welcome to the PHP MVC Framework

This is a simple MVC framework for building web applications in PHP. It's free and open-source.

It was created for the Write PHP Like a Pro: Build an MVC Framework from Scratch course.

That course explains how the framework is put together, building it step-by-step, from scratch. If you've taken the course, then you'll already know how to use it.

If not, please look at the example code in the config and src/App folders for examples of how to use it.

DISCLAIMER

This framework was developed as a teaching example on the aforementioned course. The idea is that by developing this framework on that course, you'll understand how frameworks like Laravel work. No warranty is provided. For more details please see the licence.

Starting an Application using this Framework

  1. First, download the framework, either directly or by cloning the repo.
  2. Configure your web server to have the public folder as the web root.
  3. Make a copy of the .env.example file and call it .env, and enter your database configuration data.
  4. Create routes, controllers, views, models, middleware etc.

Build This Framework From Scratch

Signup for the course here and understand how this framework is built from scratch, putting it all together step by step.

php-mvc's People

Contributors

daveh avatar seasle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.