Download the PHP
package silarhi/llms-txt-bundle without Composer
On this page you can find all versions of the php package
silarhi/llms-txt-bundle. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor silarhi Package llms-txt-bundle Short Description Build, dump and serve an llms.txt file from your Symfony application, the PrestaSitemapBundle way. License
MIT Homepage https://llms-txt-bundle.silarhi.dev
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.
Build, dump and serve an llms.txt file from your Symfony application.
The PrestaSitemapBundle way: listeners fill it, a controller serves it, a command dumps it.
---
## Features
- **Event driven**: listeners of `LlmsTxtPopulateEvent` add the links, from your repositories, like `SitemapPopulateEvent`
- **Route options**: static pages join the file with an `llms_txt` route option, like the `sitemap` one
- **On the fly or dumped**: the controller serves the dumped file when there is one, and builds it otherwise
- **Flat memory**: links added as generators are read one at a time, streamed to the response or the dumped file
- **Spec compliant**: H1 title, blockquote summary, H2 sections of links, the `Optional` section always last, escaped links
- **Discovery**: a `` tag for the `` of your pages and an opt-in `Link` header, through [WebLink](https://symfony.com/doc/current/web_link.html)
## Requirements
- PHP 8.2+
- Symfony 6.4, 7.x or 8.x
## Installation
Import the route serving `/llms.txt`:
## Quick start
`GET /llms.txt` now lists the contact page. Add the pages of your database from
[an event listener](https://llms-txt-bundle.silarhi.dev/guides/event-listener/), or dump the file with
`php bin/console llms-txt:dump`.
## Documentation
Everything else is on **[llms-txt-bundle.silarhi.dev](https://llms-txt-bundle.silarhi.dev)**:
- [Installation](https://llms-txt-bundle.silarhi.dev/getting-started/installation/) and [configuration reference](https://llms-txt-bundle.silarhi.dev/getting-started/configuration/)
- Adding links: [event listeners](https://llms-txt-bundle.silarhi.dev/guides/event-listener/), [generators](https://llms-txt-bundle.silarhi.dev/guides/generators/) for large sections, [route options](https://llms-txt-bundle.silarhi.dev/guides/route-options/)
- [Serving the file](https://llms-txt-bundle.silarhi.dev/guides/serving/), on the fly or dumped
- [Discovery](https://llms-txt-bundle.silarhi.dev/guides/discovery/): `` tag and `Link` header
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md). Release notes are in [CHANGELOG.md](CHANGELOG.md).
## License
Released under the [MIT License](LICENSE).
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 silarhi/llms-txt-bundle 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.