paragraph/laravel

Official Laravel package for Paragraph - a more productive way to manage your texts

dev-main 2023-02-01 04:22 UTC

This package is auto-updated.

Last update: 2024-11-29 08:16:01 UTC


README

Paragraph official Laravel package

Installation

The easiest way to install Paragraph Laravel package is by using Composer:

$ composer require paragraph/laravel

It's almost ready, just copy & paste your Paragraph project ID and API key in your .env file:

PARAGRAPH_PROJECT_ID=XXX
PARAGRAPH_API_KEY=YYY

Commands

To download the latest texts run:

$ php artisan paragraph:download-texts

To parse all language files and Blade templates so that existing texts can be discovered, run:

$ php artisan paragraph:init

Creating an account

Sign up for a free account on https://paragraph.ph

Tutorials

Detailed tutorials explaining how to localize Laravel application are available in our blog https://paragraph.ph/blog