Download the PHP package lac/toolkit without Composer

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

Laravel Arsenal Core (LAC)

Laravel Arsenal Core (LAC) is a toolkit for standardizing and accelerating Laravel development with automated scaffolding, synchronization, and code generation tools.

πŸ‡ΊπŸ‡Έ English (current) | πŸ‡―πŸ‡΅ ζ—₯本θͺž

Latest Version on Packagist License

Overview

LAC is a comprehensive toolset that automates repetitive tasks in Laravel development and generates code that follows standardized patterns, resulting in maintainable systems.

πŸš€ New in v2.0 - Bidirectional Database Design

LAC v2.0 introduces groundbreaking two-way synchronization between PlantUML ER diagrams and Laravel migrations:

Features

Development Workflow with LAC

LAC enhances your development workflow:

Option 1: Design-First Approach

  1. Design your database schema with PlantUML
  2. Generate migrations with lac:gen-migration
  3. Generate resources with lac:scaffold
  4. Auto-generate routes with lac:sync-routes
  5. Update model relationships with lac:sync-model-rel
  6. Generate validation rules with lac:sync-validations

Option 2: Code-First Approach

  1. Create migration files manually
  2. Generate ER diagrams with lac:gen-diagram for documentation
  3. Generate resources with lac:scaffold
  4. Continue with steps 4-6 from above

Test Data Management

  1. Generate Excel templates with lac:db-template
  2. Fill in test data in the Excel files
  3. Place files in storage/app/db/imports directory
  4. Import data with lac:db-import

Installation

Install LAC via Composer:

LAC will be automatically registered through Laravel's service provider auto-discovery.

Requirements

Usage

Scaffolding

Generate a complete CRUD resource with a single command:

Generate multiple resources at once:

Options:

https://github.com/user-attachments/assets/21d4f6eb-2140-4bc0-8013-473a367243b9

Route Synchronization

Automatically generate routes based on controllers:

Options:

https://github.com/user-attachments/assets/2a9c4957-e9c6-4105-bd3c-7a331510ce9b

Excel Template Generation

Generate Excel templates based on database table structure:

https://github.com/user-attachments/assets/a0244e67-a281-4cd7-bbbf-a810e34f28c6

Data Import from Excel

Import data from Excel files into the database: Place Excel files with your data in storage/app/db/imports directory Processed Excel files are automatically moved to storage/app/db/processed directory

https://github.com/user-attachments/assets/1a96d376-97df-42c5-8abe-474527b2a9d3

Model Relation Synchronization

Automatically generate model relationships based on migration files:

Synchronize specific models only:

https://github.com/user-attachments/assets/6ff284dc-2fe4-4260-a9b7-4056007615b6

Validation Synchronization

Generate validation rules for request classes based on database schema:

Target specific tables only:

https://github.com/user-attachments/assets/c7eebc48-0a6e-4f20-942e-3add216ee9d4

Bidirectional ER Diagram Sync

Generate Migrations from PlantUML

Design your database visually with PlantUML and generate Laravel migrations:

Please place your .puml file in storage/app/db/diagrams/ directory. Default files searched: schema.puml, er.puml, diagram.puml

⚠️ Important: To ensure perfect bidirectional synchronization, any existing migration files not defined in the PlantUML diagram will be deleted. You'll be prompted for confirmation before deletion.

Generate PlantUML from Migrations

Extract ER diagrams from your existing migration files for documentation:

The generated ER file will be stored into storage/app/db/diagrams/generated folder.

https://github.com/user-attachments/assets/e0d9869c-aef8-48a1-afe6-f547caffe280

Architecture Design

LAC follows these design principles:

License

Released under the MIT License. See the LICENSE file for details.

Author

Contributions are welcome, including bug reports, feature requests, and pull requests.


All versions of toolkit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0
phpoffice/phpspreadsheet Version ^4.2
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 lac/toolkit contains the following files

Loading the files please wait ....