PHP code example of idophp-uk / teamwork-eloquent-models
1. Go to this page and download the library: Download idophp-uk/teamwork-eloquent-models 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/ */
idophp-uk / teamwork-eloquent-models example snippets
use Idophp\TeamworkEloquentModels\Comment;
$comment = Comment::find(1);
shell
mysql -e "CREATE DATABASE teamwork; GRANT ALL ON teamwork.* TO 'db'@'%';"
mysql teamwork < ../1234567_TeamworkPM_Backup_YYYYMMDD.sql