PHP code example of grazulex / laravel-autobuilder
1. Go to this page and download the library: Download grazulex/laravel-autobuilder 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/ */
namespace App\AutoBuilder\Bricks;
use Grazulex\AutoBuilder\Bricks\Action;
use Grazulex\AutoBuilder\Flow\FlowContext;
class SendSlackMessage extends Action
{
public function name(): string
{
return 'Send Slack Message';
}
public function fields(): array
{
return [
Text::make('channel')->label('Channel')->