PHP code example of jn-devops / common

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

    

jn-devops / common example snippets


return [
];

use Homeful\Common\Traits\HasPackageFactory;

class HomefulModel extends Model
{
    use HasPackageFactory;
bash
php artisan vendor:publish --tag="common-config"
bash
php artisan vendor:publish --tag="common-views"