PHP code example of syarifid / try-package

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

    

syarifid / try-package example snippets


return [
];

$try-package = new Syarifid\TryPackage();
echo $try-package->echoPhrase('Hello, Syarifid!');
bash
php artisan vendor:publish --provider="Syarifid\TryPackage\TryPackageServiceProvider" --tag="migrations"
php artisan migrate
bash
php artisan vendor:publish --provider="Syarifid\TryPackage\TryPackageServiceProvider" --tag="config"