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.

FAQ

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 db-to-markdown

DB to markdown

code-style run-tests Packagist Version Packagist Downloads Packagist Dependency Version Packagist Dependency Version Packagist Stars Packagist License

This tool generates Markdown files from a database table. It supports multiple output formats including Jekyll, Astro, Gatsby, or any custom format you create.

We have provided the API Documentation on the web. For more information, please visit https://www.palgle.com/db-to-markdown/ ❤️

Features

Preview

Preview

Support & Tested

Versions PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
Available

Installation

After installation, run the init command to create the required configuration files:

Configuration

1. Database Connection (.env)

Copy .env.example to .env and configure your database connection:

If .env is not provided, SQLite is used by default with database/database.sqlite. You can customize the SQLite path by setting DB_DATABASE in your .env file. To skip database configuration entirely, leave .env out and use php bin/console seeding to seed the built-in SQLite database.

2. Table Mapping (db-to-markdown.json)

Configure your table structure and field mapping in db-to-markdown.json:

Field Descriptions:

Usage

Quick Start (SQLite Demo)

Available Commands

Command Options

How to Develop Custom Commands

  1. Run init to create configuration files, or create them manually:

    • .env for database credentials
    • db-to-markdown.json for table/field mapping
  2. Create a mapper in src/Mappers/ to define your table field mapping (see existing examples).

  3. Create a format in src/Formats/ to define how output files are rendered (Markdown, Jekyll, etc.).

  4. Create a command in src/Command/ extending BaseCommand or implementing your own logic.

  5. Register your command in bin/console.

Formatting

Test

It uses the built-in SQLite database, not your own database. It will never cause harm to your data.

License

The DB to markdown project is open-sourced software licensed under the MIT license.


All versions of db-to-markdown with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
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
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 cable8mm/db-to-markdown contains the following files

Loading the files please wait ...