volistx/framework
Volistx Framework
Volistx Framework For RESTful API Based on Laravel 11.x
This is a framework skeleton for Volistx API platform using Laravel PHP Framework.
Let's make some awesome thing together!
Requirements
- PHP 8.2 or Above
- All Required Extensions for Laravel 11.x
- Redis PHP Extension
- Swoole or OpenSwoole Extension
- MariaDB 11.1 or Above
- Flare Subscription for Error Monitoring (Optional) (https://flareapp.io/)
Installation
composer create-project --prefer-dist volistx/framework myproject
Usage
-
Copy
.env.exampleto.env. -
Get GeoPoint API key and put it to
.envfile. (Optional, only if you want to use country filter) -
Put Flare key to
.envfile. (Optional, only if you want to use Flare). -
Run following commands:
composer install
php artisan key:generate
php artisan migrate
Do not forget to set a cronjob for production (This is not required if you're using Swoole):
* * * * * php /path/to/artisan schedule:run
Generate an admin access key using this command:
php artisan access-key:generate
Swoole Setup
It uses Laravel Octane. You can use Swoole or OpenSwoole. You can find the installation guide here: https://laravel.com/docs/11.x/octane
Run Swoole using this command:
php artisan octane:start
If you want the Swoole server to run after reboot, add the following line to your crontab:
@reboot php artisan octane:start
For Supervisor, check following configuration:
[program:volistx-octane-worker]
directory=/path/to/
command=php artisan octane:start
numprocs=1
autostart=true
autorestart=true
startretries=3
user=www-data
redirect_stderr=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log
Related Packages
Automatic configuration for Laravel apps to apply Tighten's standard linting & c...
Juzaweb CMS is a Content Management System (CMS) developed based on Laravel Fram...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 13.1.1 | ^8.3 | ^11.0 | MIT | |
| 13.1.0 | ^8.3 | ^11.0 | MIT | |
| 13.0.1 | ^8.3 | ^11.0 | MIT | |
| 13.0.0 | >=8.1 | ^10.0 | MIT | |
| 12.0.4 | >=8.1 | ^10.0 | MIT | |
| 12.0.3 | >=8.1 | ^10.0 | MIT | |
| 12.0.2 | >=8.1 | ^10.0 | MIT | |
| 12.0.1 | >=8.1 | ^10.0 | MIT | |
| 12.0.0 | >=8.1 | ^10.0 | MIT | |
| 11.2.0 | >=8.1 | ^9.45 | MIT | |
| 11.1.0 | >=8.1 | ^9.45 | MIT | |
| 11.0.0 | >=8.1 | ^9.45 | MIT | |
| 10.1.1 | >=8.1 | ^9.42 | MIT | |
| 10.1.0 | ^8.1 | ^9.42 | MIT | |
| 10.0.2 | ^8.1 | ^9.42 | MIT | |
| 10.0.1 | ^8.1 | ^9.42 | MIT | |
| 10.0.0 | ^8.1 | ^9.42 | MIT | |
| 9.0.2 | ^8.1 | ^9.23 | MIT | |
| 9.0.1 | ^8.1 | ^9.23 | MIT | |
| 9.0.0 | ^8.1 | ^9.23 | MIT | |
| 8.0.1 | ^8.1 | ^9.23 | MIT | |
| 8.0.0 | ^8.1 | ^9.23 | MIT | |
| 7.0.1 | ^8.1 | ^9.21 | MIT | |
| 7.0.0 | ^8.1 | ^9.21 | MIT | |
| 6.2.0 | ^8.1 | ^9.19 | MIT | |
| 6.1.1 | ^8.1 | ^9.11 | MIT | |
| 6.1.0 | ^8.1 | ^9.11 | MIT | |
| 6.0.6 | ^8.1 | ^9.11 | MIT | |
| 6.0.5 | ^8.1 | ^9.11 | MIT | |
| 6.0.4 | ^8.1 | ^9.11 | MIT |
Showing the latest 30 of 74. See every release on Packagist