KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
yii2-services
★ 16
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
qwickie
:
Automatically exported from code.google.com/p/qwickie
react-native-catalog
:
A catalog of React Native components and examples
loris-docker
:
Loris docker image suitable for development environments
vorm
:
Write your forms in JSON and HTML, use the same API
angular2-todo
:
Creating a simple Todo app using Angular 2
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
yii2-services
?
Download (.md)
Web Service for Yii2 framework ================= [](https://travis-ci.org/borodulin/yii2-services) ## Description WebService encapsulates SoapServer and provides a WSDL-based web service. Adaptation of Yii1 Web Services ## Installation The preferred way to install this extension is through [composer](http://getcomposer.org/download/). To install, either run ``` $ php composer.phar require conquer/services "*" ``` or add ``` "conquer/services": "*" ``` to the ```require``` section of your `composer.json` file. ## Usage ```php namespace app\controllers; class SiteController extends \yii\web\Controller { public function actions() { return [ 'soap' => [ 'class' => 'conquer\services\WebServiceAction', 'classMap' => [ 'MyClass' => 'app\controllers\MyClass' ], ], ]; } /** * @param app\controllers\MyClass $myClass * @return string * @soap */ public function soapTest($myClass) { return get_class($myClass); } } class MyClass { /** * @var string * @soap */ public $name; } ``` ## License **conquer/services** is released under the BSD License. See the bundled `LICENSE.md` for details.