Download the PHP package evlimma/actionpack without Composer

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

Trait ActionPack @evlimma

The ActionPack trait provides a reusable set of methods for models extending a DataLayer-like class (such as CoffeeCode\DataLayer).
It encapsulates common logic for dynamic filtering, paginated queries, and frequent data access operations.

A trait ActionPack fornece um conjunto reutilizável de métodos para modelos que estendem uma classe do tipo DataLayer (como o CoffeeCode\DataLayer).
Ela encapsula a lógica comum para criação dinâmica de filtros, buscas paginadas e operações frequentes de acesso a dados.


Highlights


Installation

Data Layer is available via Composer:

or run


Documentation

Requirements / Requisitos

To use this trait properly, the class that uses it must:

Para usar essa trait corretamente, a classe que a utiliza deve:


Available Methods

message(): ?Message

Returns the current message instance. Useful for returning success or error feedback.

Retorna a instância atual da mensagem. Útil para retornar mensagens de sucesso ou erro.


addfields(): ?object

Builds dynamic filters based on the $addfields array using the DynamicFilter class.
It also includes extra column filters from the associated model.

Cria filtros dinâmicos com base no array $addfields, usando a classe DynamicFilter.
Também adiciona filtros extras com base nas colunas do modelo associado.


listEntity(): ?array

Fetches all records from the current entity using dynamic filters.

Busca todos os registros da entidade atual usando filtros dinâmicos.


findByPag(?array $dataArr = null, ?int $itensPerPage = ITEMS_PER_PAGE, int $start = 1): ?object

Returns a paginated set of results using filters.
Returns an object with:

Retorna um conjunto paginado de resultados usando filtros.
Retorna um objeto com:


findByActive(): ?array

Returns all records with status = 1. Useful to fetch only active entries.

Retorna todos os registros com status = 1. Útil para buscar apenas os registros ativos.


findByKey(int $id): ?self

Finds a single record by its primary key.

Busca um único registro com base na chave primária.


findByFields(?array $filter): ?array

Finds records by an associative array of filters, applying = conditions on each field.

Busca registros com base em um array associativo de filtros, aplicando condições de igualdade (=) em cada campo.


For details on how to use the ActionPack, see the sample folder with details in the component directory

Para mais detalhes sobre como usar o ActionPack, veja a pasta de exemplo com detalhes no diretório do componente


Benefits / Benefícios


Contributing

Please see CONTRIBUTING for details.

Support

Security: If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Se você descobrir algum problema relacionado à segurança, envie um e-mail para [email protected] em vez de usar o rastreador de problemas.

Thank you

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of actionpack with dependencies

PHP Build Version
Package Version
Requires php Version >=8.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 evlimma/actionpack contains the following files

Loading the files please wait ....