Download the PHP package kayedspace/laravel-erpnext without Composer

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

Laravel ERPNext

A fluent ERPNext and Frappe client for Laravel — reach any doctype by name, with a query builder, typed documents, four authentication schemes and file uploads.

Latest version Tests PHPStan Downloads

--- ERPNext is a generic document store. Every doctype — whether it ships with ERPNext or you invented it this morning — speaks the same REST dialect. This package takes that seriously: you name a doctype and work with it. No subclass, no mapping, no registration. Typed classes exist for the doctypes where named accessors earn their keep, but they are a convenience layer — never a requirement. ## Installation `ERPNEXT_BASE_URL` is the bare site root. A value that still carries a trailing `/api/resource` is accepted and trimmed, so upgrading from a hand-rolled client needs no change to your environment. ## What you get **Any doctype, by name.** `find`, `findOrFail`, `create`, `update`, `delete`, `query` and `call` — for `Lead`, `Sales Invoice`, `Custom Widget`, anything. **A query builder that matches Frappe.** Frappe has no nested filter groups: `filters` is the AND bucket, `or_filters` the OR bucket, and the two are ANDed together. `where()` and `orWhere()` fill different buckets and are deliberately not interchangeable, because pretending otherwise produces queries that quietly return the wrong rows. **Pagination that does not lie to you.** A list request returns one page, so anything that has to see the whole set walks it: `each()`, `chunk()` and `lazy()` request one page at a time and hold one page in memory. `count()` is the site-wide total, not the size of the page you happened to fetch. **Four authentication schemes.** | `auth_method` | Requires | Sends | |---|---|---| | `token` *(default)* | `api_key`, `api_secret` | `Authorization: token key:secret` | | `basic` | `api_key`, `api_secret` | `Authorization: Basic base64(key:secret)` | | `bearer` | `access_token` | `Authorization: Bearer token` | | `session` | `username`, `password` | a cached `sid` cookie from `/api/method/login` | Session logins are cached and re-established automatically — once — when the site rejects an expired session. Stateless schemes never retry, because a second identical request could only fail the same way. **Document name collisions handled for you.** Some doctypes take their document name from a field rather than a naming series, so two records with the same name collide on insert. Pass `uniqueBy` and the client checks first, disambiguating only when it has to. It costs one extra GET on the affected doctypes and nothing at all on the rest. **The submittable lifecycle.** `docstatus` as a real enum, with `submit()`, `cancel()` and `amend()` — and guards so a mistake reads as a sentence rather than a 417 with a traceback in it. **File uploads, attachments and images.** Uploads are **private by default**, matching Frappe. Call `->public()` deliberately: a public file is readable by anyone with the URL, not merely by signed-in users. **Retries where they help, and nowhere else.** A 429 from the site's rate limiter, a 5xx while bench restarts, a refused connection — all retried. A 4xx is not: it means the request was wrong, and repeating a wrong write is how duplicates get made. **Multi-tenancy without global state.** The connection is a closure the client re-invokes on every request, so one long-lived instance can serve many tenants and always authenticates as whoever is active right now. ## Testing Everything routes through Laravel's HTTP client, so the usual tools work and no ERPNext site is needed: ## Documentation Full guide and API reference: **[laravel-erpnext.kayed.dev](https://laravel-erpnext.kayed.dev)**. ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md). Please note the [Code of Conduct](CODE_OF_CONDUCT.md). ## Security Found a security issue? Email <[email protected]> rather than opening a public issue. See [SECURITY.md](.github/SECURITY.md). ## Credits - [Ali Youssef Kayed](https://github.com/kayedspace) - [All contributors](https://github.com/kayedspace/laravel-erpnext/contributors) ## License The MIT License. See [LICENSE.md](LICENSE.md).

All versions of laravel-erpnext with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/support Version ^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 kayedspace/laravel-erpnext contains the following files

Loading the files please wait ...