PHP code example of laszlovl / yii2-staticactiverecord
1. Go to this page and download the library: Download laszlovl/yii2-staticactiverecord library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
laszlovl / yii2-staticactiverecord example snippets
foreach (Cat::find()->limit(100)->all() as $cat) {
echo $cat->owner;
}