This repository contains a sample Laravel web application, showcasing integration with the following platforms:
Before setting up the project, ensure the following are installed on your system:
- PHP (version 8.0 or higher)
- Composer (for PHP dependency management)
- Web Server (e.g., Apache or Nginx)
- Database Server (e.g., MySQL or PostgreSQL)
To get started, clone this repository to your local machine:
git clone https://github.com/ladybirdweb/agora-integration-sample.git
Move into the project directory:
cd agora-integration-sample
Run the following command to install all the required PHP dependencies:
composer install
This will download and install all the libraries listed in the `composer.json` file.
Laravel uses an environment file (.env
) for configuration settings. Create a new .env
file by copying the example file:
cp .env.example .env
Generate an application key, which is required by Laravel to secure encrypted data:
php artisan key:generate
This command will set the APP_KEY
in your .env
file.
Open the .env
file and configure the database settings:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password
Replace your_database_name
, your_database_username
, and your_database_password
with your actual database credentials.
Run the following command to migrate the database tables:
php artisan migrate
Run the database seeder to populate the database with initial data:
php artisan db:seed
Ensure that the storage
and bootstrap/cache
directories are writable by the web server.
chmod -R 775 storage
chmod -R 775 bootstrap/cache
icacls storage /grant "IIS_IUSRS:(OI)(CI)F"
icacls bootstrap/cache /grant "IIS_IUSRS:(OI)(CI)F"`
Note: Replace IIS_IUSRS
with the appropriate user group if using a different web server or environment.
Run the Laravel development server locally:
php artisan serve
Your application will be served on http://127.0.0.1:8000
.
If you encounter any issues during setup, try the following:
- Double-check your
.env
file for correct configurations. - Ensure that all required services (database, web server) are running.
- Refer to the Laravel documentation for more detailed instructions.
- Laravel Framework - The base PHP framework used in this application.
- Admin LTE Theme - The front-end theme used.
If you discover any security vulnerabilities, please report them to support@faveohelpdesk.com. You will receive a response within 48 hours. If confirmed, we will release a patch based on the complexity, usually within a few days.
For assistance, visit the issue page. If you need professional support, you can contact us through the Faveo Helpdesk contact form.
Stay updated by following us on social media: