wizz / api-client-helpers
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 19 421
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 4
Open Issues: 6
Requires
- php: >=7.0.0
- hisorange/browser-detect: 3.1.4
- illuminate/cache: 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
- illuminate/config: 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
- illuminate/http: 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
- intervention/httpauth: ^2.0
- spatie/url: 1.3.0
- symfony/dom-crawler: ^4.3
Requires (Dev)
- fzaninotto/faker: ~1.4
- orchestra/testbench: ~3.0
- phpunit/phpunit: 6.*
- squizlabs/php_codesniffer: ^3.2
- dev-prod
- 443.x-dev
- dev-master / 1.28.x-dev
- dev-laravel_8
- dev-multilanguage-dashboard
- dev-locale-proxy
- dev-dependabot/composer/erusev/parsedown-1.7.4
- dev-LA-11
- dev-LA-13
- dev-LA-607
- dev-allow-put-in-cors-header
- dev-LA-561
- dev-LA-370
- dev-LR-5605
- dev-LR-5698
- dev-LR-5842
- dev-LR-5494
- dev-LR-5190
- dev-shamanzpua-patch-1
- dev-LR-5151
- dev-LR-5151-cs-fix
- dev-access_control_fix
- dev-LR-5139
- dev-wizz92-patch-2
- dev-LR-5106
- dev-delete_kostil
- dev-add_x_robots_tag
- dev-disable-hits
- dev-fix_discount
- dev-update
- dev-authorization_header
- dev-LR-4498
- dev-LR-4444
- dev-LR-4363
- dev-LR-4226
- dev-LR-4165
- dev-AS-551
- dev-fix_ab_test
- dev-hits
- dev-hits_rem_from_test
- dev-LR-2208
- dev-LR-3859
- dev-ab_fix_rt
- dev-dependabot/composer/symfony/http-foundation-3.4.41
- dev-LR-3883
- dev-LR-3892
- dev-xml_fix
- dev-autocompose
- dev-LR-3392
- dev-fix
- dev-LR-2962
- dev-new_version_with_cache_and_AB_test
- dev-new_version_with_cache
- dev-separate_cache_with_redir_for_page=1
- dev-separate_cache
- dev-pagespeed
- dev-package-for-pagespeed
- dev-LR-2474
- dev-LR-2474_js
- dev-refactor
- dev-wizz92-patch-1
- dev-test_linter
This package is auto-updated.
Last update: 2024-04-27 07:41:52 UTC
README
This is pack of helper class to make speedy api client work
Instalation
Edit composer.json, add
"minimum-stability": "dev",
Install package.
composer require wizz/api-client-helpers
edit config/app.php, add
Wizz\ApiClientHelpers\ApiClientHelpersServiceProvider::class,
to providers array.
use php artisan vendor:publish to publish api_configs.php file.
create upload and documents folders in public directory
Usage
it will just work
That's all.
All routes with prefix api will be proxy redirected to secret_url from .env file.
Funcs:
- Receive and cache pages from remote page server.
- proxy all requests to secret API
- handles redirects
- can work in multi site mode. (serve many websites from 1 client)
- can block users with certain utm_marks or user_agents
- can store all configs in db