`
ใส่ใน `Controller `นะครับ
 public function sendLine($model)  {
            $line_token = 'You Token';
          
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL,"https://notify-api.line.me/api/notify");
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS, "message=".$model->name);ตรงนี้คือ`Field `ที่จะส่งข้อความไป`Line
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
            curl_setopt($ch, CURLOPT_HTTPHEADER, [
                'Content-type: application/x-www-form-urlencoded',
                'Authorization: Bearer '.$line_token,
            ]);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            $server_output = curl_exec ($ch);
            curl_close ($ch);
        }
`และตรงทีโฟสต์ `actionCreate
เพิ่ม 
public function actionCreate()
    {
        $model = new Recommend();
        if ($model->load(Yii::$app->request->post()) && $model->save()) {
            Yii::$app->getSession()->setFlash('alert',[
                'body'=>'ข้อเสนอแนะบันทึกเสร็จเรียบร้อย! เจ้าหน้าที่จะดำเนินการให้เร็วที่สุด....ขอบคุณค่ะ',
                'options'=>['class'=>'alert-warning']
            ]);
            //$this->sendLine($model);
           
 $this->sendLine($model);`
//`ส่ง `Line Notify
            return $this->redirect(['create', 'id' => $model->id]);
            return $this->redirect(['create', 'id' => $model->id]);
        } else {
            return $this->render('create', [
                'model' => $model,
            ]);
        }
    }
`ขอขอบคุณ อาจารย์ มานพ กองอุ่น  
https://www.youtube.com/watch?v=YQKX2KedX5U&t=605s