Skip to content

WSDL to Object PHP package generator by artisan

Notifications You must be signed in to change notification settings

NekoOs/laravel-wsopp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel WsOpp [Artisan Command]

Description

WSDL to Object PHP package generator by artisan


Install

composer require nekoos/wsopp

Usage

php artisan wsopp:generate --wsdl uri-contact-wsdl [--namespace NamespaceName] [--target=target-directory]

Example

php artisan wsopp:generate --wsdl http://www.dneonline.com/calculator.asmx?WSDL --namespace Example
use App\Service\Soap\Example\Add;

$calculator = new \App\Service\Soap\Example\Calculator();   
$calculator->Add(new Add(3,9))->getAddResult();

Lumen

subscribe service provider in class app/Console/Kernel.php

protected $commands = [
    NekoOs\Console\Commands\WsOpp\GenerateCommand::class,
];

About

WSDL to Object PHP package generator by artisan

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages