-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
PHP 8.1, Laravel 9
I just added Lucid to my project and ran lucid init:micro and got this:
Initializing Lucid Micro for Laravel 9.0.0
Created directories:
/app/Data
/app/Domains
/app/Features
/app/Operations
/app/Data/Models
/tests/Domains
/tests/Operations
PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/vendor/laravel/
framework/src/Illuminate/Support/Str.php on line 637
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/vendor/laravel/frame
work/src/Illuminate/Support/Str.php on line 637
You're all set to build something awesome that scales!
Here are some examples to get you started:
You may wish to start with a feature
lucid make:feature LoginUser
will generate app/Features/LoginUserFeature.php
Or a job to do a single thing
lucid make:job GetUserByEmail User
will generate app/Domains/User/Jobs/GetUserByEmailJob.php
For more Job examples check out Lucid's built-in jobs:
- Lucid\Domains\Http\Jobs\RespondWithJsonJob
for consistent JSON structure responses.
- Lucid\Domains\Http\Jobs\RespondWithJsonErrorJob
for consistent JSON error responses.
- Lucid\Domains\Http\Jobs\RespondWithViewJob
basic view and data response functionality.
Finally you can group multiple jobs in an operation
lucid make:operation ProcessUserLogin
will generate app/Operations/ProcessUserLoginOperation.php
For more details, help yourself with the docs at https://docs.lucidarch.dev
Remember to enjoy the journey.
Cheers!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels