{"repo":"thedevdojo/tails","free":true,"listed":false,"github":"https://github.com/thedevdojo/tails","clone":"git clone https://github.com/thedevdojo/tails.git","description":"This is the Tails composer package for Laravel. Easily fetch designs in your Laravel application that you design inside of the Tails Site/Page Builder.","language":"PHP","stars":68,"topics":["api","pagebuilder","tailwindcss"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Tails Laravel Package This package will allow you to easily fetch designs that you have created in the Tails page builder. Follow the steps below to learn how to install, configure, and use this package. 1. Install The Package You can install the package via composer: 2. Publish the Config Run the following command to publish the Tails config: 3. Get Your API Key Visit https://devdojo.com/tails/app and click the Developer API Key button from the menu. When you click this button it will open up a modal window that looks like the following: Simply, click the Generate My API Key button and you'll be presented with your new API Key. If you ever need to re-generate your key, you can click the Re-generate My API Key button and it will be refreshed. 5. Add API key to .env You will need to add your API key that you got in the previous step to your .env file. It should look something like the following: 6. Test the Connection We've added a really simple artisan call for you to test out the functionality and confirm that your application is talking to the Tails API. Simply, run the following artisan command. If you get a response that says pong , you have successfully authenticated and connected to the API. 7. Displaying Designs We've made it really easy to display the designs you created with tails inside of your application. You can display the page from a specific route or include the design inside an existing blade file. Let's cover displaying the page on a route first. Displaying ","default_branch":null,"files":null,"tree":[],"storefront":"/r/thedevdojo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thedevdojo/tails/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}