{"id":22861648,"url":"https://github.com/sushantrahate/php-static-website-boilerplate","last_synced_at":"2025-03-31T08:43:26.196Z","repository":{"id":267247985,"uuid":"900652060","full_name":"sushantrahate/php-static-website-boilerplate","owner":"sushantrahate","description":"A lightweight, static website built with PHP, HTML, CSS, and JavaScript.","archived":false,"fork":false,"pushed_at":"2024-12-19T14:44:10.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T13:18:05.194Z","etag":null,"topics":["boilerplate","htaccess","php","robots-txt","static-site"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sushantrahate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-09T08:11:36.000Z","updated_at":"2024-12-19T14:44:23.000Z","dependencies_parsed_at":"2024-12-09T09:33:04.801Z","dependency_job_id":"2f8751e5-29f8-4439-83e1-4b219c80ea92","html_url":"https://github.com/sushantrahate/php-static-website-boilerplate","commit_stats":null,"previous_names":["sushantrahate/php-static-website-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sushantrahate%2Fphp-static-website-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sushantrahate%2Fphp-static-website-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sushantrahate%2Fphp-static-website-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sushantrahate%2Fphp-static-website-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sushantrahate","download_url":"https://codeload.github.com/sushantrahate/php-static-website-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443492,"owners_count":20778247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","htaccess","php","robots-txt","static-site"],"created_at":"2024-12-13T10:09:59.160Z","updated_at":"2025-03-31T08:43:26.180Z","avatar_url":"https://github.com/sushantrahate.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Static Website Setup\n\nA lightweight, static website built with PHP, HTML, CSS, and JavaScript.\n\n## Features\n\n- Dynamic headers, footers, and navigation included on every page.\n- SEO-friendly clean URLs using `.htaccess`.\n- HTTPS enforcement for security.\n- Restricts access to sensitive files like `config.php`.\n- Includes canonical URLs for better SEO.\n\n## Folder Structure\n\n```\n├── config/                     # Configuration files\n│   └── config.php              # Global constants\n├── includes/                   # Reusable PHP components\n│   ├── header.php              # Common header for all pages\n│   ├── footer.php              # Common footer for all pages\n│   └── navigation.php          # Common navigation menu\n├── about.php                   # About page\n├── contact.php                 # Contact page\n├── index.php                   # Homepage\n├── services/                   # Services Directory\n│   ├── service-details.php/    # Service Details page\n├── assets/                     # Static assets\n│   ├── css/                    # Stylesheets\n│   │   └── style.css           # Main stylesheet\n│   ├── js/                     # JavaScript files\n│   │   └── scripts.js          # Main JavaScript file\n│   └── images/                 # Image files\n├── .htaccess                   # Rewrite rules and security settings\n├── sitemap.xml                 # XML sitemap for SEO\n├── robots.txt                  # Instructions for search engine crawlers\n└── README.md                   # Project documentation\n```\n\n## .htaccess\n\n- Ensures clean URLs like /contact instead of /contact.php.\n- Enforces HTTPS for security.\n- Restricts access to sensitive files.\n\n## robots.txt\n\n- Allow/Disallow Crawling: You can control which parts of your site search engines should or shouldn’t index.\n- Link to Sitemap: Helps search engines find your sitemap for better indexing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsushantrahate%2Fphp-static-website-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsushantrahate%2Fphp-static-website-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsushantrahate%2Fphp-static-website-boilerplate/lists"}