Download the PHP package cable8mm/db-to-markdown without Composer
On this page you can find all versions of the php package cable8mm/db-to-markdown. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package db-to-markdown
DB to markdown
This tool is specialized in generating Markdown files, particularly designed for creating Jekyll Markdown documents from a database. You can generate your own Markdown, such as Jekyll, Astro, Gatsby, or any other format you prefer.
We have provided the API Documentation on the web. For more information, please visit https://www.palgle.com/db-to-markdown/ ❤️
Features
- [x] Any schema can generate Markdown in any desired format
- [x] Effortlessly incorporate your custom mapper and command
- [x] Implement callback body and datetime functionality
- [x] Database testing is supported
Preview
Support & Tested
Versions | PHP 8.0.2 | PHP 8.1.* | PHP 8.2.* | PHP 8.3.* |
---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ |
Installation
Usage
Configure .env
to connect to your own database. If .env
configuration is not provided, SQLite connection is established.
Database connection is established,
How to Develop Custom Commands
- Please fill in the database connection information in the
.env
file. You can verify it by using the composer test command. - You can create a mapping class in the
src/Mappers/
folder for input and a format class in thesrc/Formats
for output. - Finally, you can create a command of your choice in the
src/Command
folder.
I have already prepared the mapper, format class, and command.
Formatting
Test
It uses the built-in SQLite database, not your own database. It will never cause harm to your data. You don't need to worry about that.
License
The DB to markdown project is open-sourced software licensed under the MIT license.
All versions of db-to-markdown with dependencies
symfony/console Version ^6.0|^7.0
vlucas/phpdotenv Version ^5.0
catfan/medoo Version ^2.0
nesbot/carbon Version ^2.72.0|^3.0
cable8mm/array-flatten Version ^1.0
league/html-to-markdown Version ^5.0