cierrateam / laravel-architect
The php artisan for package creators.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 5
Forks: 0
Open Issues: 2
Type:project
Requires
- php: ^7.2
- laravel-zero/framework: ^7.0
- zendframework/zend-text: ^2.7
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^8.0
README
This package is under construction. Feel free to contribute.
Laravel Architect was created by, and is maintained by Vittorio Emmermann, founder of cierra. It's a helper you can install globally or locally for individual packages. Laravel Architect is supposed to take care of recurring grunt work, like creating a Test Class for your laravel package. Here's an example, you can easily do this architect make:test MyAwesomeTest
and Laravel Architect will create the Test Class for you - inside your package. How nice is that?!
- Built on top of the Laravel Zero.
- Installable global to your machine as general helper.
- Also useable locally in single projects.
Installation
To install Laravel Architect we recomment to install it globally to gather the best usage of this package:
composer global require "cierrateam/laravel-architect"
Then run architect inspiring
to ensure the package is installed.
Alternatively you can install it locally to a project:
composer require "cierrateam/laravel-architect"
But then you hace to run php vendor/bin/architect
instead of only architect
. Hint: Create an alias ;)
Usage
Here is work in progress :) Feel free to contribute.
Create a new package
architect init
Then just answer the questions.
Create a new test
architect make:test ExampleTest
A test will be created
Roadmap
- Creating Packages with architect
- Creating Tests with architect
- Creating Models, Controllers and migrations
- Customising stubs
- More options while creating packages
- Run package tests with architect
- Install local path packages with architect in projects
License
Laravel Architect is an open-source software licensed under the MIT license.
Credits
This package is made by cierra and is coded with support of community packages.