PHP code example of alexgh12 / help_center

1. Go to this page and download the library: Download alexgh12/help_center library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

alexgh12 / help_center example snippets




return [
    'enabled' => env('HELP_CENTER_ENABLED', true),
    'path_views' => env('HELP_CENTER_PATH_VIEWS', 'help-center'),
    'path_docs' => env('HELP_CENTER_PATH_DOCS', 'resources/docs/'),
    'default_file' => env('HELP_CENTER_DEFAULT_FILE', 'introduction.md'),
    'auth' => env('HELP_CENTER_AUTH', false),
];
bash
# Publicar configuración
php artisan vendor:publish --tag=help-center-config

# Publicar documentación de ejemplo
php artisan vendor:publish --tag=help-center-docs
markdown
# Título del artículo

Este es un párrafo de ejemplo.

## Subtítulo

- Elemento 1
- Elemento 2

### Código

\`\`\`php


echo "Hola mundo";
\`\`\`

### Tabla

| Columna 1 | Columna 2 |
|-----------|-----------|
| Dato 1    | Dato 2    |