PHP code example of alphavel / skeleton

1. Go to this page and download the library: Download alphavel/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/ */

    

alphavel / skeleton example snippets


my-app/
├── app/
│   └── Controllers/         # HTTP controllers
├── config/
│   ├── app.php             # App configuration
│   └── swoole.php          # Swoole server config (proactive defaults)
├── public/
│   └── index.php           # Entry point
├── routes/
│   └── api.php             # API routes
├── storage/
│   ├── framework/          # Framework cache
│   └── logs/               # Application logs
├── Dockerfile              # Production image (APCu + OPcache)
└── docker-compose.yml      # Docker orchestration