PHP code example of pnbarbeito / ondine-skeleton
1. Go to this page and download the library: Download pnbarbeito/ondine-skeleton 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/ */
pnbarbeito / ondine-skeleton example snippets
bash
php scripts/migrate.php
bash
docker compose -f docker-compose.prod.yml exec app php scripts/migrate.php
bash
# Run all migrations
php scripts/migrate.php migrate
# Rollback last migration
php scripts/migrate.php rollback 1
# Custom seed values
env SEED_ADMIN_USERNAME=custom php scripts/migrate.php migrate