A Laravel-based clone of the Opay platform, featuring payment processing, user management, and an intuitive admin dashboard. This project aims to replicate the core functionalities of Opay, providing a full-fledged payment solution with a customizable backend.
- User Authentication: Register, login, and manage users with secure authentication.
- Payment Gateway Integration: Process payments using popular payment APIs.
- Admin Dashboard: Manage users, payments, and other platform settings.
- Laravel Backend: Utilizes Laravel’s powerful features such as Eloquent ORM, routing, and security.
- Blade Templating: Clean, responsive front-end powered by Blade.
- Role-based Access Control: Separate user roles with different permissions for admin and regular users.
- Notifications: Receive payment success/failure notifications.
Follow these steps to set up the project locally:
- PHP >= 8.0
- Composer
- Node.js and npm
- MySQL or any other database supported by Laravel
- Git
Clone the repository to your local machine:
git clone https://github.com/certifiedcoder001/opay-clone.git
cd opay-clone
Run the following commands to install the necessary PHP and JS dependencies:
composer install
npm install
Create a copy of the .env.example file:
cp .env.example .env
Then, open the .env file and configure your database and other settings as needed.
Generate the application key by running:
php artisan key:generate
Migrate the database to create all necessary tables:
php artisan migrate
To compile your assets, run:
npm run dev
This will compile your CSS, JavaScript, and other assets.
Finally, serve the application:
php artisan serve
The application should now be available at http://localhost:8000.
Once the app is running, you can navigate through the following sections:
- User Authentication: Register or login to your user account.
- Payment Processing: Test payments and manage transaction statuses.
- Admin Dashboard: Login as an admin to view and manage user and payment data.
Contributions are welcome! You can help by reporting bugs, requesting features, or submitting pull requests.
- Steps to Contribute
- Fork the repository.
- Create a new branch (git checkout -b feature/your-feature).
- Make your changes and commit them (git commit -am 'Add new feature').
- Push to your forked repository (git push origin feature/your-feature).
- Create a pull request.
Please refer to our contribution guidelines for more details on contributing.
This project is open-source and available under the MIT License.
- Laravel for providing a solid, secure backend framework.
- Blade for creating beautiful, simple templates.
- All contributors for making this project better!