William Arin (@william_arin) header
William Arin (@william_arin) profile picture

AI Ops / SWE / DevOps / SRE.

Joined September 2022
For anyone wanting a proper setup, here it is.
If you use vanilla PHP and vanilla JS there is nothing to be restarted!
43
Introducing Stochastix: a backtesting engine for PHP built with Symfony. Build, test and analyze crypto-currencies trading strategies. phpquant.github.io/stochasti…
172
Why use PostMark, Resend or competitors when you can just use Azure Communication Services? 0.25$/1000 emails
1
176
Cook now supports Symfony 7! Better late than never. An alternative to Flex for any PHP package. Bake your own recipes directly inside your packages. github.com/williarin/cook
138
Sword and WordpressInterop are now compatible with Symfony 7
1
1
94
Sword documentation is now built with VitePress. getsword.com
1
79
I'm not going to open a RFC for this but here's an idea. What do you think? PHP conditional returns.
1
1
1
223
Did you know? You can install 2 versions of a same npm package. stackoverflow.com/a/56495895…
Stop everything you're doing. Javascript has now a built-in function structuredClone(value) to deep copy an array of objects. No more JSON.parse(JSON.stringify(value)) developer.mozilla.org/en-US/…
2
By the way WooCommerce finally prefixed their vendors in 7.0 so no more compatibility issue with Psr\Container. Sword apps using WooCommerce >=7.0 can now safely upgrade to psr/container >=2.0
I just realized I don't need to put my WordPress CSS in my theme's style.css anymore. I just write SCSS in /assets/styles/ and let Webpack build and minimize that for me. Better: I style my theme in real-time with dev-server. getsword.com
1
Tailwindcss amazes me everyday. Today I learnt that we can add a !important modifier just by prefixing the class with a !. How cool is that. Useless example:
Sword + Symfony UX + webpack-dev-server = 🥰 Real-time Vue development in WordPress pages.
The joy of javascript development. No errors, but no files compiled either🥰 4.81s of nothingness.
Sword is featured in Jetbrains PHP annotated Sept. 2022! blog.jetbrains.com/phpstorm/… #WordPress #Symfony #PHP
1
Windows devs: do you still use something else than Docker + WSL, and why?
Then the guy with a Mac M1 comes and it doesn't work on his machine.
🐳Why Containerization? a thread (with Memes). ↓
Running Stimulus in WordPress is so easy using Sword: getsword.com/guide/tutorial/…