New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude unnecessary files from composer package #9
Comments
This info might help.
|
Now Smaller Package FileAs of v1.0.1, the package Only the minimum files will be downloaded. $ mkdir sample_project && cd $_
$ composer require --no-cache keinos/parsedown-toc
Using version ^1.0 for keinos/parsedown-toc
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing erusev/parsedown (1.7.3): Downloading (100%)
- Installing keinos/parsedown-toc (1.0.1): Downloading (100%)
Writing lock file
Generating autoload files
$ tree
.
├── composer.json
├── composer.lock
└── vendor
├── autoload.php
├── composer
│ ├── ClassLoader.php
│ ├── LICENSE
│ ├── autoload_classmap.php
│ ├── autoload_files.php
│ ├── autoload_namespaces.php
│ ├── autoload_psr4.php
│ ├── autoload_real.php
│ ├── autoload_static.php
│ └── installed.json
├── erusev
│ └── parsedown
│ ├── LICENSE.txt
│ ├── Parsedown.php
│ ├── README.md
│ └── composer.json
└── keinos
└── parsedown-toc
├── Extension.php
├── LICENSE
├── README.md
└── composer.json
6 directories, 20 files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As simple as possible, the downloaded package should be
When
composer require keinos/parsedown-toc
, composer brings the tests and samples files down to the user's local.I want user local dir to be as minimum as possible. Only the necessary files.
The text was updated successfully, but these errors were encountered: