Download the PHP package shmandalf/excelentor without Composer
On this page you can find all versions of the php package shmandalf/excelentor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shmandalf/excelentor
More information about shmandalf/excelentor
Files in shmandalf/excelentor
Package excelentor
Short Description A wizard-grade PHP library that turns boring spreadsheets into elegant PHP objects. Cast spells on Excel/CSV files to automatically parse, map, and hydrate data into strongly-typed object collections.
License MIT
Informations about the package excelentor
🧙 Excelentor
[!CAUTION]
🏛️ ARCHIVED PROJECT
This project is maintained for legacy purposes only. My engineering focus has shifted toward High-Performance Asynchronous PHP and system architecture.
Looking for speed? Check out my latest work: 🚀 FAST.Atomic.Flow — Asynchronous PHP engine powered by Swoole.
Excelentor is a wizard-grade PHP library that transforms mundane spreadsheets into elegant, strongly-typed PHP objects. Cast powerful spells (annotations) upon your DTOs and watch as Excel/CSV files magically hydrate into object collections.
✨ What Sorcery Is This?
Tired of writing the same boring spreadsheet parsing code? Excelentor transforms your Excel/CSV files into strongly-typed PHP objects with just a few magical annotations. No more array indices, no more manual validation, no more type juggling.
🆚 Why Not Just array_map?
| With Excelentor | Without Excelentor |
|---|---|
$user->email |
$row[42] |
| Automatic validation | Manual if-else |
| Type hints in IDE | "What's in index 7 again?" |
🧙♂️ Magical Prerequisites
- PHP 8.1+ (The ancient language of wizards)
- ext-mbstring (For deciphering runes)
- League/CSV or PhpSpreadsheet (Scroll readers)
🚀 Installation
🔮 Features That Feel Like Magic
Annotation-Based Mapping
Automatic Type Casting
Built-In Validation
Meaningful Error Messages
📚 Quick Start Guide
1. Define Your Data Structure
2. Parse Your Spreadsheet
🏗️ Real-World Examples
E-commerce Product Import
User Registration from CSV
🔧 Advanced Usage
Custom Date Formats
Boolean Parsing (Supports Multiple Formats)
Working with Different Data Sources
⚡ Performance
Excelentor is built for speed:
- Zero configuration overhead - annotations are cached
- Generator-based parsing - memory efficient for large files
🤝 Contributing
Found a bug? Have a feature request? Contributions are welcome!
- Fork the repository
- Create a feature branch (git checkout -b feature/amazing-feature)
- Commit your changes (git commit -m 'Add amazing feature')
- Push to the branch (git push origin feature/amazing-feature)
- Open a Pull Request
📄 License
Excelentor is open-sourced software licensed under the MIT license.
🧙♂️ About the Wizard
Excelentor was crafted by Shmandalf during a magical coding session that lasted exactly 21 days. When not parsing spreadsheets, he can be found optimizing database queries and arguing about monads.
"May your types be strong and your exceptions meaningful!"
Ready to transform your spreadsheet chaos into typed harmony?