PHP code example of themehybrid / hybrid-core

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

    

themehybrid / hybrid-core example snippets


if ( file_exists( 'vendor/autoload.php' ) ) {
        

if ( file_exists( get_parent_theme_file_path( 'vendor/autoload.php' ) ) ) {
	

// Create a new application.
$slug = \Hybrid\booted() ? \Hybrid\app() : new \Hybrid\Core\Application();

// Add service providers.
$slug->provider( \YourProject\Provider::class );

// Bootstrap the application.
$slug->boot();