arquivei / boltons-scaffolding
This project is used by our developers to speed up the coding of new use cases
Installs: 61
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 21
Forks: 1
Open Issues: 4
Type:project
Requires
- php: ^7.2
- illuminate/console: 6.*
This package is not auto-updated.
Last update: 2024-10-22 20:54:38 UTC
README
In this project you'll find the infamous Lescript and everything you need to build a skeleton use case in the architecture currently used by the Boltons House.
What this hopes to be:
- A way to speed up your coding by taking the usual structural code out of the way
What this is not:
- A production-ready code generator
- A panda
Installation
composer require-dev arquivei/boltons-scaffolding
If you're using semitic versioning in your dependencies, you can just add to your composer.json:
"require-dev": { "arquivei/boltons-scaffolding": "א.ב" },
and then run
composer update
Usage
- Set up your configuration file (config.example.json is included to help you)
- In your code:
<?php require __DIR__ . '/vendor/autoload.php'; $lescript = new \Arquivei\BoltonsScaffolding\Lescript($configPath); $lescript->makeLeMagique();
- If you're using Laravel, there's an even easier way: open your terminal and type
php artisan arquivei:lescript --config=config_path.json
- If you're using javascript you may wanna rethink your life
Known issues and limitations
- The LogInterface has no namespace assigned to it, you'll have to fix that yourself
- The code might not me properly formatted (CTRL+ALT+L in PHPStorm should fix it)