Skip to content

Commit 0306c6d

Browse files
author
Bugfish
committed
4.10
1 parent 1bdaba3 commit 0306c6d

File tree

159 files changed

+18798
-11695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+18798
-11695
lines changed

.gitattributes

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,42 @@
1414
*.lang text eol=lf
1515
*.txt text eol=lf
1616
*.md text eol=lf
17-
*.bat text eol=lf
17+
*.bat text eol=crlf
1818
*.sh text eol=lf
1919
*.bash text eol=lf
20+
*.pl text eol=lf
21+
*.py text eol=lf
22+
*.json text eol=lf
23+
*.xml text eol=lf
24+
*.yml text eol=lf
25+
*.yaml text eol=lf
2026

2127
# Denote all files that are truly binary and should not be modified.
2228
*.ico binary
2329
*.png binary
2430
*.jpg binary
31+
*.jpeg binary
32+
*.gif binary
33+
*.bmp binary
34+
*.tiff binary
35+
*.tif binary
2536
*.odt binary
2637
*.odf binary
38+
*.pdf binary
39+
*.zip binary
40+
*.tar binary
41+
*.gz binary
42+
*.7z binary
43+
*.rar binary
44+
*.mp3 binary
45+
*.wav binary
46+
*.flac binary
47+
*.mp4 binary
48+
*.mov binary
49+
*.avi binary
50+
*.mkv binary
51+
*.exe binary
52+
*.dll binary
53+
*.woff binary
54+
*.woff2 binary
55+
*.eot binary

.github/CODE_OF_CONDUCT.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
# 🤝 Code of Conduct
22

3-
We’re on a mission to create groundbreaking solutions, pushing the boundaries of technology. By being here, you’re an integral part of that journey.
3+
We’re focused on developing innovative solutions and advancing technology. By being part of this, you contribute to our progress.
44

5-
**Positive Guidelines:**
6-
- Be kind, empathetic, and respectful in all interactions.
7-
- Engage thoughtfully, offering constructive, solution-oriented feedback.
8-
- Foster an environment of collaboration, support, and mutual respect.
5+
Positive guidelines include being kind, empathetic, and respectful in all interactions. It is important to engage thoughtfully and offer constructive, solution-oriented feedback. Fostering an environment of collaboration, support, and mutual respect is essential.
96

10-
**Unacceptable Behavior:**
11-
- Harassment, hate speech, or offensive language.
12-
- Personal attacks, discrimination, or any form of bullying.
13-
- Sharing private or sensitive information without explicit consent.
7+
Unacceptable behaviors include harassment, hate speech, or offensive language. Personal attacks, discrimination, or any form of bullying are not tolerated. Sharing private or sensitive information without explicit consent is strictly prohibited.
148

15-
Let’s collaborate, inspire one another, and build something extraordinary together!
9+
Together, we can partner to achieve common goals by following guidelines designed to promote effective collaboration and positive teamwork.
1610

1711
🐟 Bugfish

.github/CONTRIBUTING.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22

33
I am excited that you're considering contributing to our project! Here are some guidelines to help you get started.
44

5-
## How to Contribute
5+
We primarily accept security fixes and critical patches to maintain project stability and coherence. Feature updates are not accepted to preserve our backend architecture and overall project integrity.
66

7-
1. Fork the repository to create your own copy.
8-
2. Create a new branch for your work (e.g., `feature/my-feature`).
9-
3. Make your changes and ensure they work as expected.
10-
4. Run tests to confirm everything is functioning correctly.
11-
5. Commit your changes with a clear, concise message.
12-
6. Push your branch to your forked repository.
13-
7. Submit a pull request with a detailed description of your changes.
14-
8. Reference any related issues or discussions in your pull request.
7+
Below is an example of how to contribute to this GitHub project. Please follow this guideline and all other contribution rules carefully; otherwise, your request may be denied.
158

16-
## Coding Style
9+
- Fork the repository to create your own copy.
10+
- Create a new branch for your changes (e.g., feature/my-feature).
11+
- Make your changes and verify everything works correctly.
12+
- Commit your changes with clear and concise messages.
13+
- Push your branch to your forked repository.
14+
- Open a pull request to the main repository’s main branch with a detailed description of your changes.
15+
- Reference any related issues or discussions in your pull request.
16+
17+
To ensure your implementation is effective and maintainable by other developers, please follow the code quality guidelines outlined below.
1718

1819
- Keep your code clean and well-organized.
1920
- Add comments to explain complex logic or functions.
@@ -23,8 +24,6 @@ I am excited that you're considering contributing to our project! Here are some
2324
- Avoid code duplication by reusing existing functions or modules.
2425
- Ensure your code is easily readable and maintainable by others.
2526

26-
## Issues
27-
2827
If you encounter a bug or have an enhancement suggestion, please check the "Issues" section of our GitHub repository or visit our official website for guidance before beginning any work on it.
2928

3029
🐟 Bugfish

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# This is just an internal File to ignore Files during git operations
22

3-
# Block a File
4-
# folder/file.php
5-
# Block a Folder
6-
# folder/
7-
83
# Ignore all htaccess & htpasswd Files
9-
# **/.htaccess*
10-
# **/.htpasswd*
4+
**/.htaccess*
5+
**/.htpasswd*

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 📑 Changelog
22

3-
Refer to the `_changelogs` folder for detailed insights into the changes made across different versions. The changelogs are available in **HTML format** within this folder, providing a structured record of updates, modifications, and improvements over time. Additionally, **GitHub Releases** follow the same structure and also include these changelogs for easy reference.
3+
Refer to the _changelogs folder for detailed HTML changelogs tracking updates across versions. These changelogs are also included in GitHub Releases for easy access.
44

55
🐟 Bugfish

CONTRIBUTING.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22

33
I am excited that you're considering contributing to our project! Here are some guidelines to help you get started.
44

5-
## How to Contribute
5+
We primarily accept security fixes and critical patches to maintain project stability and coherence. Feature updates are not accepted to preserve our backend architecture and overall project integrity.
66

7-
1. Fork the repository to create your own copy.
8-
2. Create a new branch for your work (e.g., `feature/my-feature`).
9-
3. Make your changes and ensure they work as expected.
10-
4. Run tests to confirm everything is functioning correctly.
11-
5. Commit your changes with a clear, concise message.
12-
6. Push your branch to your forked repository.
13-
7. Submit a pull request with a detailed description of your changes.
14-
8. Reference any related issues or discussions in your pull request.
7+
Below is an example of how to contribute to this GitHub project. Please follow this guideline and all other contribution rules carefully; otherwise, your request may be denied.
158

16-
## Coding Style
9+
- Fork the repository to create your own copy.
10+
- Create a new branch for your changes (e.g., feature/my-feature).
11+
- Make your changes and verify everything works correctly.
12+
- Commit your changes with clear and concise messages.
13+
- Push your branch to your forked repository.
14+
- Open a pull request to the main repository’s main branch with a detailed description of your changes.
15+
- Reference any related issues or discussions in your pull request.
16+
17+
To ensure your implementation is effective and maintainable by other developers, please follow the code quality guidelines outlined below.
1718

1819
- Keep your code clean and well-organized.
1920
- Add comments to explain complex logic or functions.
@@ -23,8 +24,6 @@ I am excited that you're considering contributing to our project! Here are some
2324
- Avoid code duplication by reusing existing functions or modules.
2425
- Ensure your code is easily readable and maintainable by others.
2526

26-
## Issues
27-
2827
If you encounter a bug or have an enhancement suggestion, please check the "Issues" section of our GitHub repository or visit our official website for guidance before beginning any work on it.
2928

3029
🐟 Bugfish

README.md

Lines changed: 38 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
1111
The Bugfish Framework, meticulously designed for web developers, prioritizes security, flexibility, and performance. Its architecture streamlines development processes, enhancing efficiency and scalability, while a dedicated community provides support and resources for developers to maximize their projects' potential.
1212

13-
![Cover](./_images/framework.jpg)
13+
![Cover](./_images/_banner/framework.jpg)
1414

15-
### Requirements
15+
## ⚙️ Requirements
1616

17-
#### PHP Version
17+
### 🐘 PHP Version
1818

19-
- PHP 8.3/8.4 is recommended.
19+
- PHP 8.4 is recommended.
2020
- You can find specific requirements in the different documentation sections of our libraries.
2121

22-
#### PHP Modules
22+
### 🐘 PHP Modules
2323

2424
- **`mysqli`** – MySQL database connectivity using improved extension.
2525
- **`gd`** – Image processing and manipulation (e.g., thumbnails).
@@ -38,7 +38,10 @@ The Bugfish Framework, meticulously designed for web developers, prioritizes sec
3838
- **`json`** – Parses and encodes JSON data.
3939
- You can find specific requirements in the different documentation sections of our libraries.
4040

41-
### PHP Functions
41+
42+
## 📚 Framework
43+
44+
### 🐘 PHP Functions
4245
Discover a collection of indispensable PHP functions crafted for seamless integration across various projects. Witness how these functions expedite and refine coding processes within web development. Comprehensive documentation for each function is provided below. To incorporate these functions seamlessly, include the PHP files within the designated _functions subfolder in the overarching _framework folder. This strategic approach optimizes coding efficiency and enhances web project performance.
4346

4447
| Name | Description | License |
@@ -48,13 +51,15 @@ Discover a collection of indispensable PHP functions crafted for seamless integr
4851
| ✅ x_cookiebanner.php | PHP code to display and manage cookie consent banners. | LGPL-2.1 |
4952
| ✅ x_curl.php | PHP wrapper or helper functions for cURL HTTP requests. | LGPL-2.1 |
5053
| ✅ x_eventbox.php | PHP component for displaying or managing event boxes/messages. | LGPL-2.1 |
54+
| ✅ x_folder.php | PHP component for folder-related functionalities. | LGPL-2.1 |
5155
| ✅ x_library.php | Collection of utility functions for general use in PHP. | LGPL-2.1 |
5256
| ✅ x_rss.php | PHP script to generate or parse RSS feeds. | LGPL-2.1 |
5357
| ✅ x_search.php | PHP functions for search implementation and indexing. | LGPL-2.1 |
5458
| ✅ x_table.php | PHP helper for generating or manipulating HTML tables. | LGPL-2.1 |
59+
| ✅ x_thumbnail.php | PHP component for thumbnail-related functionalities. | LGPL-2.1 |
5560

56-
### PHP Classes
57-
These classes, located in /_framework/classes/x_*, are crucial for their functionality, efficiency, and thorough testing across various websites. They enhance development and save time. Note: Some classes require a database connection. They will install necessary tables automatically if configured correctly. Not all classes require MySQL; refer to the documentation for specific requirements. If MySQL is needed, provide a valid x_class_mysql object to the class.
61+
### 🐘 PHP Classes
62+
These classes, located in /_framework/classes/*, are crucial for their functionality, efficiency, and thorough testing across various websites. They enhance development and save time. Note: Some classes require a database connection. They will install necessary tables automatically if configured correctly. Not all classes require MySQL; refer to the documentation for specific requirements. If MySQL is needed, provide a valid x_class_mysql object to the class.
5863

5964
| Name | Description | License |
6065
|------|-------------|---------|
@@ -75,7 +80,7 @@ These classes, located in /_framework/classes/x_*, are crucial for their functio
7580
| ✅ x_class_mail | Handles mail sending operations, with a subclass for sending operation items. This class depends on x_class_phpmailer. | LGPL-2.1 |
7681
| ✅ x_class_mail_template | Creates mail templates with substitutions and footer/header options, compatible with x_class_mail. This class makes it easier to quick prepare E-Mail Templates to build E-Mails - to send out to customers or others! | LGPL-2.1 |
7782
| ✅ x_class_mysql | Provides MySQL database handling capabilities, along with additional features. This is another flagship of this framework. Most classes here need an x_class_mysql object to run properly. This class serves a lot in security and Error-Readability. It can make work much easier and has a Database logging system to store errors in Statements which may occur and much, much more! | LGPL-2.1 |
78-
|x_class_phpmailer | Manages email sending operations within the framework. This class is not made by me "Bugfish". It's the PHPMailer Class you can find on: [Github](https://github.com/PHPMailer/PHPMailer) | LGPL-2.1 |
83+
|x_class_mail_phpmailer | Manages email sending operations within the framework. This class is not made by me "Bugfish". It's the PHPMailer Class you can find on: [Github](https://github.com/PHPMailer/PHPMailer) | LGPL-2.1 |
7984
| ✅ x_class_perm | Controls permissions for users, including single-item permission objects. You can control permissions with this and it is storage-saving. 1-n Relation. If you are in search of a permission system and you won't build one on your own, then you have found what you have searched for! | LGPL-2.1 |
8085
| ✅ x_class_referer | Logs visitor referrers. You have some configuration functions to control how referrers will be saved into the database. | LGPL-2.1 |
8186
| ✅ x_class_redis | Offers control over Redis functionality. With this class, you can cache content on a Redis server, which will make your website faster. This may come in handy if your website is serving mass on dynamically generated content, which does not change so fast. PHP Module REDIS is needed to run this class. | LGPL-2.1 |
@@ -85,14 +90,14 @@ These classes, located in /_framework/classes/x_*, are crucial for their functio
8590
| ✅ x_class_zip | Enables file compression and decompression, compatible with x_class_crypt for direct encryption and decryption. PHP Module ZIP is required to run this class. | LGPL-2.1 |
8691
| ✅ x_class_version | Fetch version information and information about the author at the currently deployed framework instance. | LGPL-2.1 |
8792

88-
### CSS Classes
93+
### 🎨 CSS Classes
8994
Introducing the "Bugfish CSS Framework" – a solution for efficient web design. Simplify your development process with a comprehensive collection of pre-built classes, designed to expedite the creation of responsive web layouts. The Bugfish CSS Framework streamlines your design experience, making it faster and more professional. To use it, include the CSS files located in the css folder.
9095

9196
| Name | Description | License |
9297
|------|-------------|---------|
9398
| ✅ xcss_xfpe.css | CSS framework with predefined classes for quick, simple styling. | LGPL-2.1 |
9499

95-
### Javascript Functions
100+
### ⚛️ Javascript Functions
96101
Access a comprehensive array of JavaScript functions designed for integration across diverse projects, enhancing coding speed and efficiency in web development. Detailed documentation for each function is provided below. To incorporate these functions, include the JavaScript file in the _javascript subfolder within the central _framework folder. This implementation optimizes your coding process and elevates your web project's performance. Simplify your coding with our library of pre-built functions and modules, crafted to expedite the creation of dynamic, interactive web applications. Find the JavaScript Function file in: /_framework/javascript/*.js!
97102

98103
| Name | Description | License |
@@ -116,15 +121,6 @@ If you encounter any issues or have questions while using this software, feel fr
116121
- **Discord Community** is available for live discussions, support, and connecting with other users: [Join us on Discord](https://discord.com/invite/xCj7AEMmye)
117122
- **Email support** is recommended only for urgent security-related issues: [[email protected]](mailto:[email protected])
118123

119-
## 📢 Spread the Word
120-
121-
Help us grow by sharing this project with others! You can:
122-
123-
* **Tweet about it** – Share your thoughts on [Twitter/X](https://twitter.com) and link us!
124-
* **Post on LinkedIn** – Let your professional network know about this project on [LinkedIn](https://www.linkedin.com).
125-
* **Share on Reddit** – Talk about it in relevant subreddits like [r/programming](https://www.reddit.com/r/programming/) or [r/opensource](https://www.reddit.com/r/opensource/).
126-
* **Tell Your Community** – Spread the word in Discord servers, Slack groups, and forums.
127-
128124
## 📁 Repository Structure
129125

130126
This table provides an overview of key files and folders related to the repository. Click on the links to access each file for more detailed information. If certain folders are missing from the repository, they are irrelevant to this project.
@@ -149,6 +145,15 @@ This table provides an overview of key files and folders related to the reposito
149145
| [SECURITY.md](SECURITY.md) | How to handle security issues. |
150146
| [LICENSE.md](LICENSE.md) | License of this project. |
151147

148+
## 📢 Spread the Word
149+
150+
Help us grow by sharing this project with others! You can:
151+
152+
* **Tweet about it** – Share your thoughts on [Twitter/X](https://twitter.com) and link us!
153+
* **Post on LinkedIn** – Let your professional network know about this project on [LinkedIn](https://www.linkedin.com).
154+
* **Share on Reddit** – Talk about it in relevant subreddits like [r/programming](https://www.reddit.com/r/programming/) or [r/opensource](https://www.reddit.com/r/opensource/).
155+
* **Tell Your Community** – Spread the word in Discord servers, Slack groups, and forums.
156+
152157
## 📑 Changelog Information
153158

154159
Refer to the `_changelogs` folder for detailed insights into the changes made across different versions. The changelogs are available in **HTML format** within this folder, providing a structured record of updates, modifications, and improvements over time. Additionally, **GitHub Releases** follow the same structure and also include these changelogs for easy reference.
@@ -157,18 +162,19 @@ Refer to the `_changelogs` folder for detailed insights into the changes made ac
157162

158163
I am excited that you're considering contributing to our project! Here are some guidelines to help you get started.
159164

160-
**How to Contribute**
165+
We primarily accept security fixes and critical patches to maintain project stability and coherence. Feature updates are not accepted to preserve our backend architecture and overall project integrity.
161166

162-
1. Fork the repository to create your own copy.
163-
2. Create a new branch for your work (e.g., `feature/my-feature`).
164-
3. Make your changes and ensure they work as expected.
165-
4. Run tests to confirm everything is functioning correctly.
166-
5. Commit your changes with a clear, concise message.
167-
6. Push your branch to your forked repository.
168-
7. Submit a pull request with a detailed description of your changes.
169-
8. Reference any related issues or discussions in your pull request.
167+
Below is an example of how to contribute to this GitHub project. Please follow this guideline and all other contribution rules carefully; otherwise, your request may be denied.
170168

171-
**Coding Style**
169+
- Fork the repository to create your own copy.
170+
- Create a new branch for your changes (e.g., feature/my-feature).
171+
- Make your changes and verify everything works correctly.
172+
- Commit your changes with clear and concise messages.
173+
- Push your branch to your forked repository.
174+
- Open a pull request to the main repository’s main branch with a detailed description of your changes.
175+
- Reference any related issues or discussions in your pull request.
176+
177+
To ensure your implementation is effective and maintainable by other developers, please follow the code quality guidelines outlined below.
172178

173179
- Keep your code clean and well-organized.
174180
- Add comments to explain complex logic or functions.
@@ -178,6 +184,8 @@ I am excited that you're considering contributing to our project! Here are some
178184
- Avoid code duplication by reusing existing functions or modules.
179185
- Ensure your code is easily readable and maintainable by others.
180186

187+
If you encounter a bug or have an enhancement suggestion, please check the "Issues" section of our GitHub repository or visit our official website for guidance before beginning any work on it.
188+
181189
## 🤝 Community Guidelines
182190

183191
We’re on a mission to create groundbreaking solutions, pushing the boundaries of technology. By being here, you’re an integral part of that journey.

0 commit comments

Comments
 (0)