Skip to content

v0.1.66

Choose a tag to compare

@crenata crenata released this 31 Dec 02:59
· 88 commits to master since this release

v0.1.66 - 2025-12-31

🩹 Fixes

📖 Changes

What's New :

  • Added Router.resource()

Single line code that automatically generates a full set of CRUD.

How to use?

import Router from "@bejibun/core/facades/Router";
import YourController from "@/app/controllers/YourController";

Router.resource("path", YourController);
Router.resource("path", YourController, {
    only: ["index", "store"] // "index" | "store" | "show" | "update" | "destroy"
});
Router.resource("path", YourController, {
    except: ["index", "store"] // "index" | "store" | "show" | "update" | "destroy"
});

❤️Contributors

Full Changelog: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md