Rest Api Example build on Laravel.
Laravel version: 8.81.0
Php version: 8.1.2
MySql version: 8.0.27
Use the git and composer to install
git clone https://github.com/barisakdemir/rest-api-example
cd rest-api-example/
cp .env.example .env
Edit .env file for MySql information then
composer install
php artisan key:generate
php artisan config:cache
php artisan migrate:refresh --seed
php artisan serve
Crontab jobs
30 9 * * * wget http://127.0.0.1:8000/api/company/packages/receive-payments
*/5 * * * * php ~/folder/to/project/rest-api-example/artisan queue:work --stop-when-empty