A Customer Relationship Management (CRM) system built with Laravel for educational institutions.
Agape EDU CRM is a comprehensive customer relationship management system designed specifically for educational institutions. Built on the Laravel framework, it provides tools to manage student information, track interactions, and streamline administrative processes.
- Student information management
- User authentication and authorization
- Role-based access control
- Database migrations and seeders
- Modern UI with Tailwind CSS
- Excel import/export functionality (via FastExcel)
- PHP 8.2 or higher
- Composer
- Node.js and NPM
- MySQL or PostgreSQL database
- Clone the repository:
git clone https://github.com/iamdulanga/agape-edu-crm-laravel.git
cd agape-edu-crm-laravel- Install PHP dependencies:
composer install- Install Node.js dependencies:
npm install- Copy the environment file and configure your database:
cp .env.example .env- Generate application key:
php artisan key:generate- Run database migrations:
php artisan migrate- Seed the database:
php artisan db:seed- Build frontend assets:
npm run build
⚠️ PowerShell Execution Policy Error If you see this error when running the above command:PS C:\Users\dilan\Desktop\agape-edu-crm-laravel> npm run build npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + npm run build + ~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccessThis happens because PowerShell restricts running certain scripts. To fix it, open PowerShell as Administrator and run:
Set-ExecutionPolicy -Scope CurrentUser RemoteSignedThen try
npm run buildagain.
- Start the development server:
php artisan serveTo run the application in development mode with hot reload:
npm run devIn a separate terminal, start the Laravel development server:
php artisan serveRun the test suite using PHPUnit:
php artisan test- Backend: Laravel 12.x
- Frontend: Vite, Tailwind CSS 4.x
- Database: MySQL/PostgreSQL
- Excel Processing: FastExcel
- Testing: PHPUnit
1. .env not found or misconfigured
Ensure you’ve created a .env file from .env.example and updated database credentials correctly.
2. Permission errors on Linux/Mac Run the following to fix permission issues:
sudo chmod -R 775 storage bootstrap/cache3. Node build or Vite not working
If frontend assets fail to compile, remove node_modules and reinstall:
rm -rf node_modules
npm install
npm run build4. Migration or seeding errors Run migrations fresh with seeders:
php artisan migrate:fresh --seed5. Cache issues after environment updates Clear Laravel caches to reflect config or route changes:
php artisan optimize:clearContributions are welcome! Please feel free to submit a Pull Request.
This project is open-sourced software licensed under the MIT license.
This application is built with Laravel, the PHP framework for web artisans.