ondrakoupil / app-tools
A bunch of tools and utilities for my projects
Requires
- php: >=8.0
- ext-curl: *
- ext-fileinfo: *
- ext-gd: *
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- ext-zlib: *
- aspera/xlsx-reader: ^1.1
- ondrakoupil/tools: ^1.2.7
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
- psr/log: ^1.1
Requires (Dev)
- nette/tester: ^2.2
- rector/rector: ^0.12.13
- slim/slim: ^4
- vrana/notorm: dev-master
Suggests
- aspera/xlsx-reader: Required for XLSX reading functionality
- nette/neon: Required for AppSettings
- phpoffice/phpspreadsheet: Required for XLSX writing functionality
- psr/log: Required for Logger
- rah/danpu: Required for BackupsManager
- slim/slim: Required from Slim stuff. Use v4.
- vrana/notorm: Required for Importing, SimpleApi and some other stuff
This package is auto-updated.
Last update: 2024-11-05 15:01:26 UTC
README
This is a set of PHP tools I use on my projects. You can use whatever you like, but I guarantee nothing. Ye be warned.
Auth
Pre-baked tools for user authentication in Slim PHP. Also has one-time tokens.
Config
Tool for saving/reading dynamic config values to/from database or other storage.
Data
For working with more complex data structures
Importing
Tools for reading data from CSV or similar sources and dumping them to DB. Also contains pseudo-DB wrapper that enables performing dry-runs of sime importing tasks.
AGGrid
Backend for saving preferences from AGGrid, meant to use with Slim PHP
App settings
For reading settings from file, meant to use with Slim PHP
Middlewares for Slim PHP
Cache control, GZip output, CORS etc
Some other stuff
- BackupsManager - create DB dumps to file from PHP
- Logger - supersimple PSR-compatible logger
- PDOBuilder - I usually can't remember how a DNS string should look like. This is my solution.
- etc.