rudiedirkx / composer-localoader-plugin Goto Github PK
View Code? Open in Web Editor NEWComposer plugin to load some dependencies locally
Home Page: https://packagist.org/packages/rdx/composer-localoader-plugin
Composer plugin to load some dependencies locally
Home Page: https://packagist.org/packages/rdx/composer-localoader-plugin
Remove relevant code from localoaded packages on these events:
post-install-cmd
post-update-cmd
because those commands re-add the code, which isn't used, so should be removed.
dump-autoload
shouldn't remove code, but #3
After adding an exception, dump-autoload
to make sure it's used. Should be necessary only once, but every time isn't bad.
composer locaload rdx/http /var/www/inc/HTTP
Adds a locaload entry to this project's locaload.json
.
Manually editing it is probably easier, but a command is handy for the first time.
Currently only PSR-4 and PSR-0 files are supported, but Composer does more than just class autoloading:
"autoload": {
"psr-0": {
"Kris\\LaravelFormBuilder": "src/"
},
"classmap": [
"tests/FormBuilderTestCase.php"
],
"files": [
"src/helpers.php"
]
},
If you use locaload
, you want ALL files aliased to the local package, not just some classes.
Symfony\Component\Console\Application
for args & optionsdump-autoload
Steal bin setup from behat/behat/bin/behat
or alike.
New flag in composer-locaload.json
to NOT remove any localoaded package code. Useful for not removing helpers.php
etc from namespace dirs until #4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.