PHP code example of tyler36 / cypress-cake

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

    

tyler36 / cypress-cake example snippets


cy.create('User')

cy.create('User', { email: '[email protected]' })

# To get CakePHP version
cy.cake('version')

# To clear all caches
cy.cake('cache clear_all')