Download the PHP package abdallhsamy/helpers without Composer
On this page you can find all versions of the php package abdallhsamy/helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download abdallhsamy/helpers
More information about abdallhsamy/helpers
Files in abdallhsamy/helpers
Download abdallhsamy/helpers
More information about abdallhsamy/helpers
Files in abdallhsamy/helpers
Vendor abdallhsamy
Package helpers
Short Description A Package contains some useful classes to help you develop faster
License MIT
Package helpers
Short Description A Package contains some useful classes to help you develop faster
License MIT
Please rate this library. Is it a good library?
Informations about the package helpers
Helpers
A Package contains some useful classes to help you develop faster
benefits of using package
- you will be able to move migration files to sub directories ex:
database/migration/company/xxxxx_create_company_contacts_table.php
- use pagination , filter and search without modifing controller methods or route params . ex :
/api/v1/users/search=Abdallah%20Samy&age=27&country_id=27&limit=15
which :- @param
search
for search , - @param
age
for filtering - @param
country_id
for filtering - and @param
limit
for pagination
- @param
Migration Directory Example
Installation
using Composer
Config File and Migrations
Publish package config file and migrations with the following command:
Then run migrations:
Traits and Contracts
Model
Add AbdallhSamy\Helpers\Traits\Models\{ActivityLogTrait, ModelFilters, ModelSearch}
traits to your model.
See the following model example:
Controller
new Eloquent Builder Method toRawSql()
Added
usage example :
output :
All versions of helpers with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
illuminate/container Version ^8.0
illuminate/contracts Version ^8.0
illuminate/database Version ^8.0
illuminate/container Version ^8.0
illuminate/contracts Version ^8.0
illuminate/database Version ^8.0
The package abdallhsamy/helpers contains the following files
Loading the files please wait ....