Logo
Documentation

Official tutorials
and knowledge base

How to install Paragraph

It's very easy to install Paragraph. First, create a new project in your Paragraph dashboard. You will receive an API token and your unique project ID.

Now go to your app and install the Paragraph package using a package manager. In this example, we will use PHP and Composer to install our official Laravel plug-in:


$ composer require paragraph/laravel
        

Now that the package is installed, all you have to do is to copy & paste the API key and the project ID to your .env file or set them as environment variables (your choice).

You can run one of the console commands to make sure that everything is working and the API key is correct, eg. the text download command:

$ php artisan paragraph:download
Fetched a total of 129 texts
        

Nice, we can see it's working!

Paragraph