Skip to content

WavestormSoftware/wavephp-starter

Repository files navigation

MyApp

A WavePHP application, scaffolded with tide new.

Quick start

# Make sure your .wave.env has an APP_KEY (tide new should have generated one)
cat .wave.env | grep APP_KEY

# Run the dev server
php -S 127.0.0.1:8000 -t public

# Or use the framework's CLI
vendor/bin/tide serve

Open http://localhost:8000.

Project structure

my-app/
├── app/              ← your code (Controllers, Models, etc.)
├── config/           ← framework config
├── database/         ← migrations, seeders, factories
├── public/           ← web entry point
├── resources/        ← views, assets
├── routes/           ← route definitions
├── storage/          ← cache, logs, uploads
├── tests/            ← PHPUnit tests
├── .env.example      ← copy to .wave.env and fill in
├── composer.json
└── phpunit.xml

Common commands

vendor/bin/tide serve                # Start the dev server
vendor/bin/tide make:controller Foo  # Scaffold a controller
vendor/bin/tide make:model Post      # Scaffold a model
vendor/bin/tide make:migration ...   # Scaffold a migration
vendor/bin/tide db:migrate           # Apply migrations
vendor/bin/tide db:seed              # Run seeders
vendor/bin/tide test                 # Run the test suite
vendor/bin/tide help                 # List all commands

Documentation

License

MIT.

About

Starter template for WavePHP applications, scaffolded by `tide new`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages