Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naoyamiyagawa/cakephp4-csv-download-demo
Demo implementation for CSV/TSV download in CakePHP4
https://github.com/naoyamiyagawa/cakephp4-csv-download-demo
cakephp4 csv php tsv
Last synced: about 2 months ago
JSON representation
Demo implementation for CSV/TSV download in CakePHP4
- Host: GitHub
- URL: https://github.com/naoyamiyagawa/cakephp4-csv-download-demo
- Owner: NaoyaMiyagawa
- Created: 2022-11-26T17:32:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T10:51:24.000Z (about 2 years ago)
- Last Synced: 2024-12-16T15:14:45.253Z (about 2 months ago)
- Topics: cakephp4, csv, php, tsv
- Language: PHP
- Homepage:
- Size: 333 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CakePHP4 CSV/TSV Download Demo
This is a sample app to implement CSV/TSV download feature with CakePHP4. (it can be implemented in the same way in CakePHP3 as well)
- [CakePHP4](https://cakephp.org/)
- [sathi/csv-combine](https://github.com/satthi/csv-combine)More detailed is here:
[CakePHPでCSV/TSVダウンロード機能を実装する🥮 - Fusic Tech Blog](https://tech.fusic.co.jp/posts/2022-11-27-cakephp-csv-tsv-download/)[See Implemetations](https://github.com/NaoyaMiyagawa/cakephp4-csv-download-demo/compare/5cc67326f620791cbaab7eca61a25a5ffbf09044...7886cc21c8374badf11de2df74446bec77299149)
## How to Get Started
```bash
cp .env.example .env; vim .envdocker compose up -d
# Install php dependencies
docker compose exec web composer install
```Visit http://localhost/pages/demo
![demo_page](./docs/demo_page.png)
## Sample Files
Can be found here `./sample_files`