npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-laravel

v1.0.1

Published

n8n community node for Laravel API HTTP methods

Downloads

262

Readme

n8n-nodes-laravel

A community node for n8n that lets you make HTTP requests to any Laravel API directly from your workflows.


Features

  • All HTTP Methods — GET, POST, PUT, PATCH, DELETE
  • Multiple Auth Types — Bearer Token (Sanctum/Passport), API Key header, Basic Auth, or No Auth
  • Flexible Body Formats — JSON, Multipart Form Data, URL-Encoded, or Raw
  • Query Parameters — Easy key/value builder for GET/DELETE
  • Custom Headers — Add any header you need
  • Auto Pagination — Automatically follows Laravel's next_page_url to collect all pages
  • Full Response Mode — Optionally return status code + full body
  • SSL & Redirect Options — Fine-grained control per request

Installation

In n8n (Community Nodes)

  1. Go to Settings → Community Nodes
  2. Click Install
  3. Enter n8n-nodes-laravel
  4. Click Install

Manual (self-hosted)

cd ~/.n8n
npm install n8n-nodes-laravel

Then restart n8n.


Credentials Setup

  1. In n8n, go to Credentials → New
  2. Search for Laravel API
  3. Fill in:
    • Base URL — e.g. https://your-laravel-app.com
    • Authentication Type — choose one of:
      • Bearer Token — paste your Sanctum / Passport token
      • API Key (Header) — header name + value
      • Basic Auth — username + password
      • No Auth — public APIs

Usage Examples

GET — List Users (with pagination)

| Field | Value | |---|---| | Method | GET | | Endpoint | /api/users | | Options → Pagination | ✅ enabled |

This will auto-follow all pages and return every user as separate items.

POST — Create a Post

| Field | Value | |---|---| | Method | POST | | Endpoint | /api/posts | | Body Format | JSON | | JSON Body | {"title": "Hello", "body": "World", "user_id": 1} |

PUT — Update a Resource

| Field | Value | |---|---| | Method | PUT | | Endpoint | /api/posts/5 | | Body Format | JSON | | JSON Body | {"title": "Updated Title"} |

DELETE — Remove a Resource

| Field | Value | |---|---| | Method | DELETE | | Endpoint | /api/posts/5 |


Options Reference

| Option | Description | |---|---| | Custom Headers | Add any extra HTTP headers | | Timeout (ms) | Request timeout (default 10 000 ms) | | Follow Redirects | Follow HTTP 301/302 redirects | | Ignore SSL Issues | Skip SSL verification (dev only) | | Return Full Response | Returns { statusCode, body } instead of just the body | | Pagination | Auto-follow Laravel paginator next_page_url | | Pagination Key | Key in response containing items (default: data) | | Next Page URL Key | Key containing next page URL (default: next_page_url) |


Development

git clone https://github.com/your-username/n8n-nodes-laravel.git
cd n8n-nodes-laravel
npm install
npm run build

To test locally, link the package into your n8n installation:

npm link
cd ~/.n8n
npm link n8n-nodes-laravel

License

MIT