Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Web Gate Bundle Laravel Package

avtonom/web-gate-bundle

View on GitHub
Deep Wiki
Context7

web-gate-bundle

API for request and response to Rest and Soap

To Install

php composer.phar require "avtonom/web-gate-bundle"

Add the bundle to app/AppKernel.php


$bundles(
    ...
            new Sensio\Bundle\BuzzBundle\SensioBuzzBundle(),
            new Avtonom\WebGateBundle\AvtonomWebGateBundle(),
    ...

Configuration options (parameters.yaml):


    web_gate.soap.environment: dev
    web_gate.soap.connection_timeout: 15
    
    web_gate.logger.logging_max_files: 0
    web_gate.logger.logging_level: 100 

Configuration services (services.yaml):


services:
    app.rest.client.get_user:
        class: Avtonom\WebGateBundle\Service\RestService
        arguments:
            - "@web_gate.logger"
            - "@buzz"
            - "GET"
            - "%web_gate.rest.host%"
            - "%web_gate.rest.env%/api/v1/user/"
            - "%web_gate.rest.login%"
            - "%web_gate.rest.password%"

Controller


$user = $this->get('app.rest.client.get_user')->send(['login' => 'test'], '/api/v1/user' . '/other_params');

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log