Everyone is welcome to contribute code to https://github.com/vtsykun/packeton.git
If you are running Windows, the Windows Subsystem for Linux (WSL) is recommended for development. But the most of the features will work on Windows too. The code of Packeton is written in PHP, Symfony framework.
- PHP 8.1+
- Redis (or Docker) for some functionality.
- (optional) nginx / php-fpm to run the web server.
- (optional) MySQL or PostgresSQL for the main data store, default SQLite.
Make a fork on GitHub, and then create a pull request to provide your changes.
git clone [email protected]:YOUR_GITHUB_NAME/packeton.git
git checkout -b fix/patch-1
Run composer install
cd packeton
composer install
Create a file .env.local
with following content.
# .env.local
APP_ENV=dev
# select database, default SQLite
DATABASE_URL="postgresql://postgres:[email protected]:5432/packeton?serverVersion=12&charset=utf8"
bin/console doctrine:schema:update --dump-sql --force
php -S localhost:8000 -t public/
Optional, to create admin user use the command:
php bin/console packagist:user:manager admin --password=123456 --admin
To run sync workers:
php bin/console packagist:run-workers -vvv