feat(other): add initial web entry structure#2
Merged
Conversation
- Create web/ folder - Add index.php as HTTP entry point - Include favicon.ico and robots.txt - Add .htaccess for Apache configuration - Add web.config for IIS configuration This sets up the basic web entry scaffold for new projects using Skeleton.
3 tasks
Add a multi-size favicon.ico to the web folder for browser and OS compatibility. - Includes all sizes in a single .ico container. - Ensures tabs, bookmarks, and desktop shortcuts display the correct icon. - Minimal setup for Skeleton repo HTML UI.
- Add a basic `robots.txt` file to define crawling rules for web crawlers. - Includes placeholders for metadata such as author, copyright, and license. - Default rule allows all user agents to crawl the site. - Part of setting up core web entry structure for the Skeleton framework.
- Updated the project description to align with the FireHub Project ecosystem. - Removed hardcoded GIT version identifier for dynamic updates. - Minor adjustments to comments for better documentation consistency.
- Changed copyright text to "The FireHub Project - All rights reserved" for better alignment with project branding. - Updated license URL format for improved readability. - Minor refinements in comments for clarity and accurate documentation.
Unified `indent_size` across all `*.editorconfig` files by removing redundant per-filetype overrides. Set the default `indent_size` to 2 spaces globally while retaining 4 spaces for PHP files. This reduces duplication and ensures consistent code formatting rules across all referenced repositories. Removed unnecessary `indent_size` declarations for specific file types (e.g., HTML, CSS, JS) and maintained essential formatting attributes like `trim_trailing_whitespace` and `max_line_length` where relevant. This change streamlines configuration management and promotes centralized control of indentation standards."
- Introduce `.htaccess` for Apache to enable URL rewriting, specify default documents, and handle `HTTP_AUTHORIZATION` headers. - Add `web.config` for IIS to configure URL rewriting, default document handling, and disable directory browsing. - Both files include comments with metadata such as author, copyright, and license details. - This update enhances the Skeleton project's ability to handle cross-server configurations, promoting out-of-the-box compatibility for diverse hosting environments.
- Introduce `index.php` in the `web` folder as the main entry point for all incoming HTTP requests. - Includes project metadata such as author, copyright, license details, and PHP version constraint (8.5). - Registers the Composer autoloader to enable dynamic class loading for the application structure. - Enhances the `Skeleton` framework's web entry structure by linking application logic to web server configurations. - Part of the ongoing setup of the FireHub Project's core ecosystem.
- Add a new section for v0.1.0 detailing newly added features and changes. - Document the inclusion of `favicon.ico`, `robots.txt`, server configuration files (`.htaccess` and `web.config`), and `index.php` as the front controller. - Include references to related issues, pull requests, and commit SHA links for improved traceability. - Ensure alignment with the Keep a Changelog format and project standard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💢 Features / Enhancements Pull Request
Related Issue
Closes [Feature]: Add initial web entry structure #1
Description
web/folder with basic HTTP entry point and essential web files.Implementation Details
web/folderindex.phpas HTTP entry pointfavicon.icoandrobots.txt.htaccessfor Apache configurationweb.configfor IIS configurationTesting
Feature implemented as per requirementsManual testing performedUnit / Integration tests addedTest coverage updatedDocumentation
Checklist
Risks / Impact
Notes