Download the PHP package cable8mm/xeed without Composer

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

Xeed - Resources Generator for Laravel & Nova

code-style run-tests pages-build-deployment Packagist Version Packagist Dependency Version Laravel Version Static Badge Packagist Dependency Version Packagist Downloads Packagist Stars Packagist License

The Xeed is to generate new model, seed, Nova resources, database seed, factory and migration files for Laravel & Nova based on data from the existing database table.

[!TIP] It can function as both php artisan xeed:* commands for Laravel & Nova and bin/console * commands for Standalone, providing 100% identical functionality. Therefore, you can use it within your own Laravel & Nova project or as a standalone application.

We have provided the API Documentation on the web. For more information, please visit https://www.palgle.com/xeed/ ❤️

Features

Support & Tested

MySQL Supported SQLite Supported PostgreSQL Supported PHP 8.0.2+ Supported PHP 8.1.0+ Supported PHP 8.2.0+ Supported PHP 8.3.0+ Supported

[!CAUTION] PostgreSQL support is in beta. If you encounter any issues, please report them via GitHub issues.

Preview

Laravel:

Preview

Standalone:

Preview

Installation

[!IMPORTANT] Edit the .env file to configure your own database. You can manually copy .env.example to .env whenever you need to.

Usage

Generate Models

Generate Seeders

Generate Faker Seeders

The Faker seeders are utilized without the factory() method to generate seeds. This command was created to address the issue #61, providing insight into its purpose.

Generate DatabaseSeeder

Generate Factories

Generate Migrations

The generated files are stored in the same folder as your Laravel project. Please check the dist folder.

Generate Relations

This command can only be used in Models where use HasFactory; exists, all relations will be placed after it.

The generated relations are named using laravels convention. Some names may be duplicated

Generate NovaResources

Helpful commands

If you are going to test this package yourself, then you would use the following commands to clean up generated files.

Formatting

Testing

It uses the built-in SQLite database, not your own database. It will never cause harm to your data. You don't need to worry about that.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

The below can help you contribute.

The Xeed has a built-in SQLite database, allowing you to contribute easily without needing your own database. Simply create a new file for testing purposes and utilize it.

And then,

Database seeds

For migrations and factories, when you need to execute tests for all database field types, utilize the following command.

Utilize migration files for all database field types by referring to the following location database/*.sql these files are saved in the specified folder.

Use testorchestral/testbench

You can utilize testorchestral/testbench to execute tests. When running Laravel commands, the generated files are saved in the vendor/orchestra/testbench-core/laravel/database folder.

Resources

Laravel columns description for mysql:

Available Column Types Field Type Null Key Default Extra
id() id bigint unsigned NO PRI auto_increment
bigInteger('big_integer') big_integer bigint NO
binary('binary') binary blob NO
boolean('boolean') boolean tinyint(1) NO
char('char', length: 100) char char(100) NO
dateTimeTz('date_time_tz', precision: 0) date_time_tz datetime NO
dateTime('date_time', precision: 0) date_time datetime NO
date('date') date date NO
decimal('decimal', total: 8, places: 2) decimal decimal(8,2) NO
double('double') double double NO
enum('enum', ['easy', 'hard']) enum enum('easy','hard') NO
float('float', precision: 53) float double NO
foreignId('foreign_id') foreign_id bigint unsigned NO
foreignUlid('foreign_ulid') foreign_ulid char(26) NO
foreignUuid('foreign_uuid') foreign_uuid char(36) NO
geometry('geometry', subtype: 'point', srid: 0) geometry point NO
integer('integer') integer int NO
ipAddress('ip_address') ip_address varchar(45) NO
json('json') json json NO
jsonb('jsonb') jsonb json NO
longText('long_text') long_text longtext NO
macAddress('mac_address') mac_address varchar(17) NO
mediumInteger('medium_integer') medium_integer mediumint NO
mediumText('medium_text') medium_text mediumtext NO
morphs('morph') morph_type varchar(255) NO MUL
Ditto make 2 fields morph_id bigint unsigned NO
nullableTimestamps(precision: 0) created_at timestamp YES
Ditto make 2 fields updated_at timestamp YES
nullableMorphs('nullable_morph') nullable_morph_type varchar(255) YES MUL
Ditto make 2 fields nullable_morph_id bigint unsigned YES
nullableUlidMorphs('nullable_ulid_morph') nullable_ulid_morph_type varchar(255) YES MUL
Ditto make 2 fields nullable_ulid_morph_id char(26) YES
nullableUuidMorphs('nullable_uuid_morph') nullable_uuid_morph_type varchar(255) YES MUL
Ditto make 2 fields nullable_uuid_morph_id char(36) YES
rememberToken() remember_token varchar(100) YES
set('set', ['strawberry', 'vanilla']) set set('strawberry','vanilla') NO
smallInteger('small_integer') small_integer smallint NO
softDeletesTz('soft_delete_tz', precision: 0) soft_delete_tz timestamp YES
softDeletes('soft_delete', precision: 0) soft_delete timestamp YES
string('string', length: 100) string varchar(100) NO
text('text') text text NO
time('time_tz', 0) time_tz time NO
time('time', 0) time time NO
timestampTz('timestamp_tz', precision: 0) timestamp_tz timestamp NO
timestamp('timestamp', precision: 0) timestamp timestamp NO
tinyInteger('tiny_integer') tiny_integer tinyint NO
tinyText('tiny_text') tiny_text tinytext NO
unsignedBigInteger('unsigned_big_integer') unsigned_big_integer bigint unsigned NO
unsignedInteger('unsigned_integer') unsigned_integer int unsigned NO
unsignedMediumInteger('unsigned_medium_integer') unsigned_medium_integer mediumint unsigned NO
unsignedSmallInteger('unsigned_small_integer') unsigned_small_integer smallint unsigned NO
unsignedTinyInteger('unsigned_tiny_integer') unsigned_tiny_integer tinyint unsigned NO
ulidMorphs('ulid_morph') ulid_morph_type varchar(255) NO MUL
Ditto make 2 fields ulid_morph_id char(26) NO
uuidMorphs('uuid_morph') uuid_morph_type varchar(255) NO MUL
Ditto make 2 fields uuid_morph_id char(36) NO
ulid('ulid') ulid char(26) NO
uuid('uuid') uuid char(36) NO
year('year') year year NO

Code of Conduct

In order to ensure that the community is welcoming to all, please review and abide by the CODE OF CONDUCT.

Credits

License

The Xeed project is open-sourced software licensed under the MIT license.


All versions of xeed with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
cable8mm/array-flatten Version ^1.0
doctrine/inflector Version ^2.0
league/flysystem Version ^3.0
symfony/console Version ^6.0|^7.0
vlucas/phpdotenv Version ^5.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 cable8mm/xeed contains the following files

Loading the files please wait ....