A lightweight php framework with MVC Architecture.
MixiPHP is created for using with lightweight projects or even with school projects and is not intended to be used on a large scale projects.
MixiPHP it's strongly inspired by Laravel and therefore it can be a good starting point to learn how to use it, otherwise it will be easy for you to use.
MixiPHP works with the next dependencies:
Docker Image | Version |
---|---|
mariadb | latest |
ldcmleo1360/mixiphp | latest |
phpmyadmin | latest |
MixiPHP use common mariadb and phpmyadmin for database, but use a custom httpd image and it can be found on docker hub.
First make sure you have installed Docker with docker-compose.
Clone this repository to your system with:
git clone https://github.com/ldcmleo/mixiphp.git
It create a new folder called mixiphp
then go to:
cd mixiphp/docker
Inside mixiphp/docker
folder can be found file compose.yml
, now edit it and make sure all directions are pointed to the specific folder that you installed the project:
volumes:
- "/YOUR/FOLDER/TO/mixiphp/public:/var/www/html"
- "/YOUR/FOLDER/TO/mixiphp/core:/var/www/mixi/core"
- "/YOUR/FOLDER/TO/mixiphp/app:/var/www/mixi/app"
- "/YOUR/FOLDER/TO/mixiphp/config:/var/www/mixi/config"
- "/YOUR/FOLDER/TO/mixiphp/routes:/var/www/mixi/routes"
now you just need to run:
docker-compose up -d