Download the PHP
package luyadev/luya-composer without Composer
On this page you can find all versions of the php package
luyadev/luya-composer. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package luya-composer
LUYA Composer Plugin
Following Tasks are done by the luya composer task:
Provides the symlink to the bin file inside the root directory of the application.
Bind blocks into the system without a module
Add files to the LUYA Bootstrapping process.
In order to enable luya extra section in your package, the package type must be either luya-extension or luya-module.
An example of define a blocks folder inside your composer json file.
LUYA will now import those blocks when running the import command.
For root packages there is a symlink property available inside luya section of extra in order to disable the symlink of luya binary into application folder.
Local Testing for Composer Plugin Development
In order to test the luya composer plugins you have to create a new folder outside of the current luya-composer folder and include the the composer package with a composer.json as following:
Then you can create a test.sh file to test the plugin process like
Give the script test.sh the permissions with chmod +x test.sh and now run
In order to test the installer events you have to create a sub package like
The sub package must be linked in your local testing composer.json
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package luyadev/luya-composer contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.