Skip to content

Commit aa71543

Browse files
upgrade to 1.0.6
0 parents  commit aa71543

22 files changed

+5358
-0
lines changed

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Supabase Config
2+
3+
# Supabase database URL
4+
SB_URL=https://[your].supabase.co
5+
6+
# Supabase Anon or `service_role` API key.
7+
SB_APIKEY= your anon api key

.github/FUNDING.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# These are supported funding model platforms
2+
3+
github: Ashishkumbhar01
4+
patreon: Code_With_Sushil
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14+
thanks_dev: # Replace with a single thanks.dev username
15+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/SECURITY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are
6+
currently being supported with security updates.
7+
8+
| Version | Supported |
9+
| ------- | ------------------ |
10+
| 5.1.x | :white_check_mark: |
11+
| 5.0.x | :x: |
12+
| 4.0.x | :white_check_mark: |
13+
| < 4.0 | :x: |
14+
15+
## Reporting a Vulnerability
16+
17+
Use this section to tell people how to report a vulnerability.
18+
19+
Tell them where to go, how often they can expect to get an update on a
20+
reported vulnerability, what to expect if the vulnerability is accepted or
21+
declined, etc.

.github/dependabot.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Rule
2+
version: 2
3+
updates:
4+
# This section defines updates for Composer dependencies
5+
- package-ecosystem: "composer"
6+
# Directory where the Composer file is located
7+
directory: "/"
8+
# Frequency of the updates (daily, weekly, monthly)
9+
schedule:
10+
interval: "weekly"
11+
# Optionally, you can set a time for the updates
12+
# time: "08:00"
13+
# Optionally, set a day for weekly updates (monday, tuesday, etc.)
14+
# day: "monday"
15+
# Optionally, ignore certain dependencies or versions
16+
# ignore:
17+
# - dependency-name: "vendor/package"
18+
# versions: ["1.x", "2.0.0"]
19+
# Optionally, configure the behavior of pull requests
20+
pull-request-branch-name:
21+
separator: "_"
22+
commit-message:
23+
prefix: "dependabot:"
24+
include: "scope"
25+
target-branch: "master"
26+
versioning-strategy: "increase"
27+
rebase-strategy: "auto"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Dependency Review Action
2+
#
3+
# This Action will scan dependency manifest files that change as part of a Pull Request,
4+
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
5+
# Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable
6+
# packages will be blocked from merging.
7+
#
8+
# Source repository: https://github.com/actions/dependency-review-action
9+
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
10+
name: 'Dependency review'
11+
on:
12+
pull_request:
13+
branches: [ "master" ]
14+
15+
# If using a dependency submission action in this workflow this permission will need to be set to:
16+
#
17+
# permissions:
18+
# contents: write
19+
#
20+
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api
21+
permissions:
22+
contents: read
23+
# Write permissions for pull-requests are required for using the `comment-summary-in-pr` option, comment out if you aren't using this option
24+
pull-requests: write
25+
26+
jobs:
27+
dependency-review:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: 'Checkout repository'
31+
uses: actions/checkout@v4
32+
- name: 'Dependency Review'
33+
uses: actions/dependency-review-action@v4
34+
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
35+
with:
36+
comment-summary-in-pr: always
37+
# fail-on-severity: moderate
38+
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
39+
# retry-on-snapshot-warnings: true

.github/workflows/label.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This workflow will triage pull requests and apply a label based on the
2+
# paths that are modified in the pull request.
3+
#
4+
# To use this workflow, you will need to set up a .github/labeler.yml
5+
# file with configuration. For more information, see:
6+
# https://github.com/actions/labeler
7+
8+
name: Labeler
9+
on: [pull_request_target]
10+
11+
jobs:
12+
label:
13+
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
19+
steps:
20+
- uses: actions/labeler@v4
21+
with:
22+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
8+
on:
9+
schedule:
10+
- cron: '42 18 * * *'
11+
12+
jobs:
13+
stale:
14+
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
20+
steps:
21+
- uses: actions/stale@v5
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
stale-issue-message: 'Stale issue message'
25+
stale-pr-message: 'Stale pull request message'
26+
stale-issue-label: 'no-issue-activity'
27+
stale-pr-label: 'no-pr-activity'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.env
2+
/vendor/
3+
index.php

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
### v1.0.4
4+
> 11-10-2024
5+
- Add new function pages() for Pagination.
6+
- Add new function filter() for filtering the data.
7+
- Add new function matchs() for checking duplicates data from table.
8+
- Updated Docs as well.
9+
10+
### v1.0.1
11+
> 06-09-2024
12+
- Code optimize
13+
- add new php cURL function curl_setopt_array()

CODE_OF_CONDUCT.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
### Code of Conduct
2+
3+
This Code of Conduct outlines the principles and guidelines for contributing to the Supabase PHP client. By participating in this project, you agree to abide by these rules.
4+
5+
**Respect and Inclusivity:**
6+
7+
- Treat everyone with respect and avoid discriminatory language, harassment, or bullying.
8+
- Foster inclusivity by welcoming contributions from all backgrounds and perspectives.
9+
- Be mindful of cultural differences and respect diverse customs and beliefs.
10+
11+
**Collaboration and Community:**
12+
13+
- Contribute positively by sharing your knowledge, ideas, and code in a constructive manner.
14+
- Be open to feedback and welcome constructive criticism and suggestions.
15+
- Respect intellectual property and acknowledge and attribute the work of others.
16+
17+
**Ethical Conduct:**
18+
19+
- Use technology responsibly and avoid malicious or harmful activities.
20+
- Protect privacy and handle user data with care and respect.
21+
- Comply with laws and regulations related to open-source software and data privacy.
22+
23+
**MIT License:**
24+
25+
- The Supabase PHP client is licensed under the `MIT License`, allowing for modification and distribution.
26+
- Contributors must be acknowledged in the code or documentation.
27+
- The code is provided "as is" without any warranties.
28+
29+
**Specific Guidelines:**
30+
31+
- Write clean, well-documented, and maintainable code.
32+
- Ensure code quality through thorough testing.
33+
- Prioritize security best practices to protect against vulnerabilities.
34+
- Participate in discussions, answer questions, and provide support to other users.
35+
36+
By contributing to this project, you agree to adhere to this Code of Conduct.

0 commit comments

Comments
 (0)