PHP code example of malinichevvv / lift-skeleton

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

    

malinichevvv / lift-skeleton example snippets


app/
  Controllers/   HealthController, LinkController  — attribute-routed
  Middleware/    ApiKeyMiddleware                  — PSR-15
  Console/       PruneExpiredCommand               — custom CLI command
bootstrap/app.php  builds the App: env, config, services, middleware, routes
config/            app.php, database.php
database/migrations/  schema, run by `lift migrate`
public/index.php   front controller
tests/             feature tests on an in-memory SQLite database
lift.php           registers project console commands
bash
php vendor/bin/lift serve          # development server
php vendor/bin/lift migrate        # run migrations
php vendor/bin/lift routes:list    # show registered routes
php vendor/bin/lift links:prune    # delete expired links (wire to cron)
php vendor/bin/lift list           # all available commands