All Projects → terramar-labs → Packages

terramar-labs / Packages

Licence: mit
Enhances Composer Satis with webhook integrations to GitHub and GitLab

Projects that are alternatives of or similar to Packages

Php frameworks analysis
php框架源码分析
Stars: ✭ 57 (-63.69%)
Mutual labels:  redis, composer
Git Webhook
使用 Python Flask + SQLAchemy + Celery + Redis + React 开发的用于迅速搭建并使用 WebHook 进行自动化部署和运维,支持 Github / GitLab / Gogs / GitOsc。
Stars: ✭ 1,439 (+816.56%)
Mutual labels:  webhook, gitlab
Deb Dev Machine
Quickly install common Developer tools, IDE's & Services on Debian 9
Stars: ✭ 63 (-59.87%)
Mutual labels:  redis, composer
Git Deploy
Php Script for Auto-Pull in server (Using WebHook from GitLab, GitHub and Bitbucket)
Stars: ✭ 495 (+215.29%)
Mutual labels:  webhook, gitlab
Laravel Paket
Composer GUI. Manage Laravel dependencies from web interface without switching to command line!
Stars: ✭ 143 (-8.92%)
Mutual labels:  composer, package-manager
Composer
Dependency Manager for PHP
Stars: ✭ 25,994 (+16456.69%)
Mutual labels:  composer, package-manager
Satis Server
🐳 Private, self-hosted Composer/Satis repository with unlimited private and open-source packages and support for Git, Mercurial, and Subversion. HTTP API, HTTPs support, webhook handler, scheduled builds, Slack and HipChat integration.
Stars: ✭ 96 (-38.85%)
Mutual labels:  webhook, composer
Generic Webhook Trigger Plugin
Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.
Stars: ✭ 287 (+82.8%)
Mutual labels:  webhook, gitlab
Hwamei
企业微信webhook,企业微信群机器人webhook,支持Github、Gitlab、Sentry等Webhook
Stars: ✭ 142 (-9.55%)
Mutual labels:  webhook, gitlab
Gitwebhookproxy
A proxy to let webhooks reach running services behind a firewall – [✩Star] if you're using it!
Stars: ✭ 123 (-21.66%)
Mutual labels:  webhook, gitlab
Laravel Server Monitor
Server Monitoring Command for Laravel Applications
Stars: ✭ 424 (+170.06%)
Mutual labels:  composer, composer-packages
Srl Php
Simple Regex Language
Stars: ✭ 1,808 (+1051.59%)
Mutual labels:  composer, composer-packages
Shell
Infrastructure Management Shell - Linux
Stars: ✭ 381 (+142.68%)
Mutual labels:  redis, gitlab
Awesome Composer
😎 A curated awesome list for Composer, Packagist, Satis, Plugins, Scripts, Composer related resources, tutorials.
Stars: ✭ 738 (+370.06%)
Mutual labels:  composer, composer-packages
Jwt Auth Guard
JWT Auth Guard for Laravel and Lumen Frameworks.
Stars: ✭ 319 (+103.18%)
Mutual labels:  composer, composer-packages
Easy Extends
一个简单快速安装PHP扩展的程序--最简单的方法就是使用Linux
Stars: ✭ 85 (-45.86%)
Mutual labels:  redis, composer
aplus
Aplus Command Line Tool
Stars: ✭ 71 (-54.78%)
Mutual labels:  composer, gitlab
Skyhook
Parses webhooks and forwards them in the proper format to Discord.
Stars: ✭ 263 (+67.52%)
Mutual labels:  webhook, gitlab
Composer Custom Directory Installer
A composer plugin, to install differenty types of composer packages in custom directories outside the default composer default installation path which is in the vendor folder.
Stars: ✭ 117 (-25.48%)
Mutual labels:  composer, composer-packages
Satis Control Panel
Satis Control Panel (SCP) is a simple web UI for managing your Satis Repository for Composer Packages.
Stars: ✭ 144 (-8.28%)
Mutual labels:  composer, composer-packages

Packages

Source code repository management made simple.

Build Status

Packages is a PHP 5.6 and 7.x application providing an interface and tools for maintaining a private Composer repository. Packages extends Satis, adding a web frontend and useful management functionality like GitHub and GitLab integration.

Packages automatically registers GitLab, GitHub, and Bitbucket project webhooks to keep Satis up to date every time you push code. Packages also features a web management interface that allows for easy management of exposed packages and configured source control repositories.

Packages version 3 works on a plugin based system based around source code repositories. Packages can trigger, with each code push, many automated tasks like documentation generation or code analysis. The simple event-based architecture allows easy creation of new automation tasks.

View the docs online.

Installation

Requirements:

Download the latest release, or clone the repository.

git clone [email protected]:terramar-labs/packages.git

Install dependencies

Switch to the project root directory and run composer install.

cd packages
composer install

Edit configuration

Copy config.yml.dist to config.yml and edit as appropriate.

cp config.yml.dist config.yml
vi config.yml

Generate the database schema

Packages uses Doctrine ORM to auto-generate the database schema for your configured platform.

bin/console orm:schema-tool:create

Running the application

Start PHP's built-in webserver to run the Packages web application with minimal effort.

# Visit http://localhost:8080 to see the landing page.
php -S localhost:8080 -t web

Start a Resque worker

For fully-automatic integration with GitHub, GitLab, and your Satis repository, you must always have at least one Resque worker running.

bin/console resque:worker:start

For more information on Resque workers, check the dedicated section.

Using the application

Read the usage and design documentation for an overview of Packages functionality.

Development/debug mode

Visit index_dev.php in your browser to view the site with the dev environment configuration. In this env, views and the service container are not cached, so changes made are immediately visible.

Customizing

Check out the Contributing Guide for the recommended way to set up your development environment.

Some tips:

  • Views are written using Twig and stored in views/.
    • Views are cached in prod env; use http://localhost:8080/index_dev.php to develop.
    • All pages inherit from views/base.html.twig, except for
    • Public landing page views inherit from views/Default/base.html.twig.
  • Composer Components are used to manage front-end dependencies. The respective web/images/, web/js/bootstrap.min.js, and such are symlinks pointing to the real files installed by Composer in vendor/.
  • Check the documentation for additional information.

Docker support

Packages comes with an example docker-compose.yml that starts an nginx container and a Redis container, ready to get up and running quickly.

Visit the documentation to get started.

Troubleshooting

  1. index_dev.php contains a non-localhost block, comment it out when using Docker.
  2. Manage Resque and Satis using the bin/console command-line utility.
  • Build the Satis packages.json file with the satis:build command.
    bin/console satis:build
    
  • View queued Resque jobs in Redis with the resque:queue:list command.
    bin/console resque:queue:list
    
  • View active Resque workers with the resque:worker:list command.
    bin/console resque:worker:list
    
  • Start a Resque worker with resque:worker:start.
    bin/console resque:worker:start
    
  1. Check the Resque logs to see if Resque is working properly.
tail -f logs/resque.log
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].