VolistxTeam / Framework by Cryental

Volistx Framework For RESTful API Based on Laravel/Lumen
38
2
1
Package Data
Maintainer Username: Cryental
Maintainer Contact: contact@cryental.dev (Cryental)
Package Create Date: 2021-04-10
Package Last Update: 2024-09-15
Home Page: https://volistx.io/
Language: PHP
License: MIT
Last Refreshed: 2024-12-23 03:18:07
Package Statistics
Total Downloads: 38
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Volistx Skeleton

Reusable Framework For Volistx API

This is a pre-made skeleton for Volistx API platform using Lumen PHP Framework.

Let's make some awesome thing together!

Confirmed to work with LiteSpeed + Laravel Swoole + APCu + MySQL.

Requirements

  • PHP 8.0 or Higher
  • Swoole Extension
  • MaxmindDB Extension
  • All Extensions for Lumen

Installation

composer create-project --prefer-dist cryental/volistx-skeleton blog

Usage

You have to register to MaxMind, get an API key and put it inside .env file. After that, run following commands:

composer install
php artisan key:generate
php artisan migrate
php artisan geoip:update

Do not forget to set a cronjob for production:

* * * * * php /path/to/artisan schedule:run

Generate an admin access key using this command:

php artisan access-key:create

Run Laravel/Lumen Swoole using this package:

php artisan swoole:http start

If you want the Swoole server to run after reboot, add the following line to your crontab:

@reboot php /path/to/artisan swoole:http start