I want to get the ID of the article, such as flarum.org/d/123 What syntax do I need to get 123 from the database?
I don't know the structure of flarum yet, so I don't know much about it.
The SQL statement is SELECT id FROM discussions ORDER BY ID ASC
How can I get it through PHP? such as :$row = $model->where(['discussion'])->order('id asc')->limit($pagesize);
In fact, I don't know which controllers to reference on my PHP page