Skip to content

Framyomyim/purge-qlipe

Repository files navigation

PHP Framework - Make for Front End Only!

Open Source Framework PHP for only Front End

It's work by module modules/ is folder to keep others modules How to is enter this command to your cmd php server.php

First you need to see is env

project:
  title: 'Simple Project With Purge Q-Lipe'
  url: 'http:https://localhost:86/PurgeQLipe/'

port: 8080

You should set all datas in this file.

Second you need to see routes.js

[
    {
        "pattern": "/",
        "module": "home.default"
    }
]

This is a basic router you can add it, see example.

[
    {
        "pattern": "/",
        "module": "home.default"
    },
    {
        "pattern": "/page-2",
        "module": "home.default"
    }
]

Yeah, something like this.

Next in your module should be have ...

In your folder shoud be have importance folders are public/ and config/

public/ is for your html file or assets

config/ is for set path css or js it will help you easy! you can see example in modules/home/config/default.json and it work in modules/home/public/default.html

About

Open Source Framework PHP for only Front End

Resources

License

Stars

Watchers

Forks