CoderFunda
  • Home
  • About us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • About us
  • Home
  • Php
  • HTML
  • CSS
  • JavaScript
    • JavaScript
    • Jquery
    • JqueryUI
    • Stock
  • SQL
  • Vue.Js
  • Python
  • Wordpress
  • C++
    • C++
    • C
  • Laravel
    • Laravel
      • Overview
      • Namespaces
      • Middleware
      • Routing
      • Configuration
      • Application Structure
      • Installation
    • Overview
  • DBMS
    • DBMS
      • PL/SQL
      • SQLite
      • MongoDB
      • Cassandra
      • MySQL
      • Oracle
      • CouchDB
      • Neo4j
      • DB2
      • Quiz
    • Overview
  • Entertainment
    • TV Series Update
    • Movie Review
    • Movie Review
  • More
    • Vue. Js
    • Php Question
    • Php Interview Question
    • Laravel Interview Question
    • SQL Interview Question
    • IAS Interview Question
    • PCS Interview Question
    • Technology
    • Other

26 April, 2021

LaraDock Homestead for Docker

 Programing Coderfunda     April 26, 2021     Docker, Homestead, Packages, php     No comments   

 

LaraDock Homestead for Docker

LaraDock is a Laravel Homestead Docker project that aims to bring Homestead to Docker.

LaraDock strives to make the development experience easier. It contains pre-packaged Docker Images that provides you a wonderful development environment without requiring you to install PHP, NGINX, MySQL, REDIS, and any other software on your local machine.

Last week I covered another Homestead Docker and it’s good to see these filling the gap for all the Docker fans.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Mail Preview Laravel Driver

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

 

Mail Preview Laravel Driver

Mohamed Said has created a new mail driver for Laravel that converts emails to files.

Installation is simple. Just require the package:

composer require themsaid/laravel-mail-preview

Add the service provider:

Themsaid\MailPreview\MailPreviewServiceProvider::class

Finally, change your mail driver to preview:

MAIL_DRIVER=preview

Now when you send emails from your Laravel app the rendered HTML and EML will be saved to the storage/email-previews folder. This way you can open it through various mail clients, your editor, or the browser for the HTML version.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Laravel Log Keeper

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

Laravel Log Keeper


 Laravel Log Keeper helps rotating your logs while storing them anywhere you want with custom local/remote retention policies.

Mathias Grimm the creator of the package said he created this because his company has numerous projects deployed across many servers and they log a lot of data. Over time, this causes the servers to run out of space and they have to manually move these files. By using 

Laravel Log Keeper the logs are kept on the server for a period of time, then automatically moved off into a dedicated storage system like S3.

Here is an example of some of the configuration this package supports:

LARAVEL_LOG_KEEPER_REMOTE_DISK           = "s3"
LARAVEL_LOG_KEEPER_LOCAL_RETENTION_DAYS = 3
LARAVEL_LOG_KEEPER_REMOTE_RETENTION_DAYS = 15
LARAVEL_LOG_KEEPER_REMOTE_PATH = "myproject1-prod-01"

Give it a look if you’d like to automatically move and store your log files.


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Add Laravel Unit Tests Directly From Chrome

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

Add Laravel Unit Tests Directly From Chrome


Today Marcel Pociot launched a new Chrome Extension that allows you to visually create acceptance tests directly from the browser. Here is a quick demo of it in action:


You can find more details about this extension on Marcel’s announcement post, download the extension from the Chrome web store, or view the source on Github.

This should be great for those just getting starting testing, or for those that would like to save time when writing acceptance tests.


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Package for generating HTML Menus

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

 

Package for generating HTML Menus


A modern package to generate html menus:

Virtually every website displays some sort of menu. Generating html menus might seem simple, but it can become complex very quickly. Not only do you have to render some basic html, but you also have to manage which item is active. If a menu has submenu you’ll also want the parents of an active item to be active. Sometimes you want to insert some html between menu items.

Here is an example of the API and you can see how easy generating a menu is.

Menu::new()
->add(Menu::new()
->link('/introduction', 'Introduction')
->link('/requirements', 'Requirements')
->link('/installation-setup', 'Installation and Setup')
)
->add(Menu::new()
->prepend('<h2>Basic Usage</h2>')
->prefixLinks('/basic-usage')
->link('/your-first-menu', 'Your First Menu')
->link('/working-with-items', 'Working With Items')
->link('/adding-sub-menus', 'Adding Sub Menus')
);

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Laravel Setup Wizard

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

Laravel Setup Wizard

 


Laravel Setup Wizard is a package to help you build a web setup wizard or installer for your application.

From the config file you can setup your apps requirements, folder permissions, and define the steps required:

'steps' => [
'requirements' => \MarvinLabs\SetupWizard\Steps\RequirementsStep::class,
'folders' => \MarvinLabs\SetupWizard\Steps\FoldersStep::class,
'env' => \MarvinLabs\SetupWizard\Steps\EnvFileStep::class,
'database' => \MarvinLabs\SetupWizard\Steps\DatabaseStep::class,
'my_step' => \App\Setup\MyStep::class',
'final' => \MarvinLabs\SetupWizard\Steps\FinalStep::class,
],

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Laravel Exception Recorder and Notifier Package

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

 

Laravel Exception Recorder and Notifier Package


LERN (Laravel Exception Recorder and Notifier) is a package that will record exceptions into a database and will send you a notification.

It currently supports notifications via Email, Pushover, Slack, Hipchat, Fleephook, and Flowdock. Once installed implementation is added to app/Exceptions/Handler.php file:

public function report(Exception $e)
{
if ($this->shouldReport($e)) {
LERN::handle($e); //Record and Notify the Exception
/*
OR...
LERN::record($e); //Record the Exception to the database
LERN::notify($e); //Notify the Exception
*/
}

return parent::report($e);
}

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Automatically Create Model Factories

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

 

Automatically Create Model Factories


Laravel Test Factory Generator is a new package by Marcel Pociot that generates model factories from your existing models and database structure.

Once installed it gives you a new Artisan command to generate the model factories:

php artisan test-factory-helper:generate

This command will then look through all your models, create test factories, and save them in your database/factories/ModelFactory.php file.

To prevent overwriting any of your existing factories, the command will append new ones and not modify any existing. It does include a --reset flag that will rewrite the entire ModelFactory file.

As an example if you have the following migration:

Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('username');
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();
$table->timestamps();
});

Once you run the command this will be appended to your ModelFactory.php file:

$factory->define(App\User::class, function (Faker\Generator $faker) {
return [
'name' => $faker->name ,
'username' => $faker->userName ,
'email' => $faker->safeEmail ,
'password' => bcrypt($faker->password) ,
'remember_token' => str_random(10) ,
];
});

You can find more information on Github.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Manage your Language files from Artisan

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   


Manage your Language files from Artisan
 Larave
l Langman
 is a new package that turns your console into a language file manager. It helps you search, update, add, and remove translation lines right from an Artisan command.

Here is an example usage:

php artisan langman:show users

Which returns a table of results:

'+---------+---------------+-------------+
| key | en | nl |
+---------+---------------+-------------+
| name | name | naam |
| job | job | baan |
+---------+---------------+-------------+

It supports filling in missing translations, searching, syncing and more.


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Server Monitoring Command for Laravel

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

 

Server Monitoring Command for Laravel

Server Monitoring is a package that will periodically monitor the health of your server and website. It provides healthy/alarm status notifications for Disk Usage, an HTTP Ping function to monitor the health of external services, and a validation/expiration monitor for SSL Certificates.

This package works by setting up a config file and then having a monitor:run artisan command set on a schedule. When it runs it will alert you via email, Pushover, Slack, or logged to the filesystem.

It currently supports the following monitors:

Disk Usage Monitors

Disk usage monitors check the percentage of the storage space that is used on the given partition, and alert if the percentage exceeds the configurable alarm percentage.

HTTP Ping Monitors

HTTP Ping monitors perform a simple page request and alert if the HTTP status code is not 200. They can optionally check that a certain phrase is included in the source of the page.

SSL Certificate Monitors

SSL Certificate monitors pull the SSL certificate for the configured URL and make sure it is valid for that URL. Wildcard and multi-domain certificates are supported.

The monitor will alert if the certificate is invalid or expired, and will also alert when the expiration date is approaching. The days on which to alert prior to expiration is also configurable.

You can find out more about this package on Github.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Laravel Console Command Validation

 Programing Coderfunda     April 26, 2021     Packages, php     No comments   

 Command Validator is a package that lets you validate Laravel Console Commands.

Here is an example of its usage:

use Illuminate\Console\Command;
use Cerbero\CommandValidator\ValidatesInput;

class Example extends Command
{
use ValidatesInput;

public function rules()
{
return [
'year' => 'digits:4|min:2000'
];
}
}

The rules available come from the default Laravel validation rules but you can add custom ones, just as you would in form validation.

Give it a try the next time you need to validate console commands.


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Meta

Popular Posts

  • Sitaare Zameen Par Full Movie Review
     Here’s a  complete Vue.js tutorial for beginners to master level , structured in a progressive and simple way. It covers all essential topi...
  • AI foot tracking model
    I am a student doing a graduation project. I urgently need to deal with this model (I am attaching a link). I've never worked with pytho...
  • Laravel Search String
      Laravel Search String is a package by   Loris Leiva   that generates database queries based on one unique string using a simple and custom...
  • Writing and debugging Eloquent queries with Tinkerwell
    In this article, let's look into the options that you can use with Tinkerwell to write and debug Eloquent queries easier. The post Wr...
  • Laravel - Installation
    For managing dependencies, Laravel uses   composer . Make sure you have a Composer installed on your system before you install Laravel. In t...

Categories

  • Ajax (26)
  • Bootstrap (30)
  • DBMS (42)
  • HTML (12)
  • HTML5 (45)
  • JavaScript (10)
  • Jquery (34)
  • Jquery UI (2)
  • JqueryUI (32)
  • Laravel (1017)
  • Laravel Tutorials (23)
  • Laravel-Question (6)
  • Magento (9)
  • Magento 2 (95)
  • MariaDB (1)
  • MySql Tutorial (2)
  • PHP-Interview-Questions (3)
  • Php Question (13)
  • Python (36)
  • RDBMS (13)
  • SQL Tutorial (79)
  • Vue.js Tutorial (69)
  • Wordpress (150)
  • Wordpress Theme (3)
  • codeigniter (108)
  • oops (4)
  • php (853)

Social Media Links

  • Follow on Twitter
  • Like on Facebook
  • Subscribe on Youtube
  • Follow on Instagram

Pages

  • Home
  • Contact Us
  • Privacy Policy
  • About us

Blog Archive

  • July (4)
  • September (100)
  • August (50)
  • July (56)
  • June (46)
  • May (59)
  • April (50)
  • March (60)
  • February (42)
  • January (53)
  • December (58)
  • November (61)
  • October (39)
  • September (36)
  • August (36)
  • July (34)
  • June (34)
  • May (36)
  • April (29)
  • March (82)
  • February (1)
  • January (8)
  • December (14)
  • November (41)
  • October (13)
  • September (5)
  • August (48)
  • July (9)
  • June (6)
  • May (119)
  • April (259)
  • March (122)
  • February (368)
  • January (33)
  • October (2)
  • July (11)
  • June (29)
  • May (25)
  • April (168)
  • March (93)
  • February (60)
  • January (28)
  • December (195)
  • November (24)
  • October (40)
  • September (55)
  • August (6)
  • July (48)
  • May (2)
  • January (2)
  • July (6)
  • June (6)
  • February (17)
  • January (69)
  • December (122)
  • November (56)
  • October (92)
  • September (76)
  • August (6)

Loading...

Laravel News

Loading...

Copyright © CoderFunda | Powered by Blogger
Design by Coderfunda | Blogger Theme by Coderfunda | Distributed By Coderfunda