Skip to content

A boilerplate for making a website using php. Features PHP includes to make updating your site much easier

Notifications You must be signed in to change notification settings

angus-boilerplates/Rocket-PHP-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket PHP Boilerplate 🚀

A boilerplate for making a website using php. Features a config file to setup global variables such as..

  • Current Page
  • Navigation page
  • Canonical Tags
  • Page Title
  • Page Description and a responsive navigation bar, all pages built with modular PHP includes, such as...
  • navbar.php: The navigation bar
  • footer.php: The footer
  • head-tags.php: The HTML meta data tags this template can easily be modified to create a responsive, efficient PHP website.

Htaccess file

The template comes with a .htaccess file that will automatically hide the .php extension from the URL, it will also redirect 404 and 403 errors to the following files...

  • invalid404.php: The page could not be found
  • forbidden403: You do not have permission to access this page

Getting Started

Ensure you have either a web server with PHP installed, or a working LAMP stack such as XAMPP. Place the contents of this repository in your "HTDOCS" folder or setup an appropriate virtual host and place the contents of this repository wherever you choose. Restart Apache and open index.php to view the home page.

Prerequisites

What you will need...

  • Web Server or LAMP Stack (XAMPP)
  • PHP installed

Installing

How to download and setup the template

Navigate to your "HTDOCS" folder on your web server and clear the contents, clone this repository, (note the . at the end ensures the enclosing folder is not cloned)

git clone https://github.com/angusgoody/Rocket-PHP-Boilerplate.git .

Authors

About

A boilerplate for making a website using php. Features PHP includes to make updating your site much easier

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published