PHP code example of elzobrito / olivia-app

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

    

elzobrito / olivia-app example snippets

text
OliviaApp/
|-- app/
|   |-- Controller/
|   |-- Middleware/
|   `-- Models/
|-- lib/
|   |-- CommandController.php
|   |-- Config.php
|   |-- Database.php
|   |-- Email.php
|   `-- Route.php
|-- src/
|   |-- router/
|   |-- pagination/
|   |-- pdf/
|   |-- upload/
|   |-- download/
|   |-- database/
|   `-- cache/
|-- publico/
|   |-- Components/
|   |-- Home/
|   |-- View/
|   `-- E404.php
|-- tests/
|   `-- kernel/
|-- Dockerfile
|-- composer.json
|-- index.php
`-- README.md
bash
composer validate --no-check-publish --strict
php tests/kernel/framework_contract_test.php
php tests/kernel/security_contract_test.php
docker build --build-arg PHP_VERSION=8.5.12-fpm-alpine3.24 --tag olivia-framework:smoke .