Yii2 RESTful search endpoints

REST services can be a little boring when writing simple CRUD endpoint boilerplate. Yii2’s ActiveController can help get the boring stuff out of the way so that you can start working on more interesting code. Continue reading Yii2 RESTful search endpoints

Advertisements

Yii2 ActiveDataProvider query options

The Yii2 documentation is terrible. Many options are mentioned in an offhand kind of way in the middle of paragraphs and under unclear examples. If you are using ActiveDataProvider to return data to your endpoint, here are some options that you may have missed. Continue reading Yii2 ActiveDataProvider query options