PHP code example of shakewell / laravel-agile-plm

1. Go to this page and download the library: Download shakewell/laravel-agile-plm library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shakewell / laravel-agile-plm example snippets


return [
    'soap_endpoint' => env('AGILE_PLM_SOAP_ENDPOINT'),
    'username' => env('AGILE_PLM_SOAP_USERNAME'),
    'password' => env('AGILE_PLM_SOAP_PASSWORD'),
];

use Shakewell\LaravelAgilePlm\Services\AgilePlmService;

public function handle(AgilePlmService $agilePlmService){
 // Code Here
}

$results = $agilePlmService->searchDocumentByNumberAndRevision("0200-06288-1000", "C");

    public string $id;
    public string $documentNumber;
    public string $revision;
    public string $description;
    public string $lifeCyclePhase;
    public string $ItemType;

$results = $agilePlmService->searchEcoByDocumentNumberAndRevision("0200-06288-1000", "C");

    public string $number;
    public string $description;

$results = $agilePlmService->searchEcrByDocumentNumberAndRevision("0200-06288-1000", "C");

    public string $number;
    public string $description;
bash
php artisan vendor:publish --tag="agile-plm-config"