Skip to main content

Code Examples of monicahq/monica

Discover how to use Laravel's monicahq/monica examples.

17 examples

Pivot tables Many-to-many BelongsToMany

Files in this example

  • app/Models/Instance/Emotion/Emotion.php
    • database/migrations/2018_12_09_145956_create_emotion_call_table.php
View all examples

Traits

Files in this example

  • app/Traits/AmountFormatter.php
    • app/Models/Contact/Debt.php
      • resources/views/people/debt/form.blade.php
View all examples

Service classes

Files in this example

  • app/Services/User/CreateUser.php
    • app/Http/Controllers/Auth/InvitationController.php
View all examples

Helpers

Files in this example

  • app/Helpers/CollectionHelper.php
    • app/Providers/MacroServiceProvider.php
      • app/Http/Controllers/Settings/GendersController.php
View all examples

Notifications

Files in this example

  • app/Notifications/UserReminded.php
    • app/Jobs/Reminder/NotifyUserAboutReminder.php
View all examples

Interfaces

Files in this example

  • app/Interfaces/Hashing.php
    • app/Models/ModelBindingHasher.php
      • app/Traits/Hasher.php
View all examples

View composers

Files in this example

  • app/Http/ViewComposers/CurrencySelectViewComposer.php
    • resources/views/partials/components/currency-select.blade.php
View all examples

API resources

Files in this example

  • app/Http/Resources/Company/Company.php
    • app/Http/Controllers/Api/Account/ApiCompanyController.php
View all examples

Custom exceptions

Files in this example

  • app/Exceptions/FileNotFoundException.php
    • app/Services/Account/Settings/DestroyAllDocuments.php
View all examples

Custom artisan commands

Files in this example

  • app/Console/Commands/Clean.php
    • app/Console/Kernel.php
View all examples

Laravel/passport

Files in this example

  • app/Models/User/User.php
    • app/Http/Controllers/Api/Auth/OAuthController.php
View all examples

Collection Methods: Chunk

Files in this example

  • database/migrations/2018_05_06_061227_external_countries.php
View all examples

Collection Methods: Tap

Files in this example

  • app/Services/Account/Photo/UploadPhoto.php
View all examples