From 7b8177450a2f0e74bf173d01679902e391fc19d5 Mon Sep 17 00:00:00 2001 From: Josh Manders Date: Sat, 5 Jul 2025 23:50:11 -0500 Subject: [PATCH] chore: documentation --- docs/index.mdx | 44 +++++++++++++++++++++++++++++++++++ docs/installation.mdx | 53 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 docs/index.mdx create mode 100644 docs/installation.mdx diff --git a/docs/index.mdx b/docs/index.mdx new file mode 100644 index 0000000..c32f9e5 --- /dev/null +++ b/docs/index.mdx @@ -0,0 +1,44 @@ +--- +title: Cloudinary Laravel +description: Laravel SDK for Cloudinary. +template: splash +hero: + tagline: "Null" +head: + - tag: title + content: Cloudinary Laravel - The Image & Video API for Laravel +--- + +import { CldImage } from "astro-cloudinary"; + +import ImageGrid from "@components/ImageGrid.astro"; +import Button from "@components/Button.astro"; + +
+

Cloudinary Laravel

+ +{" "} +

+ High-performance image and video delivery and uploading at scale in Laravel + powered by Cloudinary. +

+ +

+ + + + + Cloudinary + + + + + + Laravel + + +

+

+ +

+
\ No newline at end of file diff --git a/docs/installation.mdx b/docs/installation.mdx new file mode 100644 index 0000000..e233430 --- /dev/null +++ b/docs/installation.mdx @@ -0,0 +1,53 @@ +--- +title: Installing Cloudinary Laravel +description: Getting started with Cloudinary Laravel. +ogImageTitle: Installation +head: + - tag: title + content: Installation - Cloudinary Laravel +--- +import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'; +import CodeBlock from '@components/CodeBlock.astro'; + +## Getting Started + + +
    +
  1. + ### Installation + + Requires PHP 8.2+ and Laravel 11+. + + + ``` + composer require cloudinary-labs/cloudinary-laravel + ``` + +
  2. +
  3. + ### Configuration + + After you have installed the SDK, you can invoke the install command to set everything up: + + + ``` + php artisan cloudinary:install + ``` + + + Add your Cloudinary credentials to your .env file: + + + ``` + CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME + CLOUDINARY_UPLOAD_PRESET=your_upload_preset + CLOUDINARY_NOTIFICATION_URL= + ``` + +
  4. +
+
+ +:::tip +Don't have a Cloudinary account? Sign up for free on cloudinary.com! +::: \ No newline at end of file