Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

fadilxcoder/hfx-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes

  • Use virtual host
  • Command : php bin/console database:users up|down|seed
  • Elasticsearch
  • Algolia with below configs
    • curl.cainfo="C:\wamp64\www\hfx-app\cacert.pem" in php.ini via Apache
  • Custom made command in composer.json - php bin/console who:am:i
  • Curl extension should be activated in php

Packages

Converting PDF to text (.md)

  • https://packagist.org/packages/spatie/pdf-to-text - composer require spatie/pdf-to-text
  • File : PdfGeneratorCommand.php
  • Command to generate PDF php bin/console generate:pdf
  • PDFs : public/pdf/*.pdf
  • Mardown file (.md) : public/pdf-to-text/text-file.md

ESX Query DSL (Domain Specific Language)

{
	"query": {
		"bool": {
			"must": {
				"prefix": {
					"name": "wisoky"
				}
			}
		}
	}
}