Download the PHP package jponchiroli/laravel-base without Composer

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

jponchiroli/laravel-base

Tests Latest Version Total Downloads

🇧🇷 Portuguese version

What it is

A foundation for Laravel 13 APIs. It ships layered base classes (service, repository, DTOs, requests, resources), standardized JSON responses and errors with translated messages (en, pt_BR), and a make:domain command that generates the whole API layer of an entity.

How it works

  1. You install the package and run one setup command.
  2. php artisan make:domain Product generates the controller, service, repository, DTOs, requests and routes of the entity. Each generated class is an empty subclass of a base class that lives in the package.
  3. You only add the migration, the model's $fillable and the validation rules of the Requests.
  4. The endpoints answer with a fixed envelope ({ "message": "...", "data": ... }), errors follow one format, and validation messages are derived from the rules and translated.

Generated code belongs to your project, so you can override any behaviour in the entity's own classes.

Installation

Requires PHP 8.3+ and Laravel 13.

The service provider is discovered automatically. Composer does not run Artisan commands for dependencies, so laravel-base:install is a manual step; it is safe to run more than once. Options, configuration keys and publish tags are in docs/install-and-configuration.md.

Documentation

Technical documentation lives in docs/:

Topic
Getting started From install to a working CRUD
Architecture How the package is organized
Request lifecycle What happens to one request
Layers Responsibility of each layer and base class
DTOs How validated data travels
Responses and errors Payload shapes and the error handler
Validation and translations Derived messages and languages
make:domain The generator, stubs and routes
Testing How the package is tested

Using with AI agents

The package ships a guide for AI coding agents. It tells the agent to run make:domain instead of writing each file by hand, which saves tokens and keeps the code consistent. Publish it into your project as AGENTS.md:

Details in docs/ai-agent-guide.md.

Releasing

make:domain also generates Swagger/OpenAPI documentation per domain (app/Docs/, swagger-php attributes), built from the Request rules and table columns, and served at /docs. Refresh it with php artisan domain:docs.

License

MIT. See LICENSE.


All versions of laravel-base with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
laravel/framework Version ^13.0
zircote/swagger-php Version ^6.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 jponchiroli/laravel-base contains the following files

Loading the files please wait ...