Download the PHP package azwhosting/spark-crud-generator without Composer

On this page you can find all versions of the php package azwhosting/spark-crud-generator. 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 spark-crud-generator

🚀 Spark CRUD Generator for CodeIgniter 4

Version License PHP CI4 Compatible

Choose your language / Choisissez votre langue :


🇬🇧 English version

📚 Table of Contents


✨ Features

⚙️ Installation

Using Composer (recommended)

Then publish the language files:

⚙️ Manual Installation

You can install the generator manually if you don't use Composer.

Manual installation steps:

  1. Place the following files in your project:

📌 Create the folders if they don’t exist.

  1. Run the generator from the Spark CLI:

  2. Follow the interactive prompts to generate your CRUD.

You can now call it via Spark CLI.


🚀 Usage

Follow the prompts:

Example:


🧩 Custom Templates

You can define your own generation theme by duplicating the default templates:

  1. Copy the folder resources/templates/default/ into a new folder resources/templates/your-theme/
  2. Customize any .tpl file (controller, model, views, etc.)
  3. Run php spark make:crud and select your theme when prompted

Templates use placeholders like {{entity}}, {{fields}}, {{formFields}}, etc.


🔄 Automatic Route Injection

After generation, the system offers to automatically inject routes into app/Config/Routes.php.

You can customize the injected routes by editing the route.tpl file inside your selected template.


📄 Options

Option Description
--force or -f Force overwrite without any confirmation

🌍 Localization

Language files are located in:

You can edit them or create your own translations.


📁 Generated Structure


🛡️ Safeguards


📝 License

MIT License — Free to use, modify, share.


🇫🇷 Version française

📚 Sommaire


✨ Fonctionnalités


⚙️ Installation

Via Composer (recommandé)

Puis publiez les fichiers de langue :

⚙️ Installation manuelle

Vous pouvez installer le générateur manuellement si vous n'utilisez pas Composer.

Étapes pour une installation manuelle :

  1. Placez les fichiers suivants dans votre projet :

📌 Créez les dossiers s'ils n'existent pas.

  1. Lancez le générateur depuis le terminal Spark :

  2. Suivez les instructions interactives pour générer le CRUD.

🧩 Templates personnalisés

Vous pouvez définir votre propre thème de génération en dupliquant les templates par défaut :

  1. Copiez le dossier resources/templates/default/ vers un nouveau dossier resources/templates/votre-theme/
  2. Personnalisez les fichiers .tpl (contrôleur, modèle, vues, etc.)
  3. Lancez la commande php spark make:crud et sélectionnez votre thème lorsqu’il est proposé

Les templates utilisent des balises comme {{entity}}, {{fields}}, {{formFields}}, etc.


🔄 Injection automatique des routes

À la fin de la génération, le système vous propose d’ajouter automatiquement les routes dans app/Config/Routes.php.

Vous pouvez personnaliser les routes injectées en modifiant le fichier route.tpl du thème utilisé


🚀 Utilisation

Répondez aux questions :

Exemple :


📄 Options

Option Description
--force ou -f Forcer l'écrasement des fichiers sans avertissement

🌍 Localisation

Les fichiers de langue sont ici :

Vous pouvez les modifier ou en ajouter d'autres.


📁 Structure générée


🛡️ Sécurités


📝 Licence

Licence MIT — Utilisation libre et modification autorisée.


All versions of spark-crud-generator with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 azwhosting/spark-crud-generator contains the following files

Loading the files please wait ....