PHPackages                             ajthinking/anything - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ajthinking/anything

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ajthinking/anything
===================

Create code by imagining public apis

v0.1.0(3y ago)391[1 PRs](https://github.com/ajthinking/anything/pulls)MITPHPPHP ^8.1

Since May 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ajthinking/anything)[ Packagist](https://packagist.org/packages/ajthinking/anything)[ Docs](https://github.com/ajthinking/anything)[ RSS](/packages/ajthinking-anything/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (6)Used By (0)

*Anything!* 💫
=============

[](#anything-)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6833b1526b79b9fb85ddb3121620f99d47e74b3769305fb6f3a03371c4058337/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616a7468696e6b696e672f616e797468696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ajthinking/anything)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d727a2436c9648c5c8886e3bfb3f2df4a57da5261bb9f35e2d4b42cf943fbdaa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616a7468696e6b696e672f616e797468696e672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/ajthinking/anything/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/705f29d31fe8f94d313fcab329b61a29e43a693b6dcc7dc8237669b9d121a289/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616a7468696e6b696e672f616e797468696e672f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/ajthinking/anything/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4ec1cad9c730d9d8f732e44ac106a9ee9a50363843a3c1a8abc300a3b904c845/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616a7468696e6b696e672f616e797468696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ajthinking/anything)

Imagine public API:s and make it so - a TDD and sketch toy for Laravel projects 🤩

[![github_readme_gif](https://user-images.githubusercontent.com/3457668/171365478-c621c14b-1d98-4ede-ad93-a92723e6ff31.gif)](https://user-images.githubusercontent.com/3457668/171365478-c621c14b-1d98-4ede-ad93-a92723e6ff31.gif)

Getting started
---------------

[](#getting-started)

Install and enable like so:

```
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:

```
// This class does not exist, yet
App\Support\Git::client()
  ->pull()
  ->add('*')
  ->nah()
  ->wip()
  ->unwip()
  ->commit('message')
  ->push()
  ->build() // build()` will create this class for you along with all the method stubs:

```
