PHP code example of ozi / ozi_script

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

    

ozi / ozi_script example snippets


<a href="<?= linkTo("about&&productId=123"); 

// components/index.php
ozi_nav_simple("My Brand");

heroSection11(
    title: "The Future is Now",
    subTitle: "Composed entirely using Ozi Widgets.",
    btnText: "Join Now"
);

// 3. Using a Plugin (e.g., mailer)
// OziMailer("[email protected]", "Subject");

ozi_footer_clean();

// URL: /product/id/99
echo $_GET['id']; // Outputs: 99
bash
php ozi serve