Download the PHP package fastcomments/fastcomments-php without Composer

On this page you can find all versions of the php package fastcomments/fastcomments-php. 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 fastcomments-php

fastcomments/client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Clients

The SDK exposes three API client classes:

Using PublicApi

Using ModerationApi

API Methods

All URIs are relative to https://fastcomments.com

Class Method HTTP request Description
DefaultApi addDomainConfig POST /api/v1/domain-configs
DefaultApi addHashTag POST /api/v1/hash-tags
DefaultApi addHashTagsBulk POST /api/v1/hash-tags/bulk
DefaultApi addPage POST /api/v1/pages
DefaultApi addSSOUser POST /api/v1/sso-users
DefaultApi aggregate POST /api/v1/aggregate
DefaultApi aggregateQuestionResults GET /api/v1/question-results-aggregation
DefaultApi blockUserFromComment POST /api/v1/comments/{id}/block
DefaultApi bulkAggregateQuestionResults POST /api/v1/question-results-aggregation/bulk
DefaultApi changeTicketState PATCH /api/v1/tickets/{id}/state
DefaultApi combineCommentsWithQuestionResults GET /api/v1/question-results-aggregation/combine/comments
DefaultApi createEmailTemplate POST /api/v1/email-templates
DefaultApi createFeedPost POST /api/v1/feed-posts
DefaultApi createModerator POST /api/v1/moderators
DefaultApi createQuestionConfig POST /api/v1/question-configs
DefaultApi createQuestionResult POST /api/v1/question-results
DefaultApi createSubscription POST /api/v1/subscriptions
DefaultApi createTenant POST /api/v1/tenants
DefaultApi createTenantPackage POST /api/v1/tenant-packages
DefaultApi createTenantUser POST /api/v1/tenant-users
DefaultApi createTicket POST /api/v1/tickets
DefaultApi createUserBadge POST /api/v1/user-badges
DefaultApi createVote POST /api/v1/votes
DefaultApi deleteComment DELETE /api/v1/comments/{id}
DefaultApi deleteDomainConfig DELETE /api/v1/domain-configs/{domain}
DefaultApi deleteEmailTemplate DELETE /api/v1/email-templates/{id}
DefaultApi deleteEmailTemplateRenderError DELETE /api/v1/email-templates/{id}/render-errors/{errorId}
DefaultApi deleteHashTag DELETE /api/v1/hash-tags/{tag}
DefaultApi deleteModerator DELETE /api/v1/moderators/{id}
DefaultApi deleteNotificationCount DELETE /api/v1/notification-count/{id}
DefaultApi deletePage DELETE /api/v1/pages/{id}
DefaultApi deletePendingWebhookEvent DELETE /api/v1/pending-webhook-events/{id}
DefaultApi deleteQuestionConfig DELETE /api/v1/question-configs/{id}
DefaultApi deleteQuestionResult DELETE /api/v1/question-results/{id}
DefaultApi deleteSSOUser DELETE /api/v1/sso-users/{id}
DefaultApi deleteSubscription DELETE /api/v1/subscriptions/{id}
DefaultApi deleteTenant DELETE /api/v1/tenants/{id}
DefaultApi deleteTenantPackage DELETE /api/v1/tenant-packages/{id}
DefaultApi deleteTenantUser DELETE /api/v1/tenant-users/{id}
DefaultApi deleteUserBadge DELETE /api/v1/user-badges/{id}
DefaultApi deleteVote DELETE /api/v1/votes/{id}
DefaultApi flagComment POST /api/v1/comments/{id}/flag
DefaultApi getAuditLogs GET /api/v1/audit-logs
DefaultApi getCachedNotificationCount GET /api/v1/notification-count/{id}
DefaultApi getComment GET /api/v1/comments/{id}
DefaultApi getComments GET /api/v1/comments
DefaultApi getDomainConfig GET /api/v1/domain-configs/{domain}
DefaultApi getDomainConfigs GET /api/v1/domain-configs
DefaultApi getEmailTemplate GET /api/v1/email-templates/{id}
DefaultApi getEmailTemplateDefinitions GET /api/v1/email-templates/definitions
DefaultApi getEmailTemplateRenderErrors GET /api/v1/email-templates/{id}/render-errors
DefaultApi getEmailTemplates GET /api/v1/email-templates
DefaultApi getFeedPosts GET /api/v1/feed-posts
DefaultApi getHashTags GET /api/v1/hash-tags
DefaultApi getModerator GET /api/v1/moderators/{id}
DefaultApi getModerators GET /api/v1/moderators
DefaultApi getNotificationCount GET /api/v1/notifications/count
DefaultApi getNotifications GET /api/v1/notifications
DefaultApi getPageByURLId GET /api/v1/pages/by-url-id
DefaultApi getPages GET /api/v1/pages
DefaultApi getPendingWebhookEventCount GET /api/v1/pending-webhook-events/count
DefaultApi getPendingWebhookEvents GET /api/v1/pending-webhook-events
DefaultApi getQuestionConfig GET /api/v1/question-configs/{id}
DefaultApi getQuestionConfigs GET /api/v1/question-configs
DefaultApi getQuestionResult GET /api/v1/question-results/{id}
DefaultApi getQuestionResults GET /api/v1/question-results
DefaultApi getSSOUserByEmail GET /api/v1/sso-users/by-email/{email}
DefaultApi getSSOUserById GET /api/v1/sso-users/by-id/{id}
DefaultApi getSSOUsers GET /api/v1/sso-users
DefaultApi getSubscriptions GET /api/v1/subscriptions
DefaultApi getTenant GET /api/v1/tenants/{id}
DefaultApi getTenantDailyUsages GET /api/v1/tenant-daily-usage
DefaultApi getTenantPackage GET /api/v1/tenant-packages/{id}
DefaultApi getTenantPackages GET /api/v1/tenant-packages
DefaultApi getTenantUser GET /api/v1/tenant-users/{id}
DefaultApi getTenantUsers GET /api/v1/tenant-users
DefaultApi getTenants GET /api/v1/tenants
DefaultApi getTicket GET /api/v1/tickets/{id}
DefaultApi getTickets GET /api/v1/tickets
DefaultApi getUser GET /api/v1/users/{id}
DefaultApi getUserBadge GET /api/v1/user-badges/{id}
DefaultApi getUserBadgeProgressById GET /api/v1/user-badge-progress/{id}
DefaultApi getUserBadgeProgressByUserId GET /api/v1/user-badge-progress/user/{userId}
DefaultApi getUserBadgeProgressList GET /api/v1/user-badge-progress
DefaultApi getUserBadges GET /api/v1/user-badges
DefaultApi getVotes GET /api/v1/votes
DefaultApi getVotesForUser GET /api/v1/votes/for-user
DefaultApi patchDomainConfig PATCH /api/v1/domain-configs/{domainToUpdate}
DefaultApi patchHashTag PATCH /api/v1/hash-tags/{tag}
DefaultApi patchPage PATCH /api/v1/pages/{id}
DefaultApi patchSSOUser PATCH /api/v1/sso-users/{id}
DefaultApi putDomainConfig PUT /api/v1/domain-configs/{domainToUpdate}
DefaultApi putSSOUser PUT /api/v1/sso-users/{id}
DefaultApi renderEmailTemplate POST /api/v1/email-templates/render
DefaultApi replaceTenantPackage PUT /api/v1/tenant-packages/{id}
DefaultApi replaceTenantUser PUT /api/v1/tenant-users/{id}
DefaultApi saveComment POST /api/v1/comments
DefaultApi saveCommentsBulk POST /api/v1/comments/bulk
DefaultApi sendInvite POST /api/v1/moderators/{id}/send-invite
DefaultApi sendLoginLink POST /api/v1/tenant-users/{id}/send-login-link
DefaultApi unBlockUserFromComment POST /api/v1/comments/{id}/un-block
DefaultApi unFlagComment POST /api/v1/comments/{id}/un-flag
DefaultApi updateComment PATCH /api/v1/comments/{id}
DefaultApi updateEmailTemplate PATCH /api/v1/email-templates/{id}
DefaultApi updateFeedPost PATCH /api/v1/feed-posts/{id}
DefaultApi updateModerator PATCH /api/v1/moderators/{id}
DefaultApi updateNotification PATCH /api/v1/notifications/{id}
DefaultApi updateQuestionConfig PATCH /api/v1/question-configs/{id}
DefaultApi updateQuestionResult PATCH /api/v1/question-results/{id}
DefaultApi updateSubscription PATCH /api/v1/subscriptions/{id}
DefaultApi updateTenant PATCH /api/v1/tenants/{id}
DefaultApi updateTenantPackage PATCH /api/v1/tenant-packages/{id}
DefaultApi updateTenantUser PATCH /api/v1/tenant-users/{id}
DefaultApi updateUserBadge PUT /api/v1/user-badges/{id}
ModerationApi deleteModerationVote DELETE /auth/my-account/moderate-comments/vote/{commentId}/{voteId}
ModerationApi getApiComments GET /auth/my-account/moderate-comments/api/comments
ModerationApi getApiExportStatus GET /auth/my-account/moderate-comments/api/export/status
ModerationApi getApiIds GET /auth/my-account/moderate-comments/api/ids
ModerationApi getBanUsersFromComment GET /auth/my-account/moderate-comments/ban-users/from-comment/{commentId}
ModerationApi getCommentBanStatus GET /auth/my-account/moderate-comments/get-comment-ban-status/{commentId}
ModerationApi getCommentChildren GET /auth/my-account/moderate-comments/comment-children/{commentId}
ModerationApi getCount GET /auth/my-account/moderate-comments/count
ModerationApi getCounts GET /auth/my-account/moderate-comments/banned-users/counts
ModerationApi getLogs GET /auth/my-account/moderate-comments/logs/{commentId}
ModerationApi getManualBadges GET /auth/my-account/moderate-comments/get-manual-badges
ModerationApi getManualBadgesForUser GET /auth/my-account/moderate-comments/get-manual-badges-for-user
ModerationApi getModerationComment GET /auth/my-account/moderate-comments/comment/{commentId}
ModerationApi getModerationCommentText GET /auth/my-account/moderate-comments/get-comment-text/{commentId}
ModerationApi getPreBanSummary GET /auth/my-account/moderate-comments/pre-ban-summary/{commentId}
ModerationApi getSearchCommentsSummary GET /auth/my-account/moderate-comments/search/comments/summary
ModerationApi getSearchPages GET /auth/my-account/moderate-comments/search/pages
ModerationApi getSearchSites GET /auth/my-account/moderate-comments/search/sites
ModerationApi getSearchSuggest GET /auth/my-account/moderate-comments/search/suggest
ModerationApi getSearchUsers GET /auth/my-account/moderate-comments/search/users
ModerationApi getTrustFactor GET /auth/my-account/moderate-comments/get-trust-factor
ModerationApi getUserBanPreference GET /auth/my-account/moderate-comments/user-ban-preference
ModerationApi getUserInternalProfile GET /auth/my-account/moderate-comments/get-user-internal-profile
ModerationApi postAdjustCommentVotes POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId}
ModerationApi postApiExport POST /auth/my-account/moderate-comments/api/export
ModerationApi postBanUserFromComment POST /auth/my-account/moderate-comments/ban-user/from-comment/{commentId}
ModerationApi postBanUserUndo POST /auth/my-account/moderate-comments/ban-user/undo
ModerationApi postBulkPreBanSummary POST /auth/my-account/moderate-comments/bulk-pre-ban-summary
ModerationApi postCommentsByIds POST /auth/my-account/moderate-comments/comments-by-ids
ModerationApi postFlagComment POST /auth/my-account/moderate-comments/flag-comment/{commentId}
ModerationApi postRemoveComment POST /auth/my-account/moderate-comments/remove-comment/{commentId}
ModerationApi postRestoreDeletedComment POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId}
ModerationApi postSetCommentApprovalStatus POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId}
ModerationApi postSetCommentReviewStatus POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId}
ModerationApi postSetCommentSpamStatus POST /auth/my-account/moderate-comments/set-comment-spam-status/{commentId}
ModerationApi postSetCommentText POST /auth/my-account/moderate-comments/set-comment-text/{commentId}
ModerationApi postUnFlagComment POST /auth/my-account/moderate-comments/un-flag-comment/{commentId}
ModerationApi postVote POST /auth/my-account/moderate-comments/vote/{commentId}
ModerationApi putAwardBadge PUT /auth/my-account/moderate-comments/award-badge
ModerationApi putCloseThread PUT /auth/my-account/moderate-comments/close-thread
ModerationApi putRemoveBadge PUT /auth/my-account/moderate-comments/remove-badge
ModerationApi putReopenThread PUT /auth/my-account/moderate-comments/reopen-thread
ModerationApi setTrustFactor PUT /auth/my-account/moderate-comments/set-trust-factor
PublicApi blockFromCommentPublic POST /block-from-comment/{commentId}
PublicApi checkedCommentsForBlocked GET /check-blocked-comments
PublicApi createCommentPublic POST /comments/{tenantId}
PublicApi createFeedPostPublic POST /feed-posts/{tenantId}
PublicApi createV1PageReact POST /page-reacts/v1/likes/{tenantId}
PublicApi createV2PageReact POST /page-reacts/v2/{tenantId}
PublicApi deleteCommentPublic DELETE /comments/{tenantId}/{commentId}
PublicApi deleteCommentVote DELETE /comments/{tenantId}/{commentId}/vote/{voteId}
PublicApi deleteFeedPostPublic DELETE /feed-posts/{tenantId}/{postId}
PublicApi deleteV1PageReact DELETE /page-reacts/v1/likes/{tenantId}
PublicApi deleteV2PageReact DELETE /page-reacts/v2/{tenantId}
PublicApi flagCommentPublic POST /flag-comment/{commentId}
PublicApi getCommentText GET /comments/{tenantId}/{commentId}/text
PublicApi getCommentVoteUserNames GET /comments/{tenantId}/{commentId}/votes
PublicApi getCommentsForUser GET /comments-for-user
PublicApi getCommentsPublic GET /comments/{tenantId}
PublicApi getEventLog GET /event-log/{tenantId}
PublicApi getFeedPostsPublic GET /feed-posts/{tenantId}
PublicApi getFeedPostsStats GET /feed-posts/{tenantId}/stats
PublicApi getGifLarge GET /gifs/get-large/{tenantId}
PublicApi getGifsSearch GET /gifs/search/{tenantId}
PublicApi getGifsTrending GET /gifs/trending/{tenantId}
PublicApi getGlobalEventLog GET /event-log/global/{tenantId}
PublicApi getOfflineUsers GET /pages/{tenantId}/users/offline
PublicApi getOnlineUsers GET /pages/{tenantId}/users/online
PublicApi getPagesPublic GET /pages/{tenantId}
PublicApi getTranslations GET /translations/{namespace}/{component}
PublicApi getUserNotificationCount GET /user-notifications/get-count
PublicApi getUserNotifications GET /user-notifications
PublicApi getUserPresenceStatuses GET /user-presence-status
PublicApi getUserReactsPublic GET /feed-posts/{tenantId}/user-reacts
PublicApi getUsersInfo GET /pages/{tenantId}/users/info
PublicApi getV1PageLikes GET /page-reacts/v1/likes/{tenantId}
PublicApi getV2PageReactUsers GET /page-reacts/v2/{tenantId}/list
PublicApi getV2PageReacts GET /page-reacts/v2/{tenantId}
PublicApi lockComment POST /comments/{tenantId}/{commentId}/lock
PublicApi logoutPublic PUT /auth/logout
PublicApi pinComment POST /comments/{tenantId}/{commentId}/pin
PublicApi reactFeedPostPublic POST /feed-posts/{tenantId}/react/{postId}
PublicApi resetUserNotificationCount POST /user-notifications/reset-count
PublicApi resetUserNotifications POST /user-notifications/reset
PublicApi searchUsers GET /user-search/{tenantId}
PublicApi setCommentText POST /comments/{tenantId}/{commentId}/update-text
PublicApi unBlockCommentPublic DELETE /block-from-comment/{commentId}
PublicApi unLockComment POST /comments/{tenantId}/{commentId}/unlock
PublicApi unPinComment POST /comments/{tenantId}/{commentId}/unpin
PublicApi updateFeedPostPublic PUT /feed-posts/{tenantId}/{postId}
PublicApi updateUserNotificationCommentSubscriptionStatus POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut}
PublicApi updateUserNotificationPageSubscriptionStatus POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed}
PublicApi updateUserNotificationStatus POST /user-notifications/{notificationId}/mark/{newStatus}
PublicApi uploadImage POST /upload-image/{tenantId}
PublicApi voteComment POST /comments/{tenantId}/{commentId}/vote

Models

Authorization

Authentication schemes defined for the API:

api_key

Tests

To run the tests, use:

Author

[email protected]

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of fastcomments-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
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 fastcomments/fastcomments-php contains the following files

Loading the files please wait ...