Download the PHP package fewchurs/laravel without Composer

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

Fewchurs for Laravel

A feature-request board in any Laravel app: install, add one env var, drop one Blade tag. Server-rendered by default, reactive with Livewire, and a plain PHP client for fully custom UIs.

That's it — the board renders, votes and comments work with JavaScript disabled, and your API key never reaches the browser.


What you get

<x-fewchurs::board /> The board, anywhere in your own layout.
<x-fewchurs::sheet /> A floating button that slides the board in from the side or bottom.
/feedback A ready-made page, rendered inside your app's layout.
<livewire:fewchurs-board /> The same board, reactive, if you use Livewire.
Fewchurs::features() The PHP client, for a UI you build yourself.
php artisan fewchurs:check Answers "is my key right?" in one command.

Requirements

PHP 8.2+, Laravel 10, 11, 12 or 13. No dependencies beyond Laravel and Guzzle (which Laravel already ships with), and no build step — the board ships its own scoped CSS, so it does not assume Tailwind.

As a sheet

Put the board behind a floating button instead of on the page. Add it once, for example to your main layout, and it shows on every page:

Use your own button instead of the floating one: hide it with :trigger="false" and add data-fewchurs-open to any element.

The sheet loads the board from /feedback?embed=1 in a frame, and only the first time it opens, so pages where nobody opens it make no API calls. It needs the /feedback route (so route.prefix must not be null), takes app and tab like the board, and uses the colours from config('fewchurs.theme'). Without JavaScript the button is a link to the full page. On phones it fills the screen. While the board loads, the sheet shows a shimmer shaped like the board, and if the page inside fails it shows a message with "Try again" and a link to the full page. If your app sends X-Frame-Options: DENY or a CSP frame-ancestors 'none', allow your own site to frame /feedback.

Loading and errors

When the API can't be reached (or rejects the key) and there is no recent copy to show, the board shows a plain message with a "Try again" button inside the board, and the rest of your page keeps working. The messages come from the errors group in the lang file, so you can reword or translate them; the failure itself is still logged.

The plain board arrives with your page, already loaded, so it has no loading state. For a shimmer, use the sheet, or Livewire with lazy, which also shimmers while switching tabs:

Using the client

Every call throws a typed exception on failure — RateLimitedException, NotFoundException, InvalidApiKeyException, ConnectionException and friends, each with a userMessage() that is safe to show a visitor.

Identity

The server needs an X-Device-Id per visitor. The package resolves one for you:

Everything is HMAC-hashed with your APP_KEY before it leaves your server — the raw cookie, the user id and the email never reach Fewchurs.

Multi-tenant or team-level identity:

Always hash. Passing an email or a raw id throws.

Privacy policy note: the cookie is functional — it records which requests this visitor voted on — so most consent setups class it as necessary rather than tracking. It is still a first-party identifier and belongs in your privacy policy. Sample wording:

We set a fewchurs_did cookie so we can remember which feature requests you have voted on or followed. It contains a random identifier, not your name or email, and expires after a year.

Customising

1. Config — config/fewchurs.php covers the route prefix, tabs, per-page count, whether submissions, comments and follows are open, whether the email field is hidden, optional or required, and whether writes require a signed-in user.

2. Theme tokens

3. Publish the views and the strings

The views are small, single-purpose Blade files meant to be edited. Translations are ordinary Laravel lang files, so lang/vendor/fewchurs/fr/messages.php just works.

4. Slots

5. Headless — set route.prefix to null, use the client, and build whatever you like.

More than one board

Events

FeatureSubmitted, Voted, Unvoted, Commented, Followed, Unfollowed, RequestFailed.

Testing your app

The fake sits behind the real client, so your tests exercise the same headers, validation and error mapping as production.

Security

The key is a real secret here, and the package keeps it that way.

Set board.require_auth to true if the board should only accept writes from signed-in users.

Commands

Caching

/config is cached app-wide for 5 minutes (cache.config_ttl), so plan changes and the "Hide vote counts" switch show up quickly. Feature pages are cached per visitor for 15 seconds, because hasVoted and isFollowing are per visitor and a shared entry would hand one visitor's vote state to everyone. A longer-lived stale copy is kept so an unreachable API degrades into "showing recent data" instead of an error page.

License

Proprietary. You may use the package in your own apps to connect them to Fewchurs, and edit the config, views and translations you publish. The source is public for transparency, not open source. See LICENSE.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.5|^8.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.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 fewchurs/laravel contains the following files

Loading the files please wait ...