Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajthinking/anything
tinkerwell driven development | schrödingers public API | True TDD
https://github.com/ajthinking/anything
Last synced: about 9 hours ago
JSON representation
tinkerwell driven development | schrödingers public API | True TDD
- Host: GitHub
- URL: https://github.com/ajthinking/anything
- Owner: ajthinking
- License: mit
- Created: 2022-05-21T12:24:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-11T05:39:41.000Z (over 1 year ago)
- Last Synced: 2024-11-13T23:51:39.361Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 42 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# *Anything!* 💫
[![Latest Version on Packagist](https://img.shields.io/packagist/v/ajthinking/anything.svg?style=flat-square)](https://packagist.org/packages/ajthinking/anything)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/ajthinking/anything/run-tests?label=tests)](https://github.com/ajthinking/anything/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/ajthinking/anything/Check%20&%20fix%20styling?label=code%20style)](https://github.com/ajthinking/anything/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/ajthinking/anything.svg?style=flat-square)](https://packagist.org/packages/ajthinking/anything)Imagine public API:s and make it so - a TDD and sketch toy for Laravel projects :star_struck:
![github_readme_gif](https://user-images.githubusercontent.com/3457668/171365478-c621c14b-1d98-4ede-ad93-a92723e6ff31.gif)
## Getting started
Install and enable like so:
```bash
composer require ajthinking/anything --dev
php artisan anything:on
```Then, flesh out your idea and execute it in a console context. Lets say we want to build a git client:
```php
// This class does not exist, yet
App\Support\Git::client()
->pull()
->add('*')
->nah()
->wip()
->unwip()
->commit('message')
->push()
->build() // <-- creates the class!
```
The last method call `->build()` will create this class for you along with all the method stubs:```php