PN Scripts

API

PN Posts

Log in, take a token, publish a post. The public list only returns what you published.

  • Laravel 13
  • PHP 8.3
  • Laravel Sanctum
  • MySQL
  • Docker

Тази страница е прегледът. Файловете са в GitHub или в магазина. Хостинг плановете са единственото, което продаваме тук.

PN Posts

Защо съществува

Празнината

A blank Laravel API has Sanctum installed and nothing useful to call.

Какво получавате

Token auth plus JSON for posts and categories. Drafts never hit the public index.

Какво се променя

One curl to log in. One curl to publish.

A small REST kit. Not GraphQL. Not the PN Press reading site.

За кого е

Използвайте го когато

  • A mobile or SPA client that needs a tiny blog backend.
  • Learning Sanctum on a real resource, not only /api/user.

Направено за

  • Developers who want a REST baseline they can read in an hour.
  • Teams that need a small Sanctum API on current Laravel.

What you get

A token you can hold

Register and login return a Sanctum token. Logout revokes it. No session dance for a SPA.

Posts and categories

Public readers see published posts. Writers create and update with the token. Drafts stay off the list.

Current Laravel

The kit runs on Laravel 13 and PHP 8.3. Routing is bootstrap/app.php. Sanctum tokens still gate writes.

Спецификации

Ценообразуване
Open Source
Лиценз
MIT
Внедряване
Self-hosted
Зрялост
General Availability
Поддръжка
Community

Стек

  • Laravel 13
  • PHP 8.3
  • Laravel Sanctum
  • MySQL
  • Docker

Clone PN Posts

Public MIT repository. This page is the overview. Payment does not happen here.

Тази страница е прегледът. Файловете са в GitHub или в магазина. Хостинг плановете са единственото, което продаваме тук.

Questions

Laravel 13. PHP 8.3 is the minimum. Clone the public repository and start from there.

No. PN Press is the Filament CMS on Products. PN Posts is the JSON kit.