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
17
votes
2 answers

Can I synchronize or mirror dependencies from packagist.org with my own Composer Satis installation?

We have our own Satis repository, we can store there our own dependencies. This works fine. But if a developer uses a package that is not within in our own repository, then Composer will fetch it from GitHub through packagist.org (as a fallback).…
Niborb
  • 774
  • 5
  • 15
14
votes
3 answers

Where to register autoload when the vendor is not managed with composer in Symfony 2.1?

I'm using symfony 2.1 and I want to add a library to vendors. The library do not exists in packagist. I can't manage it with composer. When I install bundles or others vendors through composer, it manage autoload for me. But where to register…
smoreno
  • 3,129
  • 3
  • 32
  • 49
13
votes
3 answers

Composer Not Generating Autoloads For Library

I've set up two projects, an 'init' and a library, which is required by the init. They both have PSR-0 autoloads set, but the autoload values from the library are not added to the vendor/composer/autoload_namespaces.php in the init project. Sample…
bmcgavin
  • 203
  • 1
  • 3
  • 7
7
votes
1 answer

Use local repo in satis repository

I have a server in which I have a few git repos and a satis repository setup. I'd like to setup the satis repository to list the local repos. // satis.json { "name": "NJ16 Repositories", "homepage": "http://packages.example.com", …
NicholasJohn16
  • 2,390
  • 2
  • 21
  • 45
7
votes
2 answers

UnexpectedValueException Could not parse version constraint ^1.0.2: Invalid version string "^1.0.2"

Composer gives the following error: Could not load package phpspec/prophecy in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^1.0.2: Invalid version string "^1.0.2"
ThorSummoner
  • 16,657
  • 15
  • 135
  • 147
7
votes
2 answers

Satis Composer Repository Installation

I am really new to Satis and I found this tutorial: https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md. But I still can't get myself started. Is Satis is installed by project based? If so, would that mean I have to install…
user1995781
  • 19,085
  • 45
  • 135
  • 236
6
votes
2 answers

Creating satis composer private repository for wordpress themes and plugins

My objective is to have a composer.json file committed to our project repository that specifies what theme(s) or plugin(s) should be used for that project and when a developer pulls down the repo all they need to do is run composer install. We want…
Phil Cook
  • 2,025
  • 19
  • 25
6
votes
2 answers

Satis - specify SSH key to git server

I have a satis.json file specified like so: { "name": "My organizations Satis Server", "homepage": "http://satis.mydomain.org", "repositories": [ { "type": "vcs", "url":…
Programster
  • 12,242
  • 9
  • 49
  • 55
5
votes
1 answer

Composer Satis Repository seems to be referring to source URL rather than dist URL

I have a Satis server with basic HTTP authentication set up. The config file looks like this: { "name": "MySatisServer", "homepage": "https:\/\/satis.example.co.uk", "repositories": [ { "type": "git", …
Tom Wright
  • 2,841
  • 4
  • 22
  • 30
5
votes
2 answers

Can I host a satis repo simply as a github repo?

I've set up a satis repository on github to share some company internal packages across projects. Now when I try to "depend" on the new repository, I tried this: "repositories": [ { "type": "composer", "url":…
Letharion
  • 4,067
  • 7
  • 31
  • 42
5
votes
1 answer

Create a private package?

I'm creating a package but I would like to keep it private so only members of my dev team can use it. I've checked this out on Google and Satis came back as an option. I was just wondering do I need to use Satis to keep my package private or is…
panthro
  • 22,779
  • 66
  • 183
  • 324
5
votes
2 answers

How to use composer with a non-packagist github project containing a packages.json

I want to put https://github.com/timrwood/moment into my composer.json for easy maintenance. It's not an official packagist project (of course, as it's not PHP), but it contains a packages.json for nodejs. Can I use this in my composer.json? I tried…
acme
  • 14,654
  • 7
  • 75
  • 109
4
votes
1 answer

Why should have I to use Satis if i can specify private repos in composer.json?

I'm developing some libraries i frequently use across more than one project and i use GIT to version them. Now, i'd like to use them through Composer. Here comes my question: Composer makes me able to specify some private repositories from which i…
Aerendir
  • 6,152
  • 9
  • 55
  • 108
3
votes
0 answers

Updating to the latest commit in branch without rebuilding satis

I recently started using the Composer repository generator Satis for hosting my own private packages. What I find a bit annoying is that during development of a project, which is using some of the repositories generated by the Satis, I always have…
Lukáš Jelič
  • 529
  • 3
  • 8
  • 22
3
votes
2 answers

How to connect a remote composer in artifactory to a php satis repository?

I would like to make a remote repository artifactory on a PHP satis repository. Below is the configuration of the target satis repository: { "name": "Satis", "homepage": "http://satis.server:48081", "repositories": [ { "type":…
user47
  • 31
  • 2
1
2 3 4 5 6 7