Below introduces & instructs you how to contribute to the project.
npm install
composer install
You should config database connection in .env
file.
php -r "file_exists('.env') || copy('.env.example', '.env');"
php artisan key:generate
php artisan migrate
php artisan ide-helper:generate
php artisan ide-helper:meta
php artisan ide-helper:models --nowrite
php artisan typescript:transform
Firstly you Secondly you should
add @typescript
phpdoc to php type
/** @typescript */
class FetchedCardType
{
//
}
Secondly you should run special command to generate it to typescript
php artisan typescript:transform