This project is a Laravel-zero cli application that integrates with The Movie Database (TMDB) API to provide movie information.
- Search for movies
- View movie details
- List popular movies
- List top-rated movies
- Clone the repository:
git clone https://github.com/yourusername/tmdb-laravel.git
- Navigate to the project directory:
cd tmdb-laravel
- Install dependencies:
composer install
- Copy the
.env.examplefile to.env:
cp .env.example .env
- Add your TMDB API key to the
.envfile:
TMDB_READ_ACCESS_TOKEN=your_tmdb_api_key
- Generate PHAR
php tmdb-cli app:build <app_name>
- Run the application:
./build/<app_name> <command>