PHP code example of ebolution / laravel-core

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

    

ebolution / laravel-core example snippets

`
    public function __construct(
        private ProcessTimer $processTimer
    ) {
        parent::__construct();
    }
`
    public function handle()
    {
        $this->processTimer->start('Foo process');
        sleep(5);
        $this->processTimer->stop();

        return Command::SUCCESS;
    }