https://github.com/beardymike/minim1
A simple PHP application, with many handy tools and example pages built in.
https://github.com/beardymike/minim1
beginner-friendly micro-framework mvc-pattern php simple
Last synced: about 1 year ago
JSON representation
A simple PHP application, with many handy tools and example pages built in.
- Host: GitHub
- URL: https://github.com/beardymike/minim1
- Owner: BeardyMike
- Created: 2024-02-01T11:00:47.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2024-06-04T13:16:23.000Z (about 2 years ago)
- Last Synced: 2025-02-22T01:30:32.498Z (over 1 year ago)
- Topics: beginner-friendly, micro-framework, mvc-pattern, php, simple
- Language: PHP
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A clean PHP application, with some helpful diagnostic and setup tools, plenty of example pages, and many handy functions built in.
Ideal for PHP beginners, or someone looking for a clean starter MVC-pattern project.
## Commenting
This project uses the [PHP-FIG](https://www.php-fig.org/) standard for commenting code, and we're try to ensure we show how and why each function is used.
If you find a comment that needs amending, please feel free to submit a pull request to the dev branch. We want MINIM1 comments to be easy to read, helping new users understand why functions work the way they do.
We want MINIM1 to be an easier starting point for PHP beginners who are trying to learn the MVC pattern.
## Installation
Open a terminal and use "composer install", this creates the VENDOR folder with all the dependencies.
### THE PHP APPLICATION WILL NOT WORK UNLESS YOU PERFORM THIS STEP.
------------------------------------------------------------------------
## What's new?
- Simplified installation process, using composer install. Protected view() function in the Controllers with a variable passing on most routes.
```
view('_templates/header.php', [
'meta_title' => 'Homepage',
'meta_description' => 'This the pages meta description',
'meta_canonical' => URL . "home"
]);
```
- AJAX examples on the homepage.
- additional PDO Database templates, for quickly adding additional DBs.
- simple auth framework for sites that need a login function.
- add support for hyphenated URLs, passed form the frontend.