I don’t do PHP. But I used other JetBrains tools for Go, Python and Java and they are very helpful. The AI Assistant is pretty good for explaining code. I am not in anyway paid by them. Good Luck
I’ve become the primary maintainer of a jumbled mess of a PHP/Laravel project we use as our"mission control" at work and I’ve been dying due to lack of dev tools. Might have to take a look at this (pester my manager for a license) assuming it has Laravel support.
Here’s hoping you have Docker installed, because Laradock rules. (It’s not just for Laravel.)
If the project is a Laravel project, Laravel Herd just came out. If you’re on a Mac, there’s also Valet. If you prefer a VM, there’s Homestead - a PHP Vagrant config.
You’d probably get more feedback if you posted a proposed solution (or “correct answer”) to StackOverflow and let the community tell you how dumb you are in between generating exactly what you are looking for.
Real answer: consider passing Markdown through instead. You’re getting really close to one of my favorite memes. It’s a dark path, don’t tread down it.
“Master” is a strong word, but when I have to build applications it’s PHP in the back and JS up front. Specifically, Laravel implementations with whatever on top.
I’m extremely proficient with templating languages that eventually turn into HTML (nunjucks, antlers, blade, handlebars, webc, vue) and CSS (SCSS, LESS). A ton of my work winds up being on Static Site Generators and the unholy abomination that is at-scale Email development.
No Data Checking: It directly uses data from an API without checking if it’s safe or correct.
Dynamic Properties: Adding properties to an object on the fly can make the code hard to manage.
External Data Dependency: Relying on API data structure without checks can lead to issues if the API changes.
If you don’t know the data is safe (it’s not), it’s a lot better to use an associative array. Additionally, if it’s from a json, it’s quicker and easier to iterate over array. Don’t make it complicated for no reason.
php
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.