laravel-starter
Ready to use empty laravel starter project template. It has a simple and clean project structure with many features for development and debugging. When you decide to won't use some tools you can remove them quickly, then you can continue to develop.
Installation
Create the project with composer:
composer create-project laravel-ready/laravel-starter {project_name} --stability=dev
[!WARNING] After installation, if you are using VS Code editor CLI, you need to restart with the
F1(orCommand+P, orfn+F1) >Reload Windowcommand. This is required for indexing and plugin activation.
To sync with template repo
Run this command
git remote add template https://github.com/laravel-ready/laravel-starter
git fetch --all
git merge template/main --allow-unrelated-histories
Documentation
You can find the documentation here.
Coz.jp API (minimal integration)
This starter includes a small, typed client for a link-shortening API used in local testing scenarios. It’s disabled by default and quietly available if you need it.
Config (defaults aim for safety):
COZ_BASE_URI(default:https://coz.jp/api)COZ_TOKEN(personal access token)COZ_TIMEOUT(default:10seconds)COZ_RETRY_TIMES(default:0)COZ_RETRY_SLEEP_MS(default:100)
Basic usage in your code:
use App\Services\Coz\Contracts\CozClientInterface;
use App\Services\Coz\DTO\LinkCreateData;
$client = app(CozClientInterface::class);
// list links (array of LinkData)
$links = $client->listLinks();
// create a link
$link = $client->createLink(new LinkCreateData(url: 'https://example.com'));
There is also a hidden artisan helper for local checks:
php artisan coz:links --list
php artisan coz:links --create=https://example.com
php artisan coz:links --get=tga4a
php artisan coz:links --update=tga4a --url=https://example.org
php artisan coz:links --delete=tga4a
Photo by Sebastian Svenson on Unsplash
Built With
- batchfile
- blade
- dockerfile
- javascript
- php
- scss
- shell
- vue
Log in or sign up for Devpost to join the conversation.