The Aura Platform is an AI-powered Laravel-based API application designed using the MVC architecture that allows students to upload PDF documents and receive intelligent AI-generated summaries. The platform leverages advanced AI technology to extract key insights from academic documents, making studying more efficient and effective for students worldwide.
- PHP 8.3+
- Laravel 12.x
- MySQL Database
- RESTful API Architecture
- Laravel Sanctum (API Authentication)
- Queue System for Background Processing
- Mail Services (SMTP/Email Notifications)
- PDF Parser/Reader
- File Storage (Local/Cloud)
- Event Broadcasting
- Cache Management
- API Rate Limiting
Before running the application, ensure you have the following installed:
- PHP 8.3 or higher
- PHP package manager (Composer)
- Laravel 12.x
- MySQL Database
- Web server (Apache, Nginx, or similar)
- AI API Keys (OpenAI or Claude)
OR
-
All in one solutions (ex: XAMPP, Laragon, Laravel Herd)
-
Recommended: Install Laragon
For a smooth and hassle-free local development setup, we recommend installing Laragon. It's a powerful all-in-one environment that comes preconfigured with essential tools like PHP, MySQL, Composer, and more. Laragon is lightweight, easy to use, and ideal for running Laravel API projects like Aura.
-
To set up the project, follow these steps:
1- Clone the repository:
git clone https://github.com/Ammoor/Aura.git
cd Aura
2- Install dependencies:
composer install
3- Create and configure the .env file:
cp .env.example .env
php artisan key:generate
Make sure you set the .env file with proper configuration including:
- Database credentials
- AI API keys
- Mail configuration
- File storage settings
4- Run migrations:
php artisan migrate
5- Create storage link for file uploads:
php artisan storage:link
6- Start the queue worker (for background processing):
php artisan queue:work
7- Start the development server:
php artisan serve
The .env file should be configured with the following:
- APP_URL: The URL where your API will be hosted
- Database configuration: DB_CONNECTION, DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD
- AI API Configuration: OPENAI_API_KEY or CLAUDE_API_KEY
- Mail Configuration: MAIL_MAILER, MAIL_HOST, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD
- File Storage: FILESYSTEM_DISK (local, s3, etc.)
The API uses Laravel Sanctum for token-based authentication:
- Email Verification: Users must verify their email before accessing AI features
- Secure Registration: Password hashing and validation
- Token Generation: API tokens for authenticated requests
- User registers with email and password
- Email verification code is sent
- User verifies email with code
- API token is generated for authenticated requests
- Token must be included in Authorization header for protected endpoints
-
PDF Upload & Processing:
- Secure file upload with validation
- PDF text extraction and parsing
- File storage management
-
AI-Powered Summarization:
- Integration with advanced AI models
- Intelligent content analysis
- Customizable summary length and style
-
User Management:
- Secure user registration and authentication
- Email verification system
- Profile management
POST /api/register
- User registrationPOST /api/verify-email
- Email verificationPOST /api/login
- User loginPOST /api/logout
- User logout
POST /api/upload-pdf
- Upload PDF for summarizationGET /api/summaries
- Get user's summary historyGET /api/summaries/{id}
- Get specific summaryDELETE /api/summaries/{id}
- Delete summary
GET /api/user
- Get user profilePUT /api/user
- Update user profileDELETE /api/user
- Delete user account
Aura features a comprehensive email notification system:
- Welcome Email: Sent after successful email verification
- Verification Email: Contains verification code for account activation
- Login Notification: Security alert for new login sessions
- Account Deletion: Confirmation email when account is deleted
- Summary Ready: Notification when PDF summarization is complete
All emails are professionally designed with consistent branding and responsive templates.
The application uses the following main tables:
- Users Table: Stores user authentication and profile information
- Pending Email Verifications Table: Manages email verification codes
- PDF Summaries Table: Stores processed PDF summaries and metadata
- User Sessions Table: Tracks user login sessions for security
Aura leverages cutting-edge AI technology to provide intelligent PDF summarization:
- OpenAI GPT Models: Advanced language understanding and summarization
- Claude AI: High-quality content analysis and summary generation
- Intelligent Content Extraction: Advanced PDF parsing and text extraction
- Context-Aware Summarization: AI understands document structure and importance
- Customizable Output: Different summary styles and lengths available
- Quality Assurance: AI-powered content validation and quality checks
- Secure File Upload: File validation and sanitization
- Encrypted Storage: Sensitive data encryption
- Rate Limiting: API rate limiting to prevent abuse
- Input Validation: Comprehensive request validation
- Password Hashing: Secure password storage using Laravel's built-in hashing
- Token Management: Secure API token generation and management
- Email Verification: Required email verification for account activation
- Session Security: Secure session management and tracking
- Queue System: Heavy operations processed in background
- Asynchronous Processing: Non-blocking PDF processing
- Email Queuing: Email notifications sent asynchronously
- Caching: Intelligent caching for improved performance
- Database Optimization: Efficient queries and indexing
- File Management: Optimized file storage and retrieval
https://your-domain.com/api
All protected endpoints require an Authorization header:
Authorization: Bearer {your-api-token}
All API responses follow a consistent format:
{
"success": true,
"message": "Operation completed successfully",
"data": {
// Response data
},
"statusCode": 200
}
Comprehensive error responses with detailed messages and appropriate HTTP status codes.
- Unit tests for core functionality
- Feature tests for API endpoints
- Integration tests for AI services
- Laravel Telescope: Application debugging and monitoring
- Laravel Tinker: Interactive development environment
- API Testing: Postman collections available
- PHP 8.3+ with required extensions
- MySQL 8.0+ or compatible database
- Web server (Nginx/Apache) with proper configuration
- SSL certificate for HTTPS
- AI API keys and proper rate limits
- Configure
.env
for production - Set up queue workers
- Configure file storage (local or cloud)
- Set up monitoring and logging
- Multi-format Support: Support for DOCX, TXT, and other document formats
- Advanced AI Options: Multiple AI models and customization options
- Collaboration Features: Shared summaries and team workspaces
- Analytics Dashboard: Usage analytics and insights
- Mobile App Integration: Dedicated mobile applications
- Custom AI Training: Domain-specific model fine-tuning
- Multi-language Support: International language processing
- Advanced Summarization: Chapter-wise and section-specific summaries
We welcome contributions to Aura! Please follow these guidelines:
- Fork the repository
- Create a feature branch
- Make your changes with proper tests
- Submit a pull request with detailed description
- Follow PSR-12 coding standards
- Write comprehensive tests
- Document new features
- Maintain backward compatibility
- Documentation: Comprehensive API documentation
- Issue Tracker: GitHub issues for bugs and feature requests
- Community: Discord/Slack community for discussions
If you encounter any issues, please report them through our GitHub repository with:
- Detailed description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Environment details
Aura is released under the MIT License, allowing for both personal and commercial use with proper attribution.
- Responsible AI usage in compliance with provider terms
- Data privacy and security compliance
- Ethical AI practices and transparency
- GDPR Compliant: European data protection compliance
- Data Minimization: Only necessary data collection
- User Rights: Complete data control and deletion rights
Aura was built with the following technologies and services:
- Laravel Framework: Robust PHP framework for rapid development
- AI Providers: OpenAI and Anthropic for advanced AI capabilities
- Open Source Community: Various packages and libraries that make this possible
This project was proudly created by the Aura development team, combining innovation, artificial intelligence, and educational technology. Users are welcome to use and customize the code under the MIT license, but we kindly request proper attribution to honor the team's efforts and the open-source community.
Aura - Empowering students with AI-powered learning tools.
© 2025 Aura. All rights reserved.