{
  "id": 2931210,
  "title": "Credits, plans and quotas in Laravel with Larameter",
  "url": "https://urgent.news/2026/08/24/credits-plans-and-quotas-in-laravel-with-larameter",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-24T03:21:48.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/edulazaro/credits-plans-and-quotas-in-laravel-with-larameter-534c"
  },
  "original_language": "en",
  "account": "Larameter is a Laravel package that helps manage credits, plans, and quotas in applications that sell allowances or document-related services. It simplifies the process of tracking credit usage, enforcing usage limits, and determining the appropriate plan for each account.\n\nTo get started with Larameter, install it via Composer and run the provided Artisan commands to publish the configuration and migration files. Next, add the `HasCredits` trait to the model representing your billed entity, such as an organization, user, or workspace. After that, define your allowance windows and plans in the configuration file. Windows can be set up for various time periods, such as sessions, weeks, or months, and can be configured with specific usage limits and constraints.\n\nPlans determine the amount of credits allocated to each account, with options for free and paid tiers. The package calculates the appropriate plan based on the account's usage and automatically enforces the associated limits. Installation is straightforward, and Larameter provides a simple and intuitive way to manage credits and quotas in Laravel applications.",
  "summary": "If your app sells an allowance, a number of credits a month, or a number of documents, or a number of anything. Whatever it is, you end up writing a balance somewhere, a reset when the period rolls over, a check before the expensive call, and a usage screen that has to agree with all of it. None of that is hard on its own. What gets you is that the pieces drift. The plan says a thousand a month,…",
  "key_points": [
    "Larameter manages credits, plans, and quotas in Laravel apps",
    "Install via Composer, publish config & migration files",
    "Define allowance windows & plans in configuration file"
  ],
  "editors_take": "Larameter streamlines credit and quota management in Laravel applications, enabling developers to easily enforce usage limits and allocate plans based on account usage.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}