| Package Data | |
|---|---|
| Maintainer Username: | WaveHack |
| Maintainer Contact: | email@wavehack.net (WaveHack) |
| Package Create Date: | 2017-03-04 |
| Package Last Update: | 2017-04-06 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-10 03:13:45 |
| Package Statistics | |
|---|---|
| Total Downloads: | 19 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 5 |
Meowstic is a collection of Laravel helper scripts I use often for my projects.
Instead of having to maintain separate sh files in each repo, I decided to make it into a composer package instead.
Currently only the convert script is available.
$ composer global require wavehack/meowstic
$ cd path/to/project
$ meowstic convert
Converts a traditional Laravel project directory structure to a more sophisticated layout I use for my projects.
The basic gist of it is that source code now resides in src/, Artisan in bin/ and moves the directories bootstrap, config, database, resources, routes and storage to a new app/.
This command is only tested on a fresh Laravel project. It might produce unwanted results on an existing or modified codebase.
More specifically:
bin/ directory and moves artisan from the project root to there.app/ to src/.src/Application.php with the path overrides.app/ directory and puts in the following directories normally in the root of the project:
bootstrap
config
database
resources
routes
storage
app/bootstrap/app.php (including using our own Application class override)app/bootstrap/autoload.php
app/config/view.php for our new views pathbin/artisan
public/index.php
src/Console/Kernel.php for our new console routes pathsrc/Providers/BroadcastServiceProvider.php for our new channel routes pathsrc/Providers/RouteServiceProvider.php for our new api and web routes pathcomposer.json for the psr-4 autoload path and artisan callsMeowstic is open-sourced software licensed under the MIT License.