camilo/quotes
Composer 安装命令:
composer require camilo/quotes
包简介
A Laravel package that consumes quote data from the https://dummyjson.com/quotes API
README 文档
README
Prerequisites
To run this application you will need:
- PHP 8.1 or higher
- Composer installed
- Node.js version 20 or higher
- Git (to clone the repository)
Environment Setup
1. Installation
There are two options to install this application:
Option 1: Clone the repository
git clone https://github.com/K1000o-Lp/quotes.git
cd quotes
Option 2: Via Composer
composer require camilo/quotes
2. Configure environment variables
Copy the example environment variables file:
cp .env.example .env
Make sure to properly configure the following variables:
CACHE_DRIVER=file
3. Install dependencies
# Install PHP dependencies composer install # Install Node.js dependencies npm install
Publish package assets
Execute next commands:
# The flag --force is optional, use it when you want overwrite the assets because the package is updated
php artisan vendor:publish --tag=quotes.assets --force
Compiling assets
For development:
npm run dev
For production:
npm run build
Optimizing the application
php artisan optimize
Ready!
Now you can enjoy Camilo App Quotes! Open your browser and go to http://localhost:8000.
License
The Laravel framework is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-13