Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
The Laravel documentation.
Just a quick tip, you can install Laravel Pint globally
composer global require laravel/pint and run
pint in your root directory in the CLI to have most of the formatting issues solved for you.
If someone wanted to use this for columns other than the primary
id and updates
uniqueIds() to not contain the primary key, the
getIncrementing() shouldn't be overriding. We'll need to PR a fix for that.
Awesome library! What would you think of updating the
ends_with_tld error to be easier to understand for non-technical people? I'm overriding the language in
resources/lang/en/validation.php for myself with this:
'ends_with_tld' => 'The :attribute ends in a misspelling like .con instead of .com.',
It could also be something like
The :attribute must end with a valid tld like "com", "org", "net", etc.
Since it has been like this for a long time this seems like a breaking change. Should probably target 10.x as someone out there is depending on the current behavior.
Are we able to add some tests to the PR?
This PR goes against the code style that Laravel uses. You can see the check failed. Occasionally, a code style "action" is automatically ran against the repo, so no need to make code style PRs.