PHP code example of fastsitephp / starter-site

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

    

fastsitephp / starter-site example snippets

text
{root}
|
|   # PHP Code
├── app
|   ├── Controllers/*.php
|   ├── Middleware/*.php
|   ├── Models/*.php
|   ├── Views/*.php
│   └── app.php       # Main Application File
│
|   # Application Data Files
├── app_data
│   └── i18n/*.json   # JSON Files for Multiple languages
│
|   # Documentation
├── docs
│
|   # Web Root Folder
├── public
|   ├── css/*
|   ├── img/*
|   ├── js/*
│   └── index.php  # Entry point for web root
│
|   # Application Scripts
├── scripts
│
|   # Vendor files (created when installing dependencies)
└── vendor