PHP code example of astrogoat / blackcart

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

    

astrogoat / blackcart example snippets


return [
];

$blackcart = new Astrogoat\Blackcart();
echo $blackcart->echoPhrase('Hello, Astrogoat!');
bash
php artisan vendor:publish --provider="Astrogoat\Blackcart\BlackcartServiceProvider" --tag="blackcart-migrations"
php artisan migrate
bash
php artisan vendor:publish --provider="Astrogoat\Blackcart\BlackcartServiceProvider" --tag="blackcart-config"