Download the PHP package mitydigital/statamic-bluesky-comments without Composer

On this page you can find all versions of the php package mitydigital/statamic-bluesky-comments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package statamic-bluesky-comments

Bluesky Comments for Statamic

Statamic 5 Bluesky Comments for Statamic on Packagist


Attach a Bluesky thread to your Entries for a commenting system managed through Bluesky.

This is currently a work in progress.

Feedback and comments are welcome. Remember to be polite.

Installation

To get up and running you need a few things:

  1. Blueprint field named bluesky_thread_uri
  2. Add the {{ bluesky_comments }} tag to your layout where you want comments to appear

When an entry has a value for the bluesky_thread_uri, the bluesky_comments tag will render the comment block.

Currently populating the bluesky_thread_uri is a manual step - future plans are to automate that from within the Statamic CP.

You can get this from the direct link to your post (thread) on Bluesky.

The real-world workflow is currently manual:

  1. Publish your entry
  2. Manually create a post on Bluesky, and get its URI
  3. Edit your entry and include the Bluesky Thread URI

Future updates will attempt to automate these 3 steps using an Action within the Statamic CP (so you can trigger it when you want, not just on publish). Stay tuned.

Views

You don't need to publish views: but you can if you want to make changes.

If you're using the built-in views only (i.e. not including them in your actual project) don't forget to update your Tailwind config to include the layout files in the vendor folder.

Layout

The bluesky-comments.antlers.html file includes the main layout for the Comments component.

Comment Directive

The Comment Directive is used to recursively attach comments to the list, with styles stored in one reusable area.

This is in the bluesky-comments-alpine.antlers.html file, and is the comment directive.

You'll see a template within this directive. You can freely change this to show whatever you need your layout to do. You do have access to the entire response from the Bluesky API too.

Alpine logic

This is in the bluesky-comments-alpine.antlers.html file, and is the data definition.

Features

Credits

Written for Statamic:

Contributions from:

Inspired by Emily Liu

Icons are lovingly used from HeroIcons


All versions of statamic-bluesky-comments with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
statamic/cms Version ^4.0|^5.0
ext-intl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mitydigital/statamic-bluesky-comments contains the following files

Loading the files please wait ....