PHP code example of lovecoding-git / first-package

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

    

lovecoding-git / first-package example snippets


return [
];

$first-package = new LovecodingGit\FirstPackage();
echo $first-package->echoPhrase('Hello, Spatie!');
bash
php artisan vendor:publish --provider="LovecodingGit\FirstPackage\FirstPackageServiceProvider" --tag="first-package-migrations"
php artisan migrate