PHPackages                             jlaso/composer-scripts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jlaso/composer-scripts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jlaso/composer-scripts
======================

Composer scripts

1.0.2(9y ago)049MITPHPPHP &gt;=5.4

Since Sep 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jlaso/composer-scripts)[ Packagist](https://packagist.org/packages/jlaso/composer-scripts)[ Docs](https://github.com/jlaso/composer-scripts)[ RSS](/packages/jlaso-composer-scripts/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

composer-scripts
================

[](#composer-scripts)

Composer Scripts is a way to automatize task when composer finish updating or installing.

Let's see an example:

We want to install a theme in the vendor forlder but use it in a source Bundle.

We just have to create a yml file with this structure

```
# app/config/composer-scripts.yml
scripts:
    copy:
        -
            source: vendor/gurayyarar/AdminBSBMaterialDesign/css
            dest: src/Acme/AdminBundle/Resources/public/css
            method: ln
        -
            source: vendor/gurayyarar/AdminBSBMaterialDesign/images
            dest: src/Acme/AdminBundle/Resources/public/images
            method: ln
        -
            source: vendor/gurayyarar/AdminBSBMaterialDesign/js
            dest: src/Acme/AdminBundle/Resources/public/js
            method: ln
        -
            source: vendor/gurayyarar/AdminBSBMaterialDesign/plugins
            dest: src/Acme/AdminBundle/Resources/public/plugins
            method: ln

```

And declare in the composer.json file the next:

```
{
	...
	"require-dev": {
	    ...
		"jlaso/composer-scripts": "1.0",
		...
	},
	"scripts": {
		"post-install-cmd": [
			...
			"JLaso\\ComposerScripts\\Runner::execute"
		],
		"post-update-cmd": [
	        ...
			"JLaso\\ComposerScripts\\Runner::execute"
		]
	},
	...
	"extra": {
	    ...
		"jlaso-composer-scripts": "app/config/composer-scripts.yml",
		...
	}
}

```

when you launch composer install or composer update at the end of the process composer-scripts will create symbolink links for the folders declared.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~74 days

Total

2

Last Release

3496d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f19216fd9d91bd7cfff14362e2ddb5728bd2d8f50d2e0174626fc61510ed33b?d=identicon)[jlaso](/maintainers/jlaso)

---

Top Contributors

[![jlaso](https://avatars.githubusercontent.com/u/1332197?v=4)](https://github.com/jlaso "jlaso (4 commits)")

---

Tags

composerscriptautomatize

### Embed Badge

![Health badge](/badges/jlaso-composer-scripts/health.svg)

```
[![Health](https://phpackages.com/badges/jlaso-composer-scripts/health.svg)](https://phpackages.com/packages/jlaso-composer-scripts)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[altis/local-server

Local Server module for Altis

18217.0k2](/packages/altis-local-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
