Search

Showing 7 of 1,216 result(s)

/blog/2016/12/01/the-laravel-framework-console-kernel#content-queuecommand-array-parameters--

The queue method is called in exactly the same way as the call method. It accepts the name of the command via an argument supplied for the $command parameter and an array of $parameters that should be supplied to the command. The exit code...

/blog/2016/12/07/command-interoperability-and-laravel-artisan-applications#content-calling-commands-from-application-code

The call and callSilent commands discussed in the previous section are defined as part of the Artisan Command base class, which is not incredibly useful when commands need to be executed from other locations within the application's code base....

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-a-slight-tailwind-css-detour

Tailwind CSS has been configured as part of the Statamic Cool Writings Starter Kit. We are going to make a quick change to the tailwind.config.js file at the root of your new project. At the top of the file add this line: const colors =...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-update-your-statamic-3-site-to-use-database-users

For this integration to work, we will need to switch the Statamic 3 site to use the database eloquent driver to store site users. The Statamic 3 Knowledge Base article Storing Users in a Database can be used to update your site's configuration and...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-updating-the-user-model

In this section, we will make a few changes to our User model to get ready for future sections. The changes we will be making are: Adding the, Spark\Billable\Billable, trait,, Adding the, trial_ends_at, column to, $fillable, ,, Adding a date/time...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-improving-our-registration-page

Right now, if a user attempts to register without providing a name they will receive an error. This happens because our users database table has the name column set to non-nullable. We could update our migrations and start over there, instead we...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-improving-the-registration-and-login-experience

At the moment, when a user has registered they are redirect back to the registration page with a success message. Likewise, when a user logs in, they are redirected to the site's home page. Both of these are fine, but we will update our site so...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.