Download the PHP package albaraa/aztec without Composer

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

Aztec - Advanced Layered CRUD Generator for Laravel

Introduction

Aztec is a powerful Laravel package designed to automate the generation of a clean, layered architecture for your application modules. It goes beyond simple CRUD generation by implementing a robust Service-Repository pattern, ensuring your controllers remain thin and your business logic is well-encapsulated.

Installation

You can install the package via composer:

Features

Usage

Generating CRUD

The main entry point is the aztec:make-crud command. It requires the Module name and the Model name (which must already exist).

Example: To generate CRUD for a Post model inside the Blog module:

The Generation Flow

When you run the command, Aztec performs the following steps:

  1. Analysis: It inspects your Model file to understand its fillable attributes, casts, and relationships.
  2. Interactive Configuration:
    • Resources: It asks which relationships should be included in the API Resource.
    • Service Layer: It prompts you to add custom filters for the listing endpoint (e.g., filter by status, type, etc.) and asks which relationships should be synced automatically during create/update operations.
  3. File Generation:
    • Repository: Generates PostRepositoryInterface and EloquentPostRepository. It checks BlogServiceProvider and binds the interface to the implementation automatically.
    • Service: Generates PostService containing business logic. It handles pagination, search (smartly guessing searchable fields), custom filtering, and transaction-wrapped CRUD operations.
    • Requests: Generates PostStoreRequest and PostUpdateRequest with rules inferred from your model. It also generates a messages() method returning code-based keys (e.g., validations.blog.title.required) for frontend localization.
    • Controller: Generates PostController which injects the PostService. It remains clean and acts only as a gateway.
    • Resource: Generates PostResource to format the JSON response.
    • Routes: Appends standard RESTful routes to Modules/Blog/routes/web.php with a clean group structure.

Directory Structure Idea

Assuming a Blog module and Post model, Aztec creates/updates:

Customization

You can customize the available layers and generation behavior by publishing the config file (if available):


Crafted for developers who value clean code and speed.


All versions of aztec with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^12.0
illuminate/console Version ^12.0
illuminate/filesystem Version ^12.0
nikic/php-parser Version ^5.7
doctrine/dbal Version ^4.4
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 albaraa/aztec contains the following files

Loading the files please wait ...