1. Go to this page and download the library: Download xueron/fastd-phalcon 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/ */
namespace Model;
use Xueron\FastDPhalcon\Model\Model;
class Subscription extends Model
{
// 指定表名称,默认与Model类名相同
public function getSource()
{
return 'subscriptions';
}
}