A starter project for creating websites.
- Clone this repository, or download the zip file and extract into root folder of your project.
 - Open 
config.phpand make necessary edits. - Open 
.htaccessand make necessary edits. - All done!
 
Most of your edits should be inside /public folder. You can create templates for different pages of your website inside /public/templates folder. All custom php code( functions, classes, etc ) should ideally go inside /public/inc folder. All css, javascript, images etc should go inside /public/assets folder and so on.
Create a file public/templates/service.php and that gets mapped to yourdomain.com/service/ automatically.
Create a file public/templates/gallery/photos/album1.php and that get mapped to yourdomain.com/gallery/photos/album1/.
Many functions for sanitization, validation, etc, are available. Most of these have been copied from WordPress core, with minimal modifications as and when needed.
A working example contact form with jQueryForm, phpmailer etc.
It uses tailwindcss , mainly because I don't like writing CSS. You can use good old vanilla css or something else.
If however, you wish to continue using tailwind:
- The file 
public/assets/css/src/style.cssis the source file the output of which is written intopublic/assets/css/style.css - To compile the source and generate output, browse to the root folder of the project on terminal and run the following:
 
npx tailwindcss -i ./public/assets/css/src/style.css -o ./public/assets/css/style.css --minify