Download the PHP package sawmainek/apitoolz without Composer
On this page you can find all versions of the php package sawmainek/apitoolz. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sawmainek/apitoolz
More information about sawmainek/apitoolz
Files in sawmainek/apitoolz
Package apitoolz
Short Description APIToolz expeditiously gennerates RESTful APIs within seconds based on a provided model.
License MIT
Informations about the package apitoolz
API Toolz
APIToolz rapidly generates RESTful APIs within seconds based on a provided model, allowing you to seamlessly share your RESTful API documentation with frontend developers.
Features
- Create your solution with AI
- Create database table migrations via Artisan Commands
- Generate Restful APIs with
Create Table SQL
via Artisan Commands - Swagger API documentation
- Full-text search functionality
- API authentication/authorization support
- Relationship support between two models
- Configuration options for
[request body]
includingValidation, Cast[object, array], Full-text search enable, Fillable, Input Type(text, password, image/file upload, and more)
- Configuration options for
[response body]
includingCasting, Show/Hide, Object, Array, and more
- Application user onboarding features such as
User Register, Login, Forget Password, Verification(email, OTP, and Authenticator - coming soon), User Profile Update, Inactive/Logout Profile
- Daily auto backup for code and database
- Request/Database Query/Response logging layer
- Export/Import model functionality via Artisan Commands
Requirements
AP IToolz
requires at least PHP 8.2 and Laravel 11.
Installation (with Composer)
Activation
After installing, Activate the APIToolz using the apitoolz:activate
Artisan command with your purchase key
and dns
:
If you don't have the Purchase Key
, please purchase it from [Codecanyon]().
Usages
Now, Create your solution with AI quickly. then publish your solution.
You can generate your model using the apitoolz:model
Artisan command:
If you wish to create model with user policy
, you can use the --use-policy
Artisan command.
Note: The model's table have field user_id
.
You can also generate your model with SQL format
as follows:
Note: The --table=customers
and --sql="CREATE TABLE 'customers' ..."
must match.
After generating, you can check your model's Restful API via the
Swagger API document at API Documentation.
Creating Datatable
If you wish to create only database table, you can using the apitoolz:datatable
Artisan command.
To remove the database table:
If you wish to add more field, update and drop, you can complete using the following option with add-field=
, update-field=
, and drop-field=
on Artisan command.
Request Body Configuration
Configure the field-level configuration for the provided model:
For available option parameters for request body configuration
:
If you want to reset the default field configuration:
Model Relationship
To add a relationship between two models (e.g., belongsTo
, hasOne
, hasMany
), use the following commands:
To remove an existing relation of the provided model:
For additional options for relationships:
To rebuild
your Restful API model:
To remove
your model:
Export/Import Models
APIToolz allows you to export/import models using the apitoolz:export|import
Artisan command.
Export Model
To export a model of provided name:
Import Model
To import a mdoel of provided name without data:
License
The Commercial Software License.
All versions of apitoolz with dependencies
laravel/framework Version ^11.0
laravel/scout Version ^10.8
darkaonline/l5-swagger Version ^8.6
league/glide-symfony Version ^2.0