-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* BK-685 Create new client library * BK-686 Create basic structure of the library (#68) * BK-708 Search engine CRUD (#69) Also have are created Jwt classes and a little documentation. * BK-709 Add Indices CRUD methods in PHP library (#70) * BK-710 Items crud (#71) * BK-764 Reindex and temporary index (#72) * BK-765 Search engine process (#74) * BK-712 Create search request (#75) * BK-711 Create suggest request (#76) * BK-785 Create temporal item (#77) * BK-788 Create find by ids and count items (#78) * BK-786 Create temporal bulk item (#79) * BK-787 Create bulk items (#81) * BK-713 Create init request (#80) * BK-715 Create redirection request (#83) * BK-716 Create banner click request (#84) * BK-714 Create checkout request (#82) * BK-717 Create click request (#85) * BK-718 Create Add to cart request (#86) * BK-719 Create remove from cart request (#87) * BK-719 Create clear cart request (#88) * BK-811 Generate documentation (#89) * update to use v6 (#94) * refactor Stat class into Stats * autoload restored * Search client api documentation * update doc index * autoload autogenerated * github actions * git actions push pull * composer ci adjustment * php version actions * php version ci * update ci file * ci.yml update * ci updated with tests * composer version adjustment ci * improvements and fixes * ci.yml format * tests CI v1 * tests CI * deleted unused tag * travis deletion * update lib version to 7.0.0 * update composer. Delete package require on itself * homepage url updated * changelog restored * badge status CI Co-authored-by: Gabriel <[email protected]> Co-authored-by: GLagunilla <[email protected]> Co-authored-by: Carlos Axel Castex Gudiño <[email protected]> Co-authored-by: Carlos Axel Castex Gudiño <[email protected]>
- Loading branch information
1 parent
17f4753
commit 6ed2546
Showing
252 changed files
with
49,577 additions
and
34,549 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: PHP ${{ matrix.php }} Build | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ ubuntu-latest ] | ||
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Validate composer.json and composer.lock | ||
id: composer-validate | ||
run: composer validate --no-check-all # Do not emit a warning if requirements in composer.json use unbound or overly strict version constraints. | ||
|
||
- name: Cache Composer packages | ||
id: composer-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: vendor | ||
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-php- | ||
- name: Install dependencies | ||
id: composer-install | ||
run: composer install --prefer-dist --no-progress --ignore-platform-reqs | ||
|
||
php-unit-tests: | ||
name: PHP ${{ matrix.php }} Unit Tests | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ ubuntu-latest ] | ||
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install composer dependencies | ||
run: composer install --prefer-dist --no-progress --ignore-platform-reqs | ||
|
||
- name: Run PHPUnit | ||
run: vendor/bin/phpunit tests |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
*~ | ||
.DS_Store | ||
*.diff | ||
*.sublime-project | ||
*.sublime-workspace | ||
.idea | ||
vendor/* | ||
.phpdoc |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[![Build Status](https://api.travis-ci.org/doofinder/php-doofinder.svg?branch=master)](https://travis-ci.org/doofinder/php-doofinder) | ||
[![CI](https://github.com/doofinder/php-doofinder/actions/workflows/ci.yml/badge.svg)](https://github.com/doofinder/php-doofinder/actions/workflows/ci.yml) | ||
|
||
# Official PHP Client for Doofinder | ||
|
||
- [Management Client Documentation](src/Management/README_MANAGEMENT.md) | ||
- [Search Client Documentation](src/Search/README_SEARCH.md) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "doofinder/doofinder", | ||
"version": "6.2.0", | ||
"name": "doofinder/php-doofinder", | ||
"version": "7.0.0", | ||
"type": "library", | ||
"description": "Doofinder PHP API Client", | ||
"keywords": [ | ||
|
@@ -27,27 +27,37 @@ | |
"role": "Developer" | ||
}, | ||
{ | ||
"name": "Swagger and contributors", | ||
"homepage": "https://github.com/swagger-api/swagger-codegen" | ||
"name": "Gabriel Lagunilla", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
}, | ||
{ | ||
"name": "Carlos Axel Castex Gudiño", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.6", | ||
"ext-curl": "*", | ||
"ext-json": "*", | ||
"ext-mbstring": "*", | ||
"guzzlehttp/guzzle": "~7.3" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "4.8.*", | ||
"php-mock/php-mock-phpunit": "1.1.*", | ||
"squizlabs/php_codesniffer": "~2.6" | ||
"ext-dom": "*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Doofinder\\": "src/", | ||
"Doofinder\\Search\\": "src/Search/", | ||
"Doofinder\\Management\\" : "src/Management/", | ||
"DoofinderManagement\\" : "src/Management/PhpClient/" | ||
"Doofinder\\Management\\": "src/Management/", | ||
"DoofinderManagement\\": "src/Management/PhpClient/" | ||
} | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "5.*", | ||
"php-mock/php-mock-phpunit": "1.1.*" | ||
}, | ||
"scripts": { | ||
"remove-documentation": "rm -rf doc/*", | ||
"generate-documentation": "php phpDocumentor.phar -d src/ -t doc/", | ||
"tests": "php vendor/bin/phpunit tests/" | ||
} | ||
} | ||
} |
Oops, something went wrong.