“There are only two hard things in Computer Science: cache invalidation and naming things” Phil Karlton on my last post from 30 March 2022, I started with same crawlers to finding unique hostnames and then collecting them on a mysql database. Example Crawler: dcrawl – searches hostnames from given start url. A free open-source project … Read more
This article is currently being revised and expanded! Last update on 01.07.2022: getting more then 100 Million of unique domain name on a MySQL Database.Using MeiliSearch for indexing is cool, but after 10 Million Index it will be very slow to indexing new rows.Because of this I am looking for a faster way to indexing … Read more
comparing open source e-commerce software applications on GitHub and Installation of Cloud Instances like on DigitalOcean, Amazon Web Services(AWS), Google Cloud Platform or on a virtual private server. A comparing of open source e-commerce platforms for unique and clean, and also for fast, modern and e-commerce web applications with awesome interfaces in 2022 PHP, Python … Read more
Collections to array on laravel is a easy to solve problem. An Laravel array to collection convert on Controller is a few ways. You can use toArray() of eloquent as below. laravel collection to array without keys The toArray method converts the collection into a plain PHP array. If the collection’s values are Eloquent models, the models will also … Read more
Run your own Laravel Application Project on virtual cloud Servers with comparing the resources and prices. DigitalOcean.com (Monthly from 5 USD) Pro: One-Click Installation – Laravel as Application to automatically installation. Contra: Vultr.com (Monthly 5 USD) Contra: No Support for automatically Installation on Ubuntu. AWS Amazon Web Services Google Cloud
To create a migration, you may use the migrate:make command on the Artisan CLI. Use a specific name to avoid clashing with existing models. You then need to use the Schema::table() method (as you’re accessing an existing table, not creating a new one). And you can add a column like this: and don’t forget to add the … Read more
To putting a default value in single quote look for an example of migration: you can change the datatype and the value for your cases.
For Laravel 8 and newer: -m, –migration Create a new migration file for the model.-c, –controller Create a new controller for the model.-r, –resource Indicates if the generated controller should be a resource controller and for Laravel 5.7, 6 and 7 and older: -a, –all Generate a migration, factory, and resource controller for the model … Read more