PHPackages                             florianeckerstorfer/console-import-standard-edition - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. florianeckerstorfer/console-import-standard-edition

ActiveProject[CLI &amp; Console](/categories/cli)

florianeckerstorfer/console-import-standard-edition
===================================================

A boilerplate for console-based data import scripts

v0.1(11y ago)018MITPHP

Since Aug 27Pushed 11y ago1 watchersCompare

[ Source](https://github.com/florianeckerstorfer/console-import-standard)[ Packagist](https://packagist.org/packages/florianeckerstorfer/console-import-standard-edition)[ RSS](/packages/florianeckerstorfer-console-import-standard-edition/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Console Import Standard Edition
===============================

[](#console-import-standard-edition)

> A boilerplate for console-based data import scripts using [symfony/console](https://github.com/symfony/Console) and [ddeboer/data-import](https://github.com/ddeboer/data-import).

Installation
------------

[](#installation)

You need [Composer](https://getcomposer.org) to create a new data import script:

```
$ curl -s http://getcomposer.org/installer | php
```

After you have installed Composer you can create a new project using the following command:

```
$ php composer.phar create-project florianeckerstorfer/console-import-standard-edition path/to/install
```

The sample classes provided in this project reside in the `Acme\DemoImport` namespace. However, since this project uses [PSR-4](http://www.php-fig.org/psr/psr-4/) I can place the classes directly in the `src/` directory. Currently only the `Command` directory contains a file and you should open it and change the namespace according to your needs. You also have to adapt the namespace in `composer.json` in the `autoload.psr-4` option.

Usage
-----

[](#usage)

After implementing your import logic in a command you can run the application:

```
$ php bin/app.php
```

This will give you a list of all available commands. The demo command is called `import` and you need to call it the name of a CSV file.

```
$ php bin/app.php import ~/my-data.csv
```

### Adding Additional Commands

[](#adding-additional-commands)

You can add additional commands to the application by creating a command and adding it to the application. Learn more about creating commands in the [Console](http://symfony.com/doc/current/components/console/introduction.html)documentation.

```
# bin/app.php

$console->add(new \Acme\DemoImport\Command\ImportCommand());
$console->add(new \Acme\DemoImport\Command\OtherCommand());
```

Author
------

[](#author)

Developed by [Florian Eckerstorfer](https://florian.ec) in Vienna, Europe. I am [@Florian\_](https://twitter.com/Florian_) on Twitter. I post updates for my open source projects using the Twitter handle [@braincrafted](https://twitter.com/braincrafted).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4276d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a80f9fc61cd3a7d7779e8f120b458ca4d18fdd885d719bb77d3379b96bf714d9?d=identicon)[florianeckerstorfer](/maintainers/florianeckerstorfer)

### Embed Badge

![Health badge](/badges/florianeckerstorfer-console-import-standard-edition/health.svg)

```
[![Health](https://phpackages.com/badges/florianeckerstorfer-console-import-standard-edition/health.svg)](https://phpackages.com/packages/florianeckerstorfer-console-import-standard-edition)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
