1. Go to this page and download the library: Download justintadlock/hybrid-carbon 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/ */
justintadlock / hybrid-carbon example snippets
if ( file_exists( get_parent_theme_file_path( 'vendor/autoload.php' ) ) ) {
// Returns an instance of the Carbon class.
Image::carbon( $type, array $args = [] );
// Returns an instance of the Carbon class after running its make() method.
Image::make( $type, array $args = [] );
// Returns an instance of the found Image object or false.
Image::image( $type, array $args = [] );
// Renders the HTML output of the found Image object if one is found.
Image::display( $type, array $args = [] );
// Returns the HTML string of the found Image object or an empty string.
Image::render( $type, array $args = [] );
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.