ように details
say + as
iu you ni
as; just as — points back to something already said, written or shown, and builds the next claim on it
さっき言ったように、今日は早く帰るからね。
sakki itta you ni, kyou wa hayaku kaeru kara ne.
Like I said just now, I'm heading home early today. casual
メールに書いたように、集合は九時です。
meeru ni kaita you ni, shuugou wa kuji desu.
As I wrote in the email, we meet at nine. neutral
Examples
as; just as — cites something already said, written or shown, and rests the following statement on it
さっき言ったように、今日は早く帰るからね。
sakki itta you ni, kyou wa hayaku kaeru kara ne.
Like I said just now, I'm heading home early today. casual
メールに書いたように、集合は九時です。
meeru ni kaita you ni, shuugou wa kuji desu.
As I wrote in the email, we meet at nine. neutral
先ほどご説明したように、料金は来月から変わります。
sakihodo go setsumei shita you ni, ryoukin wa raigetsu kara kawarimasu.
As I explained a moment ago, the fees change from next month. formal
天気予報が伝えていたように、午後から風が強くなった。
tenki yohou ga tsutaete ita you ni, gogo kara kaze ga tsuyoku natta.
Just as the forecast had said, the wind picked up in the afternoon. neutral
Formation
{V}ようにattaches to dictionary form{V-ta}ようにattaches to た-form
Related patterns
Similar
とおりに measures conformity, which is why そのとおり works as an affirmation and it takes a specification host (説明書のとおりに組み立てる, 命令どおりに動く); ように only cites an earlier statement as the ground for what follows, so a speaker demanding an exact match reaches for 言ったとおりに where one merely referring back says 言ったように.
The same "as" split by host class — a clause takes ように bare (ご説明したように), a noun takes の first (ご存じのように, 下の図のように), so the の is the reader's signal that what is being cited is a thing rather than an act.
Lookalikes
One string, two jobs, and tense is the first clue — citation ように leans on a た-form host naming something already said (言ったように), while purpose ように never follows a past clause and takes a non-past goal (聞こえるように話す); where both are non-past, the citation reading needs a verb of saying or showing in front of it.
The same three pieces in the other order — 言ったように cites what was said and rests the next claim on it, ように言う hands an instruction on, so ように AFTER the verb of saying is a citation and ように BEFORE it is a command; only the command reading lets the verb of saying be someone else's (母に言われた).