Questions tagged [satis]

Satis - Package Repository Generator Simple static Composer repository generator. It uses any composer.json file as input and dumps all the required (according to their version constraints) packages to a Composer Repository file.

Satis - Package Repository Generator

Simple static Composer repository generator.

It uses any composer.json file as input and dumps all the required (according to their version constraints) packages to a Composer Repository file.

Usage

  • Download Composer: wget http://getcomposer.org/composer.phar
  • Install satis: php composer.phar create-project composer/satis
  • Build a repository: php bin/satis build <composer.json> <build-dir>

Read the more detailed instructions in the documentation.

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

Requirements

PHP 5.3+

Authors

Jordi Boggiano - j.boggiano@seld.be - http://twitter.com/seldaek - http://seld.be
Nils Adermann - naderman@naderman.de - http://twitter.com/naderman - http://www.naderman.de

See also the list of contributors who participated in this project.

License

Satis is licensed under the MIT License - see the LICENSE file for details

Github

93 questions
3
votes
3 answers

Satis, how to archive require dependencies?

I'm trying to set up my own satis server for all my composer packages. Many packages have dependencies to something like phpunit or phpmd. I want to create archives of all these dependencies in my satis. But satis only create archives from the given…
Marvin Caspar
  • 1,319
  • 1
  • 14
  • 25
3
votes
1 answer

How to make Satis package dependencies install from packagist

I've successfully set up Satis on my own server and am able to pull in packages from it. However, dependencies that are required in those private packages are constantly being cloned at their bleeding edge version instead of the specified version…
Propaganistas
  • 1,674
  • 1
  • 17
  • 40
3
votes
1 answer

Composer require-dev autoload from package not added to project's autoload

I have made a composer package with the following settings in the composer.json file: "autoload": { "psr-4": { "MyVendor\\MyPackage\\": "src/" } }, "autoload-dev": { "psr-4": { "Test\\Unit\\MyProject\\MyPackage\\":…
Guillaume Lavoie
  • 567
  • 4
  • 19
3
votes
1 answer

composer private package based on gitlab is identified as git submodule

I made some private packages for composer on company's gitlab. But when require my private package on other project,it is identified as a git submodule,so I can't push it to the production environment. I follow composer document to alter my…
LiaoL
  • 121
  • 1
  • 8
3
votes
0 answers

Protect Satis dist files

I understand that Satis is just a build script that will compile the list of repos for me. But since I'm such a newbie here I cannot figure out the correct way to protect my dist files at all. Right now I have all my private repos setup in a Satis…
mr1031011
  • 3,574
  • 5
  • 42
  • 59
3
votes
1 answer

Composer: Multiple packages in SVN repository

I'm working on a project (let's call it Application A) which contains multiple modules (like module A and module B). Those modules are used in this project, but I also want those modules to be exposed to other projects (so Application B can use…
Tom Drissen
  • 323
  • 2
  • 9
2
votes
0 answers

How to enable cache for Satis composer registry in Artifactory

I have a problem setting up internal composer registry in artifactory. For a long time we are using satis as a registry for php packages, but currently we slowly moving to artifactory for other languages and want same for php. I've configured…
mrsombre
  • 43
  • 3
2
votes
0 answers

How can I use Satis to recognize my Gitlab Releases instead of tags?

When pointing satis to a Gitlab repo, it chooses a dist url that mirrors the source url instead of finding the Gitlab Release and using the dist zip artifact. Let's say your satis.json looks like this: { "repositories": [ { "type": "vcs",…
parleer
  • 1,220
  • 3
  • 12
  • 22
2
votes
2 answers

file_get_contents: Unable to set local cert chain file

We're using composer to upgrade dependencies with Satis. After a recent server upgrade we were unable to do so. Narrowing down possible causes, we've discovered, that file_get_contents php function fails while trying to establish an ssl connection.…
serqol
  • 21
  • 4
2
votes
0 answers

Satis for Python

Is there anything like Satis from PHP for Python? I've tried some tools for "private pypi's" respectively private package indexes like devpi or pyshop. I want to mirror some packages which are also needed offline, but I don't want to mirror the…
Thorbijoern
  • 356
  • 2
  • 11
2
votes
1 answer

What's the proper way to use SATIS with shared internal library

The problem: I have Entities that are and will be the same for 2 projects written in Symfony. We got an idea to share them between projects. The first idea was to use git sub-module but everyone knows that it's not the most comfortable solution. So…
Robert
  • 19,800
  • 5
  • 55
  • 85
2
votes
1 answer

Composer - Set local repo as the first preference

I have just setup a local repo on my PC, and its working very well. But the problem is when I am installing a package the composer tool checks the packagist repo first instead of my local repo. I want the local repo to be checked first. How can fix…
B.A.B
  • 275
  • 1
  • 3
  • 7
2
votes
1 answer

Satis http basic auth - pass credentials

I have set up satis private composer packet manager. Satis is running on "packages.asc.company", I protected the site by apache2 http basic authentication and can open it in browser by entering http basic auth credentials. Now my question: How can I…
user3746259
  • 1,491
  • 2
  • 23
  • 46
2
votes
1 answer

Composer satis, time to build private packages

I have many private repositories at Bitbucket, there are about 100 repo's (+/-). Time to build them by php bin/satis build takes a long time, somewhere about 3 minutes. How can i refresh one repository or optimize time of building. Because i saw…
Oleksandr Mosur
  • 1,148
  • 8
  • 17
2
votes
1 answer

Satis circular dependencies

I have a project with multiple packages Each package is in a private git repository. Some of the packages have dependencies of each other. You can check here how my satis http://codepen.io/anon/pen/wBOEQW page looks like. Now if I clone the…
Tomahock
  • 471
  • 3
  • 11