PHP code example of php-gear / auto-client

1. Go to this page and download the library: Download php-gear/auto-client 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/ */

    

php-gear / auto-client example snippets


Artisan::resolve (PhpGear\AutoClient\Laravel\AutoClientCommand::class);

return [
  'autoclient' => [
    'APIs' => [
      // Endpoint URL => [controller class, target directory, Angular module name] 
      'API/something' => [SomethingController::class, 'App/remote', 'App'],
    ],
  ],
  ///... the rest of the existing file
];
sh
workman install php-gear/auto-client